Add COPYING to static subpackage and remove rpath
This commit is contained in:
parent
7d5a4d21e3
commit
f2bd6a0eb4
@ -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 <ppisar@redhat.com> - 7.8-4
|
||||
- Add COPYING to static subpackage
|
||||
- Remove useless rpath
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user