use %license for license files

This commit is contained in:
Nils Philippsen 2016-10-07 19:40:35 +02:00
parent dfa3167293
commit f9aa117670

View File

@ -241,7 +241,14 @@ udevadm hwdb --update >/dev/null 2>&1 || :
%files -f %{name}.lang
%defattr(-,root,root)
%doc %{_maindocdir}
%docdir %{_maindocdir}
%doc %{_maindocdir}/AUTHORS
%doc %{_maindocdir}/ChangeLog
%doc %{_maindocdir}/NEWS
%doc %{_maindocdir}/PROBLEMS
%doc %{_maindocdir}/README*
%license %{_maindocdir}/COPYING
%license %{_maindocdir}/LICENSE
%dir /etc/sane.d
%dir /etc/sane.d/dll.d
%config(noreplace) /etc/sane.d/*.conf
@ -285,6 +292,9 @@ udevadm hwdb --update >/dev/null 2>&1 || :
%{_libdir}/sane/*gphoto2.so*
%changelog
* Fri Oct 07 2016 Nils Philippsen <nils@redhat.com>
- use %%license for license files
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild