packages: rcsparse/rcsparse.spec - libtool --tag=CC, cosmetics

glen glen at pld-linux.org
Wed Jan 19 00:48:36 CET 2011


Author: glen                         Date: Tue Jan 18 23:48:36 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- libtool --tag=CC, cosmetics

---- Files affected:
packages/rcsparse:
   rcsparse.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/rcsparse/rcsparse.spec
diff -u packages/rcsparse/rcsparse.spec:1.3 packages/rcsparse/rcsparse.spec:1.4
--- packages/rcsparse/rcsparse.spec:1.3	Sun Apr  5 09:50:33 2009
+++ packages/rcsparse/rcsparse.spec	Wed Jan 19 00:48:31 2011
@@ -42,27 +42,26 @@
 %setup -q -n %{name}
 
 %build
-libtool --mode=compile %{__cc} %{rpmcppflags} %{rpmcflags} -shared -c rcsparse.c
-libtool --mode=link %{__cc} %{rpmldflags} -shared -o librcsparse.la -rpath %{_libdir} rcsparse.lo
+libtool --tag=CC --mode=compile %{__cc} %{rpmcppflags} %{rpmcflags} -shared -c rcsparse.c
+libtool --tag=CC --mode=link %{__cc} %{rpmldflags} -shared -o librcsparse.la -rpath %{_libdir} rcsparse.lo
 
-libtool --mode=compile %{__cc} %{rpmcppflags} %{rpmcflags} -I%{py_incdir} -shared -c py-rcsparse.c
-libtool --mode=link %{__cc} %{rpmldflags} -avoid-version -module -shared -o rcsparse.la -rpath %{py_sitedir} py-rcsparse.lo librcsparse.la
+libtool --tag=CC --mode=compile %{__cc} %{rpmcppflags} %{rpmcflags} -I%{py_incdir} -shared -c py-rcsparse.c
+libtool --tag=CC --mode=link %{__cc} %{rpmldflags} -avoid-version -module -shared -o rcsparse.la -rpath %{py_sitedir} py-rcsparse.lo librcsparse.la
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT{%{_libdir},%{py_sitedir},%{_includedir}/%{name}}
+libtool --mode=install install -p -c librcsparse.la $RPM_BUILD_ROOT%{_libdir}
+libtool --mode=install install -p -c rcsparse.la $RPM_BUILD_ROOT%{py_sitedir}
 
-libtool --mode=install install -c librcsparse.la $RPM_BUILD_ROOT%{_libdir}
-libtool --mode=install install -c rcsparse.la $RPM_BUILD_ROOT%{py_sitedir}
-
-install *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+cp -p *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/rcsparse.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
@@ -86,6 +85,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/01/18 23:48:31  glen
+- libtool --tag=CC, cosmetics
+
 Revision 1.3  2009/04/05 07:50:33  arekm
 - md5
 
@@ -94,4 +96,3 @@
 
 Revision 1.1  2009/04/05 00:16:42  arekm
 - initial
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rcsparse/rcsparse.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list