diff --git a/pcre2.spec b/pcre2.spec index 1097a64..cf3144a 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,6 +1,6 @@ Name: pcre2 Version: 10.36 -Release: 1mamba +Release: 2mamba Summary: PCRE - Perl Compatible Regular Expressions Group: System/Libraries Vendor: openmamba @@ -13,7 +13,6 @@ License: BSD BuildRequires: glibc-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description PCRE - Perl Compatible Regular Expressions. @@ -43,7 +42,9 @@ This package contains libraries and header files for developing applications tha sed -i "s| man/man| share/man/man|" CMakeLists.txt %build -%configure +%configure \ + --enable-pcre2-16 \ + --enable-pcre2-32 %make @@ -64,12 +65,14 @@ sed -i "s| man/man| share/man/man|" CMakeLists.txt %{_mandir}/man1/pcre2-config.1* %{_mandir}/man1/pcre2grep.1* %{_mandir}/man1/pcre2test.1* -%doc AUTHORS COPYING LICENCE %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libpcre2-8.so.* +%{_libdir}/libpcre2-16.so.* +%{_libdir}/libpcre2-32.so.* %{_libdir}/libpcre2-posix.so.* +%doc AUTHORS COPYING LICENCE %files -n lib%{name}-devel %defattr(-,root,root) @@ -79,10 +82,18 @@ sed -i "s| man/man| share/man/man|" CMakeLists.txt %{_libdir}/libpcre2-8.a %{_libdir}/libpcre2-8.la %{_libdir}/libpcre2-8.so +%{_libdir}/libpcre2-16.a +%{_libdir}/libpcre2-16.la +%{_libdir}/libpcre2-16.so +%{_libdir}/libpcre2-32.a +%{_libdir}/libpcre2-32.la +%{_libdir}/libpcre2-32.so %{_libdir}/libpcre2-posix.a %{_libdir}/libpcre2-posix.la %{_libdir}/libpcre2-posix.so %{_libdir}/pkgconfig/libpcre2-8.pc +%{_libdir}/pkgconfig/libpcre2-16.pc +%{_libdir}/pkgconfig/libpcre2-32.pc %{_libdir}/pkgconfig/libpcre2-posix.pc %dir %{_datadir}/doc/pcre2 %dir %{_datadir}/doc/pcre2 @@ -91,6 +102,9 @@ sed -i "s| man/man| share/man/man|" CMakeLists.txt %doc ChangeLog NEWS README %changelog +* Wed Mar 10 2021 Silvan Calarco 10.36-2mamba +- enable 16 and 32 bit character support + * Wed Dec 16 2020 Automatic Build System 10.36-1mamba - automatic version update by autodist