Ship ChangeLog in pcre-doc package

This commit is contained in:
Petr Písař 2016-03-07 13:29:34 +01:00
parent 54cecd484b
commit eccef620dd

View File

@ -2,7 +2,7 @@
#%%global rcversion RC1
Name: pcre
Version: 8.38
Release: %{?rcversion:0.}10%{?rcversion:.%rcversion}%{?dist}
Release: %{?rcversion:0.}11%{?rcversion:.%rcversion}%{?dist}
%global myversion %{version}%{?rcversion:-%rcversion}
Summary: Perl-compatible regular expression library
Group: System Environment/Libraries
@ -100,12 +100,20 @@ BuildRequires: diffutils
BuildRequires: grep
%description
Perl-compatible regular expression library.
PCRE has its own native API, but a set of "wrapper" functions that are based on
the POSIX API are also supplied in the library libpcreposix. Note that this
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.
PCRE, Perl-compatible regular expression, library has its own native API, but
a set of wrapper functions that are based on the POSIX API are also supplied
in the libpcreposix library. Note that this just provides a POSIX calling
interface to PCRE: the regular expressions themselves still follow Perl syntax
and semantics. Detailed change log is provided by %{name}-doc package.
%package doc
Summary: Change log for %{name}
Group: Documentation
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description doc
These are large documentation files about PCRE.
%package devel
Summary: Development files for %{name}
@ -201,6 +209,9 @@ make %{?_smp_mflags} check VERBOSE=yes
%license COPYING LICENCE
%doc AUTHORS NEWS
%files doc
%doc ChangeLog
%files devel
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
@ -223,6 +234,9 @@ make %{?_smp_mflags} check VERBOSE=yes
%{_mandir}/man1/pcretest.*
%changelog
* Mon Mar 07 2016 Petr Pisar <ppisar@redhat.com> - 8.38-11
- Ship ChangeLog in pcre-doc package
* Sat Mar 5 2016 Peter Robinson <pbrobinson@fedoraproject.org> 8.38-10
- Don't ship ChangeLog, details covered in NEWS
- Ship README in devel as it covers API and build, not general info