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