fix FTBFS due to doc files in the wrong place (#1307717)

- use license macro
- drop unnecessary defattr declarations
This commit is contained in:
Dominik Mierzejewski 2016-02-17 12:39:47 +01:00
parent c4e4d0ce50
commit 966b2bbcb8

View File

@ -1,6 +1,6 @@
Name: libdvdnav
Version: 5.0.3
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A library for reading DVD video discs based on Ogle code
License: GPLv2+
URL: http://dvdnav.mplayerhq.hu/
@ -36,24 +36,29 @@ popd
%install
%{__make} install DESTDIR=%{buildroot}
rm %{buildroot}%{_libdir}/libdvdnav.la
rm %{buildroot}%{_pkgdocdir}/{COPYING,TODO}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%license COPYING
%doc AUTHORS ChangeLog README
%{_libdir}/libdvdnav.so.*
%files devel
%defattr(-,root,root,-)
%doc TODO doc/html/*
%{_libdir}/libdvdnav.so
%{_includedir}/dvdnav
%{_libdir}/pkgconfig/dvdnav.pc
%changelog
* Wed Feb 17 2016 Dominik Mierzejewski <rpm[AT]greysector.net> 5.0.3-4
- fix FTBFS due to doc files in the wrong place (#1307717)
- use license macro
- drop unnecessary defattr declarations
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild