SPECS: prelude-lml.spec - less greedy *.la removal

qboosh qboosh at pld-linux.org
Sun Jan 14 21:47:23 CET 2007


Author: qboosh                       Date: Sun Jan 14 20:47:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- less greedy *.la removal

---- Files affected:
SPECS:
   prelude-lml.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/prelude-lml.spec
diff -u SPECS/prelude-lml.spec:1.13 SPECS/prelude-lml.spec:1.14
--- SPECS/prelude-lml.spec:1.13	Tue Jan  9 14:21:34 2007
+++ SPECS/prelude-lml.spec	Sun Jan 14 21:47:18 2007
@@ -46,18 +46,6 @@
 %description libs -l pl
 Biblioteki dzielone prelude-lml.
 
-%package static
-Summary:	Static prelude-lml library
-Summary(pl):	Statyczna biblioteka prelude-lml
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description static
-Static prelude-lml library.
-
-%description static -l pl
-Statyczna biblioteka prelude-lml.
-
 %package devel
 Summary:	Header files for prelude-lml
 Summary(pl):	Pliki nagłówkowe dla prelude-lml
@@ -70,6 +58,18 @@
 %description devel -l pl
 Pliki nagłówkowe dla prelude-lml.
 
+%package static
+Summary:	Static prelude-lml library
+Summary(pl):	Statyczna biblioteka prelude-lml
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static prelude-lml library.
+
+%description static -l pl
+Statyczna biblioteka prelude-lml.
+
 %prep
 %setup -q
 
@@ -89,7 +89,7 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 # are generating wrong dependencies (and are not needed anyway)
-find $RPM_BUILD_ROOT -iregex .*.la -exec rm {} \;
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
@@ -132,20 +132,23 @@
 %dir %{_libdir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}/*.so
 
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/%{name}/*.a
-
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/%{name}
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/%{name}/*.a
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2007/01/14 20:47:18  qboosh
+- less greedy *.la removal
+
 Revision 1.13  2007/01/09 13:21:34  alucard
 - unified
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/prelude-lml.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list