SPECS: pcre.spec - ghost soname symlinks
qboosh
qboosh at pld-linux.org
Thu Jan 10 22:22:26 CET 2008
Author: qboosh Date: Thu Jan 10 21:22:26 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- ghost soname symlinks
---- Files affected:
SPECS:
pcre.spec (1.89 -> 1.90)
---- Diffs:
================================================================
Index: SPECS/pcre.spec
diff -u SPECS/pcre.spec:1.89 SPECS/pcre.spec:1.90
--- SPECS/pcre.spec:1.89 Thu Jan 10 21:27:35 2008
+++ SPECS/pcre.spec Thu Jan 10 22:22:21 2008
@@ -201,13 +201,11 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-mv -f $RPM_BUILD_ROOT%{_libdir}/libpcre.so.*.* $RPM_BUILD_ROOT/%{_lib}
-mv -f $RPM_BUILD_ROOT%{_libdir}/libpcreposix.so.*.* $RPM_BUILD_ROOT/%{_lib}
+mv -f $RPM_BUILD_ROOT%{_libdir}/libpcre.so.* $RPM_BUILD_ROOT/%{_lib}
+mv -f $RPM_BUILD_ROOT%{_libdir}/libpcreposix.so.* $RPM_BUILD_ROOT/%{_lib}
-cd $RPM_BUILD_ROOT%{_libdir}
-ln -sf /%{_lib}/$(cd ../../%{_lib}; echo libpcre.so.*.*.*) libpcre.so
-ln -sf /%{_lib}/$(cd ../../%{_lib}; echo libpcreposix.so.*.*.*) libpcreposix.so
-cd -
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libpcre.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libpcre.so
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libpcreposix.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libpcreposix.so
install pcredemo.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -225,8 +223,10 @@
%files
%defattr(644,root,root,755)
%doc README NEWS LICENCE ChangeLog
-%attr(755,root,root) /%{_lib}/libpcre.so.*.*
-%attr(755,root,root) /%{_lib}/libpcreposix.so.*.*
+%attr(755,root,root) /%{_lib}/libpcre.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libpcre.so.0
+%attr(755,root,root) /%{_lib}/libpcreposix.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libpcreposix.so.0
%files devel
%defattr(644,root,root,755)
@@ -239,7 +239,7 @@
%{_includedir}/pcreposix.h
%{_pkgconfigdir}/libpcre.pc
%{_mandir}/man1/pcre-config.1*
-%{_mandir}/man3/*
+%{_mandir}/man3/pcre*.3*
%exclude %{_mandir}/man3/pcrecpp.3*
%{_examplesdir}/%{name}-%{version}
@@ -253,6 +253,7 @@
%files cxx
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libpcrecpp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpcrecpp.so.0
%files cxx-devel
%defattr(644,root,root,755)
@@ -291,6 +292,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.90 2008-01-10 21:22:21 qboosh
+- ghost soname symlinks
+
Revision 1.89 2008-01-10 20:27:35 twittner
- up to 7.5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pcre.spec?r1=1.89&r2=1.90&f=u
More information about the pld-cvs-commit
mailing list