From db3359f4cc61c9cf2a3c71232886204abb91616f Mon Sep 17 00:00:00 2001 From: Heng Qi Date: Wed, 28 Dec 2022 21:25:59 +0800 Subject: [PATCH] optimise spec file and correct abi-related files Removed extra spaces and useless my_version variable. At the same time, errors abi-related to 'include twice' and 'not found' occurred in the abi files, and this revision corrects the errors accordingly. No dependencies on fedora related packages. pcre has stopped maintenance as an old version, and 8.45 is its final version. The replacement is pcre2. Signed-off-by: Heng Qi --- pcre.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pcre.spec b/pcre.spec index 2f8f01f..9c873ca 100644 --- a/pcre.spec +++ b/pcre.spec @@ -1,14 +1,12 @@ -%define anolis_release 2 - +%define anolis_release 3 Name: pcre Version: 8.45 Release: %{anolis_release}%{?dist} -%global myversion %{version}%{?rcversion:-%rcversion} Summary: Perl-compatible regular expression library License: BSD URL: https://www.pcre.org/ -Source0: https://sourceforge.net/projects/pcre/files/pcre/8.45/pcre-8.45.tar.bz2 +Source0: https://sourceforge.net/projects/pcre/files/pcre/%{version}/pcre-%{version}.tar.bz2 BuildRequires: readline-devel BuildRequires: autoconf BuildRequires: automake @@ -132,7 +130,6 @@ make %{?_smp_mflags} check VERBOSE=yes %{_libdir}/libpcreposix.so.0 %{_libdir}/libpcreposix.so.0.* %{abidir}/libpcre*.dump -%{abidir}/libpcreposix*.dump %license COPYING LICENCE %doc AUTHORS NEWS @@ -165,7 +162,6 @@ make %{?_smp_mflags} check VERBOSE=yes %{_mandir}/man1/pcre-config.* %{_mandir}/man3/* %{_bindir}/pcre-config -%{abidir}/pcre-config-option.list %doc doc/*.txt doc/html %doc README HACKING pcredemo.c @@ -181,6 +177,9 @@ make %{?_smp_mflags} check VERBOSE=yes %{_mandir}/man1/pcretest.* %changelog +* Wed Dec 28 2022 Heng Qi - 8.45-3 +- optimise spec file and correct abi-related files + * Fri Oct 14 2022 mgb01105731 - 8.45-2 - optimise spec file -- Gitee