From 0a44c334acf332ed5de9f2a679e3f10b815e1ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 12 Aug 2017 14:53:58 +0300 Subject: [PATCH] Own package doc dir, install COPYING as %license https://bugzilla.redhat.com/show_bug.cgi?id=1480850 --- libdvdread.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libdvdread.spec b/libdvdread.spec index 1c7f8c2..b54d2df 100644 --- a/libdvdread.spec +++ b/libdvdread.spec @@ -1,6 +1,6 @@ Name: libdvdread Version: 5.0.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A library for reading DVD video discs based on Ogle code License: GPLv2+ URL: http://dvdnav.mplayerhq.hu/ @@ -35,7 +35,7 @@ make V=1 %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} -rm %{buildroot}%{_libdir}/libdvdread.la +rm %{buildroot}%{_libdir}/libdvdread.la %{buildroot}%{_pkgdocdir}/COPYING %post -p /sbin/ldconfig @@ -43,8 +43,9 @@ rm %{buildroot}%{_libdir}/libdvdread.la %files %defattr(-,root,root,-) +%license COPYING +%dir %{_pkgdocdir} %doc %{_pkgdocdir}/AUTHORS -%doc %{_pkgdocdir}/COPYING %doc %{_pkgdocdir}/NEWS %doc %{_pkgdocdir}/README %{_libdir}/libdvdread.so.* @@ -58,6 +59,9 @@ rm %{buildroot}%{_libdir}/libdvdread.la %{_libdir}/pkgconfig/dvdread.pc %changelog +* Sat Aug 12 2017 Ville Skyttä - 5.0.3-7 +- Own package doc dir, install COPYING as %%license + * Thu Aug 03 2017 Fedora Release Engineering - 5.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild