SPECS: qtcmd.spec - get rid of /usr/local using sed at %prep
adamg
adamg at pld-linux.org
Sat Nov 26 17:52:58 CET 2005
Author: adamg Date: Sat Nov 26 16:52:58 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- get rid of /usr/local using sed at %prep
---- Files affected:
SPECS:
qtcmd.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/qtcmd.spec
diff -u SPECS/qtcmd.spec:1.1 SPECS/qtcmd.spec:1.2
--- SPECS/qtcmd.spec:1.1 Sat Nov 26 15:41:04 2005
+++ SPECS/qtcmd.spec Sat Nov 26 17:52:53 2005
@@ -26,7 +26,7 @@
%prep
%setup -q
%patch0 -p1
-find src/libs -name 'Makefile' | xargs sed -i -e 's,/usr/local/lib,$(LIBDIR),g'
+find src/ -name '*.pro' | xargs sed -i -e 's,/usr/local/lib,$(LIBDIR),g' -e 's,/usr/local/bin,$(BINDIR),g'
%build
%{__make} \
@@ -36,6 +36,7 @@
rm -rf $RPM_BUILD_ROOT
%{__make} install \
+ BINDIR=%{_bindir} \
DESTDIR=$RPM_BUILD_ROOT \
LIBDIR=%{_libdir} \
PREFIX="%{_prefix}" \
@@ -56,6 +57,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/11/26 16:52:53 adamg
+- get rid of /usr/local using sed at %prep
+
Revision 1.1 2005/11/26 14:41:04 adamg
- new; builds, most things work
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/qtcmd.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list