- 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 Summary: Database of printers and printer drivers
Name: foomatic Name: foomatic
Version: %{enginever} Version: %{enginever}
Release: 3%{?dist} Release: 4%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
@ -47,6 +47,7 @@ PreReq: fileutils initscripts
BuildRequires: mpage BuildRequires: mpage
Requires: foomatic-db Requires: foomatic-db
Requires: cups
%description %description
Foomatic is a comprehensive, spooler-independent database of printers, 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} pushd foomatic-filters-%{filtersver}
%patch1 -p1 -b .libdir %patch1 -p1 -b .libdir
%patch2 -p1 -b .mkstemp %patch2 -p1 -b .mkstemp
aclocal
automake
autoconf
popd popd
pushd foomatic-db-engine-%{enginever} pushd foomatic-db-engine-%{enginever}
chmod a+x mkinstalldirs chmod a+x mkinstalldirs
%patch101 -p1 -b .libdir %patch101 -p1 -b .libdir
%patch102 -p1 %patch102 -p1
aclocal
autoconf
popd popd
%build %build
@ -142,12 +148,16 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
%{_bindir}/* %{_bindir}/*
%{_sbindir}/* %{_sbindir}/*
%{_prefix}/lib*/perl5/vendor_perl/*/Foomatic %{_prefix}/lib*/perl5/vendor_perl/*/Foomatic
%dir /usr/lib/cups /usr/lib/cups/backend/*
/usr/lib/cups/* /usr/lib/cups/driver/*
/usr/lib/cups/filter/*
%{_mandir}/*/* %{_mandir}/*/*
%{_var}/cache/foomatic %{_var}/cache/foomatic
%changelog %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 * Sun Nov 8 2009 Tim Waugh <twaugh@redhat.com> 4.0.3-3
- Revert last change. - Revert last change.