From eccef620ddd1c3a227bd50294ca8b613a8aea986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 7 Mar 2016 13:29:34 +0100 Subject: [PATCH] Ship ChangeLog in pcre-doc package --- pcre.spec | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/pcre.spec b/pcre.spec index 0695cd8..23bbe4d 100644 --- a/pcre.spec +++ b/pcre.spec @@ -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 - 8.38-11 +- Ship ChangeLog in pcre-doc package + * Sat Mar 5 2016 Peter Robinson 8.38-10 - Don't ship ChangeLog, details covered in NEWS - Ship README in devel as it covers API and build, not general info