Revert "Soname bump of libpcre2-posix.so"

This reverts commit ee71bafded.

We don't need to backport the old library, everything is built agains
the new one
This commit is contained in:
Lukas Javorsky 2021-07-15 11:01:18 +02:00
parent afe5411c37
commit 160c07e964

View File

@ -9,7 +9,7 @@
#%%global rcversion RC1 #%%global rcversion RC1
Name: pcre2 Name: pcre2
Version: 10.37 Version: 10.37
Release: %{?rcversion:0.}2%{?rcversion:.%rcversion}%{?dist} Release: %{?rcversion:0.}3%{?rcversion:.%rcversion}%{?dist}
%global myversion %{version}%{?rcversion:-%rcversion} %global myversion %{version}%{?rcversion:-%rcversion}
Summary: Perl-compatible regular expression library Summary: Perl-compatible regular expression library
# the library: BSD with exceptions # the library: BSD with exceptions
@ -62,7 +62,6 @@ BuildRequires: make
BuildRequires: readline-devel BuildRequires: readline-devel
%endif %endif
BuildRequires: sed BuildRequires: sed
BuildRequires: pcre2
Requires: %{name}-syntax = %{version}-%{release} Requires: %{name}-syntax = %{version}-%{release}
Provides: bundled(sljit) Provides: bundled(sljit)
@ -199,16 +198,11 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
# These are handled by %%doc in %%files # These are handled by %%doc in %%files
rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre2 rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre2
# Copy old soname %{_libdir}/libpcre2-posix.so.2
cp %{_libdir}/libpcre2-posix.so.2* $RPM_BUILD_ROOT%{_libdir}
%check %check
make %{?_smp_mflags} check VERBOSE=yes make %{?_smp_mflags} check VERBOSE=yes
%files %files
%{_libdir}/libpcre2-8.so.0* %{_libdir}/libpcre2-8.so.0*
# We can delete this after rebuilding all dependent packages
%{_libdir}/libpcre2-posix.so.2*
%{_libdir}/libpcre2-posix.so.3* %{_libdir}/libpcre2-posix.so.3*
%files utf16 %files utf16
@ -260,6 +254,10 @@ make %{?_smp_mflags} check VERBOSE=yes
%{_mandir}/man1/pcre2test.* %{_mandir}/man1/pcre2test.*
%changelog %changelog
* Thu Jul 15 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-3
- Revert of copying the old posix library - After rebuilding all
- dependend packages we don't need to backport the old library
* Wed Jul 14 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-2 * Wed Jul 14 2021 Lukas Javorsky <ljavorsk@redhat.com> - 10.37-2
- Release bump - Release bump