Compare commits

...

No commits in common. "c8s" and "f7871a4249b5ffa295004b30111568987eb354f7" have entirely different histories.

7 changed files with 99 additions and 7 deletions

View File

@ -1 +1 @@
94b26b6c0d76b18774d1cc1f154e2842fa979e6b SOURCES/foomatic-db-4.0-20180102.tar.gz
1794e3b3d3f5dc6154cdf4d4f4af503b0dbeed48 foomatic-db-4.0-20210209.tar.gz

29
.gitignore vendored
View File

@ -1 +1,28 @@
SOURCES/foomatic-db-4.0-20180102.tar.gz
foomatic-db-4.0-20090702.tar.gz
foomatic-db-hpijs-20090701.tar.gz
foomatic-db-4.0-20090819.tar.gz
foomatic-db-4.0-20091126.tar.gz
foomatic-db-4.0-20100204.tar.gz
/foomatic-db-4.0-20100819.tar.gz
/foomatic-db-hpijs-20090901.tar.gz
/foomatic-db-4.0-20101123.tar.gz
/foomatic-db-4.0-20110221.tar.gz
/foomatic-db-4.0-20110614.tar.gz
/foomatic-db-4.0-20120719.tar.gz
/foomatic-db-4.0-20121011.tar.gz
/foomatic-db-4.0-20130312.tar.gz
/foomatic-db-4.0-20130507.tar.gz
/foomatic-db-4.0-20130604.tar.gz
/foomatic-db-4.0-20130911.tar.gz
/foomatic-db-4.0-20131218.tar.gz
/foomatic-db-4.0-20140707.tar.gz
/foomatic-db-4.0-20150415.tar.gz
/foomatic-db-4.0-20150819.tar.gz
/foomatic-db-4.0-20161003.tar.gz
/foomatic-db-4.0-20170503.tar.gz
/foomatic-db-4.0-20180102.tar.gz
/foomatic-db-4.0-20180228.tar.gz
/foomatic-db-4.0-20190128.tar.gz
/foomatic-db-4.0-20200526.tar.gz
/foomatic-db-4.0-20201104.tar.gz
/foomatic-db-4.0-20210209.tar.gz

View File

@ -1,12 +1,12 @@
%global dbver_rel 4.0
# When you change dbver_snap, rebuild also foomatic against this build to pick up new IEEE 1284 Device IDs.
# The postscriptdriver tags get put onto foomatic, because that's there the actual CUPS driver lives.
%global dbver_snap 20180102
%global dbver_snap 20210209
Summary: Database of printers and printer drivers
Name: foomatic-db
Version: %{dbver_rel}
Release: 57.%{dbver_snap}%{?dist}
Release: 72.%{dbver_snap}%{?dist}
License: GPLv2+
Requires: %{name}-filesystem = %{version}-%{release}
Requires: %{name}-ppds = %{version}-%{release}
@ -24,10 +24,15 @@ BuildRequires: python3-cups
# Build requires cups so that configure knows where to put PPDs.
BuildRequires: cups
# uses make
BuildRequires: make
# Build requires for perl
BuildRequires: perl-interpreter
# we needed sed for prep phase - removing perl from ppds
BuildRequires: sed
%description
This is the database of printers, printer drivers, and driver options
for Foomatic.
@ -61,7 +66,10 @@ find -type d | xargs chmod g-s
pushd db/source
# For gutenprint printers, use gutenprint-ijs-simplified.5.2.
perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.2<,' printer/*.xml
for i in printer/*.xml
do
perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.2<,' $i
done
# Remove references to SpliX (Samsung/Xerox/Dell)
find printer -name '*.xml' |xargs grep -l "<driver>splix"|xargs rm -vf
@ -72,7 +80,8 @@ rm -f driver/splix.xml
# foo2lava, foo2kyo, foo2xqx (bug #438319)
# foo2slx and foo2hiperc (bug #518267)
# foo2hbpl2 (bug #970393)
for x in zjs zjs-z1 zjs-z2 zjs-z3 oak oak-z1 hp qpdl lava kyo xqx slx hiperc hbpl2
# foo2hiperc-z1
for x in zjs zjs-z1 zjs-z2 zjs-z3 oak oak-z1 hp qpdl lava kyo xqx slx hiperc hiperc-z1 hbpl2
do
find printer -name '*.xml' |xargs grep -l "<driver>foo2${x}"|xargs rm -vf
rm -f driver/foo2${x}.xml opt/foo2${x}-*
@ -122,7 +131,7 @@ popd
%patch2 -p1
# Use sed instead of perl in the PPDs (bug #512739).
find db/source/PPD -type f -name '*.ppd' | xargs perl -pi -e 's,perl -p,sed,'
find db/source/PPD -type f -name '*.ppd' -exec sed -i 's,perl -p,sed,g' {} +
%build
%configure
@ -171,6 +180,53 @@ ln -sf ../../foomatic/db/source/PPD %{buildroot}%{_datadir}/cups/model/foomatic-
%{_datadir}/cups/model/foomatic-db-ppds
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.0-72.20210209
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 4.0-71.20210209
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Feb 10 2021 Zdenek Dohnal <zdohnal@redhat.com> - 4.0-70.20210209
- updated to foomatic-db-4.0-20210209
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-69.20201104
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Nov 05 2020 Zdenek Dohnal <zdohnal@redhat.com> - 4.0-68.20201104
- updated to foomatic-db-4.0-20201104
- make is no longer in buildroot by default
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-67.20200526
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Zdenek Dohnal <zdohnal@redhat.com> - 4.0-66.20200526
- Updated to foomatic-db-4.0-20200526
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-65.20190128
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-64.20190128
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-63.20190128
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 28 2019 Zdenek Dohnal <zdohnal@redhat.com> - 4.0-62.20190128
- Updated to foomatic-db-4.0-20190128
* Tue Jul 24 2018 Zdenek Dohnal <zdohnal@redhat.com> - 4.0-61.20180228
- 1603992 - foomatic-db: FTBFS in Fedora rawhide
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-60.20180228
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon May 28 2018 Zdenek Dohnal <zdohnal@redhat.com> - 4.0-59.20180228
- 1582865, 1470547 - remove foo2hiperc-z1
* Wed Feb 28 2018 Zdenek Dohnal <zdohnal@redhat.com> - 4.0-58.20180228
- Updated to foomatic-db-4.0-20180228
* Thu Feb 08 2018 Zdenek Dohnal <zdohnal@redhat.com> - 4.0-57.20180102
- remove old stuff https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/

8
gating.yaml Normal file
View File

@ -0,0 +1,8 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tedude.validation}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.acceptance-tier.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (foomatic-db-4.0-20210209.tar.gz) = ae5f781bbce2241aacee8c2762e6f8a53897deb27e7076d49786469baa3858f971ac1149f81273f9bb20c3a1a5462880ebc9657ecbf84608e9be869330419da3