- Require cups and don't own its directories (bug #534051).

This commit is contained in:
Tim Waugh 2009-11-10 11:44:22 +00:00
parent be7549c78a
commit 6ce0dc3e79
1 changed files with 13 additions and 3 deletions

View File

@ -4,7 +4,7 @@
Summary: Database of printers and printer drivers
Name: foomatic
Version: %{enginever}
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2+
Group: System Environment/Libraries
@ -47,6 +47,7 @@ PreReq: fileutils initscripts
BuildRequires: mpage
Requires: foomatic-db
Requires: cups
%description
Foomatic is a comprehensive, spooler-independent database of printers,
@ -68,12 +69,17 @@ The site http://www.linuxprinting.org/ is based on this database.
pushd foomatic-filters-%{filtersver}
%patch1 -p1 -b .libdir
%patch2 -p1 -b .mkstemp
aclocal
automake
autoconf
popd
pushd foomatic-db-engine-%{enginever}
chmod a+x mkinstalldirs
%patch101 -p1 -b .libdir
%patch102 -p1
aclocal
autoconf
popd
%build
@ -142,12 +148,16 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
%{_bindir}/*
%{_sbindir}/*
%{_prefix}/lib*/perl5/vendor_perl/*/Foomatic
%dir /usr/lib/cups
/usr/lib/cups/*
/usr/lib/cups/backend/*
/usr/lib/cups/driver/*
/usr/lib/cups/filter/*
%{_mandir}/*/*
%{_var}/cache/foomatic
%changelog
* Tue Nov 10 2009 Tim Waugh <twaugh@redhat.com> 4.0.3-4
- Require cups and don't own its directories (bug #534051).
* Sun Nov 8 2009 Tim Waugh <twaugh@redhat.com> 4.0.3-3
- Revert last change.