From f2bd6a0eb43fe7d2d3098b6337f0c8396e9a51b2 Mon Sep 17 00:00:00 2001 From: Petr Pisar Date: Jul 08 2010 17:13:05 +0000 Subject: Add COPYING to static subpackage and remove rpath --- diff --git a/pcre.spec b/pcre.spec index 39071e3..90d9cf1 100644 --- a/pcre.spec +++ b/pcre.spec @@ -1,6 +1,6 @@ Name: pcre Version: 7.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Perl-compatible regular expression library URL: http://www.pcre.org/ Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2 @@ -38,6 +38,8 @@ Library for static linking for %{name}. %build %configure --enable-utf8 --enable-unicode-properties +sed -i -e 's|^\(hardcode_libdir_flag_spec=\).*|\1""|g' \ + -e 's|^\(runpath_var=\)LD_RUN_PATH|\1DIE_RPATH_DIE|g' libtool # One contributor's name is non-utf8 iconv -f latin1 -t utf8 ChangeLog >ChangeLog.utf8 @@ -95,8 +97,13 @@ rm -rf $RPM_BUILD_ROOT %files static %defattr(-,root,root) %{_libdir}/*.a +%doc COPYING %changelog +* Thu Jul 08 2010 Petr Pisar - 7.8-4 +- Add COPYING to static subpackage +- Remove useless rpath + * Sat Jul 25 2009 Fedora Release Engineering - 7.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild