Author: pawelz Date: Wed Feb 10 17:22:34 2010 GMT Module: packages Tag: HEAD ---- Log message: - apply libdir.patch (use PREFIX/LIB for libdir) - pass LIB=%{_lib} to makefile - should fix build on 64bit archs
---- Files affected: packages/pacparser: pacparser.spec (1.7 -> 1.8) ---- Diffs: ================================================================ Index: packages/pacparser/pacparser.spec diff -u packages/pacparser/pacparser.spec:1.7 packages/pacparser/pacparser.spec:1.8 --- packages/pacparser/pacparser.spec:1.7 Wed Feb 10 17:54:44 2010 +++ packages/pacparser/pacparser.spec Wed Feb 10 18:22:29 2010 @@ -13,6 +13,7 @@ Source0: http://pacparser.googlecode.com/files/%{name}-%{version}.tar.gz # Source0-md5: 32f502bee4233c8a7a6bdc1b1158b36b Patch0: %{name}-make.patch +Patch1: %{name}-libdir.patch URL: http://code.google.com/p/pacparser/ BuildRequires: js-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -53,18 +54,21 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %{__make} \ CC="%{__cc}" \ CFLAGS="%{rpmcflags} -I/usr/include/js -DXP_UNIX" \ - LDFLAGS="%{rpmldflags} -ljs" + LDFLAGS="%{rpmldflags} -ljs" \ + LIB=%{_lib} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT + DESTDIR=$RPM_BUILD_ROOT \ + LIB=%{_lib} %{__rm} -r $RPM_BUILD_ROOT%{_docdir} @@ -93,6 +97,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.8 2010/02/10 17:22:29 pawelz +- apply libdir.patch (use PREFIX/LIB for libdir) +- pass LIB=%{_lib} to makefile +- should fix build on 64bit archs + Revision 1.7 2010/02/10 16:54:44 pawelz - TODO: python module (make pymod, unset SONAME for python module) ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pacparser/pacparser.spec?r1=1.7&r2=1.8&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit