fix license handling

This commit is contained in:
Tom Callaway 2014-07-30 11:40:16 -04:00
parent 1860c03fde
commit 467d02625c

View File

@ -2,7 +2,7 @@
#%%global rcversion RC1
Name: pcre
Version: 8.35
Release: %{?rcversion:0.}4%{?rcversion:.%rcversion}%{?dist}
Release: %{?rcversion:0.}5%{?rcversion:.%rcversion}%{?dist}
%global myversion %{version}%{?rcversion:-%rcversion}
Summary: Perl-compatible regular expression library
Group: System Environment/Libraries
@ -127,7 +127,9 @@ make %{?_smp_mflags} check
%files
%{_libdir}/*.so.*
%doc AUTHORS COPYING LICENCE NEWS README ChangeLog
%{!?_licensedir:%global license %%doc}
%license COPYING LICENCE
%doc AUTHORS NEWS README ChangeLog
%files devel
%{_libdir}/*.so
@ -141,7 +143,8 @@ make %{?_smp_mflags} check
%files static
%{_libdir}/*.a
%doc COPYING LICENCE
%{!?_licensedir:%global license %%doc}
%license COPYING LICENCE
%files tools
%{_bindir}/pcregrep
@ -150,6 +153,9 @@ make %{?_smp_mflags} check
%{_mandir}/man1/pcretest.*
%changelog
* Wed Jul 30 2014 Tom Callaway <spot@fedoraproject.org> - 8.35-5
- fix license handling
* Mon Jul 14 2014 Petr Pisar <ppisar@redhat.com> - 8.35-4
- Fix empty-matching possessive zero-repeat groups in interpreted mode
(bug #1119241)