- Removed old explicit provides for perl(Foomatic::GrovePath).

- Fixed macro in changelog.
- Avoid mixed spaces and tabs.
- Ship COPYING files.
- Added comments for sources.
This commit is contained in:
Tim Waugh 2010-03-03 16:17:23 +00:00
parent 09b8469a34
commit d694909c94

View File

@ -8,8 +8,10 @@ Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Libraries
# The database engine.
Source0: http://www.openprinting.org/download/foomatic/foomatic-db-engine-%{enginever}.tar.gz
# The CUPS driver and filter.
Source1: http://www.openprinting.org/download/foomatic/foomatic-filters-%{filtersver}.tar.gz
## PATCHES FOR FOOMATIC-FILTERS (PATCHES 1 TO 100)
@ -42,7 +44,6 @@ BuildRequires: cups
Requires: perl >= 3:5.8.1
Requires: %(eval `perl -V:version`; echo "perl(:MODULE_COMPAT_$version)")
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: perl(Foomatic::GrovePath)
# For 'rm' and '/sbin/service' in post
Requires: fileutils initscripts
@ -51,7 +52,7 @@ BuildRequires: mpage
# Make sure we get postscriptdriver tags. Safe to comment out when
# bootstrapping a new architecture.
BuildRequires: pycups, cups, foomatic, foomatic-db
BuildRequires: pycups, foomatic
Requires: foomatic-db
Requires: cups
@ -151,6 +152,8 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
%files
%defattr(-,root,root)
%doc --parents foomatic-filters-%{filtersver}/COPYING
%doc --parents foomatic-db-engine-%{enginever}/COPYING
%dir %{_sysconfdir}/foomatic
%config(noreplace) %{_sysconfdir}/foomatic/filter.conf
%config(noreplace) %{_sysconfdir}/foomatic/defaultspooler
@ -164,9 +167,12 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
%{_var}/cache/foomatic
%changelog
* Thu Feb 25 2010 Tim Waugh <twaugh@redhat.com> - 4.0.4-2
- Make it explicit that the build requires foomatic-db. This is
needed for postscriptdriver tags.
* Wed Mar 3 2010 Tim Waugh <twaugh@redhat.com> - 4.0.4-2
- Removed old explicit provides for perl(Foomatic::GrovePath).
- Fixed macro in changelog.
- Avoid mixed spaces and tabs.
- Ship COPYING files.
- Added comments for sources.
* Tue Feb 16 2010 Jiri Popelka <jpopelka@redhat.com> - 4.0.4-1
- 4.0.4
@ -921,7 +927,7 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
- Fix file lists.
* Mon Feb 25 2002 Tim Waugh <twaugh@redhat.com> 1.1-0.20020130.8
- Fix %post scriplet bug (bug #59942).
- Fix %%post scriplet bug (bug #59942).
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.1-0.20020130.7
- Rebuild in new environment.