Fix %doc abuse (bug #914006).
This commit is contained in:
parent
540fe0bd56
commit
c90ac521ea
@ -4,7 +4,7 @@
|
||||
Summary: Tools for using the foomatic database of printers and printer drivers
|
||||
Name: foomatic
|
||||
Version: %{enginever}
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
|
||||
@ -139,13 +139,18 @@ rm -rf \
|
||||
#%{buildroot}%%{_libdir}/perl5/site_perl
|
||||
find %{buildroot} -name .packlist | xargs rm -f
|
||||
|
||||
mkdir _enginedocs
|
||||
cp -pr --parents foomatic-db-engine-%{enginever}/COPYING _enginedocs/
|
||||
mkdir _filtersdocs
|
||||
cp -pr --parents foomatic-filters-%{filtersver}/COPYING _filtersdocs/
|
||||
|
||||
%post
|
||||
/bin/rm -f /var/cache/foomatic/*
|
||||
exit 0
|
||||
|
||||
|
||||
%files
|
||||
%doc --parents foomatic-db-engine-%{enginever}/COPYING
|
||||
%doc _enginedocs/*
|
||||
%config(noreplace) %{_sysconfdir}/foomatic/defaultspooler
|
||||
%{_bindir}/foomatic-combo-xml
|
||||
%{_bindir}/foomatic-compiledb
|
||||
@ -172,7 +177,7 @@ exit 0
|
||||
%{_var}/cache/foomatic
|
||||
|
||||
%files filters
|
||||
%doc --parents foomatic-filters-%{filtersver}/COPYING
|
||||
%doc _filtersdocs/*
|
||||
%dir %{_sysconfdir}/foomatic
|
||||
%config(noreplace) %{_sysconfdir}/foomatic/filter.conf
|
||||
%{_bindir}/foomatic-rip
|
||||
@ -180,6 +185,9 @@ exit 0
|
||||
%{_mandir}/man1/foomatic-rip.1*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 22 2013 Jiri Popelka <jpopelka@redhat.com> - 4.0.8-16
|
||||
- Fix %%doc abuse (bug #914006).
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.8-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user