Remove old libpcre.so.0 from distribution
This commit is contained in:
parent
eacb9fb02a
commit
31ff8ae7c2
11
pcre.spec
11
pcre.spec
@ -2,7 +2,7 @@
|
||||
#%%global rcversion RC1
|
||||
Name: pcre
|
||||
Version: 8.30
|
||||
Release: %{?rcversion:0.}1%{?rcversion:.%rcversion}%{?dist}
|
||||
Release: %{?rcversion:0.}2%{?rcversion:.%rcversion}%{?dist}
|
||||
%global myversion %{version}%{?rcversion:-%rcversion}
|
||||
Summary: Perl-compatible regular expression library
|
||||
Group: System Environment/Libraries
|
||||
@ -16,8 +16,6 @@ Patch1: pcre-8.30-refused_spelling_terminated.patch
|
||||
BuildRequires: readline-devel
|
||||
# New libtool to get rid of rpath
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
# SONAME change
|
||||
BuildRequires: pcre
|
||||
|
||||
%description
|
||||
Perl-compatible regular expression library.
|
||||
@ -90,10 +88,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
# These are handled by %%doc in %%files
|
||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre
|
||||
|
||||
# SONAME change
|
||||
cp -p /%{_lib}/libpcre.so.0.0.1 $RPM_BUILD_ROOT/%{_lib}
|
||||
ln -s libpcre.so.0.0.1 $RPM_BUILD_ROOT/%{_lib}/libpcre.so.0
|
||||
|
||||
%check
|
||||
%ifarch s390 ppc
|
||||
# larger stack is needed on s390, ppc
|
||||
@ -131,6 +125,9 @@ make check
|
||||
%{_mandir}/man1/pcretest.*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 28 2012 Petr Pisar <ppisar@redhat.com> - 8.30-2
|
||||
- Remove old libpcre.so.0 from distribution
|
||||
|
||||
* Thu Feb 09 2012 Petr Pisar <ppisar@redhat.com> - 8.30-1
|
||||
- 8.30 bump
|
||||
- Add old libpcre.so.0 to preserve compatibility temporarily
|
||||
|
Loading…
Reference in New Issue
Block a user