|
@@ -1,15 +1,17 @@
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
-Name: pcre
|
|
|
-Version: 8.44
|
|
|
-Release: 1%{?_dist_release}
|
|
|
Summary: Perl-compatible regular expression library
|
|
|
Summary(ja): Perl 互換の正規表現ライブラリ
|
|
|
+Name: pcre
|
|
|
+Version: 8.45
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+Group: system
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+Packager: inagaki
|
|
|
|
|
|
-Group: System Environment/Libraries
|
|
|
License: BSD
|
|
|
-URL: http://www.pcre.org/
|
|
|
-
|
|
|
+URL: https://www.pcre.org/
|
|
|
Source0: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2
|
|
|
# Upstream thinks RPATH is good idea.
|
|
|
Patch0: pcre-8.21-multilib.patch
|
|
@@ -31,11 +33,6 @@ BuildRequires: libedit-devel
|
|
|
# New libtool to get rid of rpath
|
|
|
BuildRequires: autoconf, automake, libtool
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
-
|
|
|
-Packager: inagaki
|
|
|
-
|
|
|
%description
|
|
|
Perl-compatible regular expression library.
|
|
|
PCRE has its own native API, but a set of "wrapper" functions that are based on
|
|
@@ -44,10 +41,11 @@ just provides a POSIX calling interface to PCRE: the regular expressions
|
|
|
themselves still follow Perl syntax and semantics. The header file
|
|
|
for the POSIX-style functions is called pcreposix.h.
|
|
|
|
|
|
+
|
|
|
%package devel
|
|
|
Summary: Development files for %{name}
|
|
|
Summary(ja): %{name} の開発用ファイル
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
@@ -57,7 +55,7 @@ Development files (Headers, libraries for static linking, etc) for %{name}.
|
|
|
%package -n compat32-%{name}
|
|
|
Summary: Perl-compatible regular expression library
|
|
|
Summary(ja): Perl 互換の正規表現ライブラリ
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: system,legacy
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
|
Perl-compatible regular expression library.
|
|
@@ -71,13 +69,16 @@ for the POSIX-style functions is called pcreposix.h.
|
|
|
%package -n compat32-%{name}-devel
|
|
|
Summary: Development files for %{name}
|
|
|
Summary(ja): %{name} の開発用ファイル
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming,legacy
|
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}-devel
|
|
|
Development files (Headers, libraries for static linking, etc) for %{name}.
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
# Get rid of rpath
|
|
@@ -94,6 +95,7 @@ for F in ChangeLog; do
|
|
|
mv "${F}.utf8" "$F"
|
|
|
done
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
%configure \
|
|
|
--enable-jit \
|
|
@@ -116,6 +118,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
|
|
|
|
+
|
|
|
%check
|
|
|
%ifarch s390 s390x ppc
|
|
|
# larger stack is needed on s390, ppc
|
|
@@ -123,17 +126,10 @@ ulimit -s 10240
|
|
|
%endif
|
|
|
make %{?_smp_mflags} check VERBOSE=yes
|
|
|
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
-
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
@@ -167,6 +163,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Jul 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.45-1
|
|
|
+- new upstream release.
|
|
|
+- dropped ldconfig scriptletes.
|
|
|
+
|
|
|
* Sun Mar 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.44-1
|
|
|
- new upstream release.
|
|
|
|