SPECS: popt.spec - ghost soname symlink, simplified .so link creat...

qboosh qboosh at pld-linux.org
Thu Dec 20 20:58:57 CET 2007


Author: qboosh                       Date: Thu Dec 20 19:58:57 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- ghost soname symlink, simplified .so link creation
- updated autoconf BR

---- Files affected:
SPECS:
   popt.spec (1.95 -> 1.96) 

---- Diffs:

================================================================
Index: SPECS/popt.spec
diff -u SPECS/popt.spec:1.95 SPECS/popt.spec:1.96
--- SPECS/popt.spec:1.95	Wed Dec 19 22:19:15 2007
+++ SPECS/popt.spec	Thu Dec 20 20:58:52 2007
@@ -15,11 +15,10 @@
 Release:	1
 License:	X Consortium (MIT-like)
 Group:		Libraries
-#Source0:	ftp://jbj.org/pub/rpm-4.4.x/%{name}-%{version}.tar.gz
 Source0:	http://rpm5.org/files/popt/%{name}-%{version}.tar.gz
 # Source0-md5:	b5c47ce0185c83f947953c77000533bf
 URL:		http://rpm5.org/
-BuildRequires:	autoconf >= 2.50
+BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake >= 1.4
 BuildRequires:	gettext-devel >= 0.11.5
 BuildRequires:	libtool
@@ -161,9 +160,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* $RPM_BUILD_ROOT/%{_lib}
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
-ln -sf /%{_lib}/`(cd $RPM_BUILD_ROOT/%{_lib}; echo *)` \
+mv -f $RPM_BUILD_ROOT%{_libdir}/libpopt.so.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libpopt.so.*.*.*) \
 	$RPM_BUILD_ROOT%{_libdir}/libpopt.so
 
 %find_lang %{name}
@@ -178,13 +176,14 @@
 %defattr(644,root,root,755)
 %doc CHANGES COPYING README
 %attr(755,root,root) /%{_lib}/libpopt.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libpopt.so.0
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libpopt.so
 %{_libdir}/libpopt.la
-%{_mandir}/man3/*
 %{_includedir}/popt.h
+%{_mandir}/man3/popt.3*
 
 %if %{with static_libs}
 %files static
@@ -198,6 +197,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.96  2007-12-20 19:58:52  qboosh
+- ghost soname symlink, simplified .so link creation
+- updated autoconf BR
+
 Revision 1.95  2007-12-19 21:19:15  zbyniu
 - up to 1.13, gettext0.11.patch obsoleted
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/popt.spec?r1=1.95&r2=1.96&f=u



More information about the pld-cvs-commit mailing list