summaryrefslogtreecommitdiffstats
path: root/php-natxet-cssmin.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-04-26 07:35:37 +0200
committerRemi Collet <fedora@famillecollet.com>2016-04-26 07:35:37 +0200
commit7952ec07efa3b8f906ed0976b02e84f0f4d85be3 (patch)
treedf3d201e90675e76313d5e9285f43067b5443900 /php-natxet-cssmin.spec
parent47e7b9280852fba071f980b9ecf1f21a7e597901 (diff)
php-natxet-cssmin: sync with Fedora + release bump
Diffstat (limited to 'php-natxet-cssmin.spec')
-rw-r--r--php-natxet-cssmin.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-natxet-cssmin.spec b/php-natxet-cssmin.spec
index 631c2b9..5ab852e 100644
--- a/php-natxet-cssmin.spec
+++ b/php-natxet-cssmin.spec
@@ -24,7 +24,7 @@
Name: php-%{packagist_owner}-%{lcname}
Version: %{github_version}
-Release: 1%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
+Release: 2%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
Summary: Configurable CSS parser and minifier
Group: Development/Libraries
@@ -37,6 +37,7 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{gith
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+BuildRequires: %{_bindir}/phpab
Requires: php(language) >= %{php_min_ver}
Requires: php-pcre
@@ -56,7 +57,9 @@ shorter notation if available. The minification is configurable.
%build
-# Empty build section, nothing required
+# From composer.json, "autoload": {
+ # "classmap": ["src/"]
+ %{_bindir}/phpab --quiet --nolower --output ./autoload.php ./
%install
@@ -80,6 +83,10 @@ rm -rf %{buildroot}
%changelog
+* Mon Apr 25 2016 James Hogarth <james.hogarth@gmail.com> - 3.0.4-1
+- new release 3.0.4
+- Add simple classmap autoloader
+
* Thu Oct 15 2015 Remi Collet <remi@fedoraproject.org> - 3.0.4-1
- update to 3.0.4