Separate pcre-cpp subpackage for C++ bindings (#1324580)
This commit is contained in:
parent
e34f349480
commit
49fa9cacc0
22
pcre.spec
22
pcre.spec
@ -2,7 +2,7 @@
|
|||||||
#%%global rcversion RC1
|
#%%global rcversion RC1
|
||||||
Name: pcre
|
Name: pcre
|
||||||
Version: 8.38
|
Version: 8.38
|
||||||
Release: %{?rcversion:0.}13%{?rcversion:.%rcversion}%{?dist}
|
Release: %{?rcversion:0.}14%{?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
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -125,6 +125,15 @@ Conflicts: %{name}%{?_isa} < 8.38-12
|
|||||||
This is Perl-compatible regular expression library working on UTF-32 strings.
|
This is Perl-compatible regular expression library working on UTF-32 strings.
|
||||||
Detailed change log is provided by %{name}-doc package.
|
Detailed change log is provided by %{name}-doc package.
|
||||||
|
|
||||||
|
%package cpp
|
||||||
|
Summary: C++ bindings for PCRE
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description cpp
|
||||||
|
This is C++ bindings for the Perl-compatible regular expression library.
|
||||||
|
Detailed change log is provided by %{name}-doc package.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Change log for %{name}
|
Summary: Change log for %{name}
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
@ -138,6 +147,7 @@ These are large documentation files about PCRE.
|
|||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: %{name}-cpp%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-utf16%{?_isa} = %{version}-%{release}
|
Requires: %{name}-utf16%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-utf32%{?_isa} = %{version}-%{release}
|
Requires: %{name}-utf32%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
@ -229,9 +239,11 @@ make %{?_smp_mflags} check VERBOSE=yes
|
|||||||
%post utf32 -p /sbin/ldconfig
|
%post utf32 -p /sbin/ldconfig
|
||||||
%postun utf32 -p /sbin/ldconfig
|
%postun utf32 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post cpp -p /sbin/ldconfig
|
||||||
|
%postun cpp -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_libdir}/libpcre.so.*
|
%{_libdir}/libpcre.so.*
|
||||||
%{_libdir}/libpcrecpp.so.*
|
|
||||||
%{_libdir}/libpcreposix.so.*
|
%{_libdir}/libpcreposix.so.*
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license COPYING LICENCE
|
%license COPYING LICENCE
|
||||||
@ -247,6 +259,9 @@ make %{?_smp_mflags} check VERBOSE=yes
|
|||||||
%license COPYING LICENCE
|
%license COPYING LICENCE
|
||||||
%doc AUTHORS NEWS
|
%doc AUTHORS NEWS
|
||||||
|
|
||||||
|
%files cpp
|
||||||
|
%{_libdir}/libpcrecpp.so.*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc ChangeLog
|
%doc ChangeLog
|
||||||
|
|
||||||
@ -272,6 +287,9 @@ make %{?_smp_mflags} check VERBOSE=yes
|
|||||||
%{_mandir}/man1/pcretest.*
|
%{_mandir}/man1/pcretest.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 05 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 8.38-14
|
||||||
|
- Separate pcre-cpp subpackage for C++ bindings (bug #1324580)
|
||||||
|
|
||||||
* Mon Mar 07 2016 Petr Pisar <ppisar@redhat.com> - 8.38-13
|
* Mon Mar 07 2016 Petr Pisar <ppisar@redhat.com> - 8.38-13
|
||||||
- Remove useless dependencies between UTF variants
|
- Remove useless dependencies between UTF variants
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user