Skip to content

Commit 86c2c10

Browse files
committed
[php-scssphp] Updated to version 0.0.5
- php-cli => php(language) - %%{__php} => %%{_bindir}/php
1 parent a167048 commit 86c2c10

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

php-scssphp.spec

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
%global github_owner leafo
22
%global github_name scssphp
3-
%global github_version 0.0.4
4-
%global github_commit 3463d7dab573b98a45308d6cb8bd29f358ee313a
5-
%global github_date 20130301
6-
7-
%global github_release %{github_date}git%(c=%{github_commit}; echo ${c:0:7})
3+
%global github_version 0.0.5
4+
%global github_commit dd4e4cdc8295b0897b9fe8b1b580561b8174ad35
5+
%global github_date 20130311
86

97
%global php_min_ver 5.3.0
108

119
Name: php-%{github_name}
1210
Version: %{github_version}
13-
Release: 2.%{github_release}%{?dist}
11+
Release: 1%{?dist}
1412
Summary: A compiler for SCSS written in PHP
1513

1614
Group: Development/Libraries
@@ -21,14 +19,14 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{githu
2119
BuildArch: noarch
2220
BuildRequires: help2man
2321
# For tests
24-
BuildRequires: php-cli >= %{php_min_ver}
22+
BuildRequires: php(language) >= %{php_min_ver}
2523
BuildRequires: php-pear(pear.phpunit.de/PHPUnit)
2624
# For tests: phpci
2725
BuildRequires: php-ctype
2826
BuildRequires: php-date
2927
BuildRequires: php-pcre
3028

31-
Requires: php-cli >= %{php_min_ver}
29+
Requires: php(language) >= %{php_min_ver}
3230
# phpci
3331
Requires: php-ctype
3432
Requires: php-date
@@ -43,7 +41,7 @@ The entire compiler comes in a single class file ready for including in any kind
4341
of project in addition to a command line tool for running the compiler from the
4442
terminal.
4543

46-
scssphp implements SCSS (3.1.20). It does not implement the SASS syntax, only
44+
scssphp implements SCSS (3.2.7). It does not implement the SASS syntax, only
4745
the SCSS syntax.
4846

4947

@@ -55,7 +53,7 @@ the SCSS syntax.
5553
help2man --no-info ./pscss > pscss.1
5654

5755
# Update bin shebang and require
58-
sed -e 's#/usr/bin/env php#%{__php}#' \
56+
sed -e 's#/usr/bin/env php#%{_bindir}/php#' \
5957
-e 's#scss.inc.php#%{_datadir}/php/%{github_name}/scss.inc.php#' \
6058
-i pscss
6159

@@ -87,6 +85,11 @@ install -p -m 644 pscss.1 %{buildroot}%{_mandir}/man1/
8785

8886

8987
%changelog
88+
* Sat Mar 16 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 0.0.5-1
89+
- Updated to version 0.0.5
90+
- php-cli => php(language)
91+
- %%{__php} => %%{_bindir}/php
92+
9093
* Sat Mar 09 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 0.0.4-2.20130301git3463d7d
9194
- Updated to latest snapshot
9295
- php-common => php-cli

0 commit comments

Comments
 (0)