[packages/minify/dev-3.0] package autoloader

glen glen at pld-linux.org
Tue Sep 13 13:53:43 CEST 2016


commit 591473b3f42acf3884560a774c74b03e07f87260
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Nov 20 16:34:22 2015 +0200

    package autoloader

 minify.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/minify.spec b/minify.spec
index 6973b1b..9c2d4d0 100644
--- a/minify.spec
+++ b/minify.spec
@@ -3,7 +3,7 @@
 Summary:	Combines, minifies, and caches JavaScript and CSS files on demand to speed up page loads
 Name:		minify
 Version:	3.0
-Release:	2.2
+Release:	2.3
 License:	New BSD License
 Group:		Applications/WWW
 #Source0:	https://github.com/mrclay/minify/archive/%{version}/%{name}-%{version}.tar.gz
@@ -17,6 +17,7 @@ Patch3:		contentfunc-params.patch
 Source1:	apache.conf
 Source2:	lighttpd.conf
 URL:		https://github.com/mrclay/minify
+BuildRequires:	phpab
 BuildRequires:	rpmbuild(macros) >= 1.654
 BuildRequires:	unzip
 Requires:	php-%{name} = %{version}-%{release}
@@ -94,6 +95,9 @@ find -type f | xargs chmod a-x
 # cleanup backups after patching
 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
 
+%build
+phpab -n -e '*/tests/*' -o lib/Minify/autoload.php -b lib/Minify .
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{php_data_dir},%{_sysconfdir},%{_appdir},%{cachedir}}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/minify.git/commitdiff/fd59652d52f39b0d1ab4cafdc2e1c3bde53e8364



More information about the pld-cvs-commit mailing list