From d4eed2218520cf1b8345e170efed7cf1595e08b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 28 Feb 2012 14:10:25 +0100 Subject: [PATCH] Move library to /usr --- pcre.spec | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/pcre.spec b/pcre.spec index 2dbbc6e..832cef8 100644 --- a/pcre.spec +++ b/pcre.spec @@ -74,17 +74,8 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT - -# libpcre.so.*() needed by grep during system start (bug #41104) -mkdir -p $RPM_BUILD_ROOT/%{_lib} -mv $RPM_BUILD_ROOT%{_libdir}/libpcre.so.* $RPM_BUILD_ROOT/%{_lib}/ -pushd $RPM_BUILD_ROOT%{_libdir} -ln -fs ../../%{_lib}/libpcre.so.1 libpcre.so -popd - # Get rid of unneeded *.la files rm -f $RPM_BUILD_ROOT%{_libdir}/*.la - # These are handled by %%doc in %%files rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre @@ -100,7 +91,6 @@ make check %postun -p /sbin/ldconfig %files -/%{_lib}/*.so.* %{_libdir}/*.so.* %doc AUTHORS COPYING LICENCE NEWS README ChangeLog @@ -127,6 +117,7 @@ make check %changelog * Tue Feb 28 2012 Petr Pisar - 8.30-2 - Remove old libpcre.so.0 from distribution +- Move library to /usr * Thu Feb 09 2012 Petr Pisar - 8.30-1 - 8.30 bump