Compare commits

...

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

7 changed files with 15 additions and 63 deletions

View File

@ -1 +0,0 @@
1794e3b3d3f5dc6154cdf4d4f4af503b0dbeed48 SOURCES/foomatic-db-4.0-20210209.tar.gz

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/foomatic-db-4.0-20210209.tar.gz SOURCES/foomatic-db-4.0-20180102.tar.gz
/foomatic-db-4.0-20180102.tar.gz

View File

@ -1,12 +1,12 @@
%global dbver_rel 4.0 %global dbver_rel 4.0
# When you change dbver_snap, rebuild also foomatic against this build to pick up new IEEE 1284 Device IDs. # 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. # The postscriptdriver tags get put onto foomatic, because that's there the actual CUPS driver lives.
%global dbver_snap 20210209 %global dbver_snap 20180102
Summary: Database of printers and printer drivers Summary: Database of printers and printer drivers
Name: foomatic-db Name: foomatic-db
Version: %{dbver_rel} Version: %{dbver_rel}
Release: 72.%{dbver_snap}%{?dist} Release: 57.%{dbver_snap}%{?dist}
License: GPLv2+ License: GPLv2+
Requires: %{name}-filesystem = %{version}-%{release} Requires: %{name}-filesystem = %{version}-%{release}
Requires: %{name}-ppds = %{version}-%{release} Requires: %{name}-ppds = %{version}-%{release}
@ -24,15 +24,10 @@ BuildRequires: python3-cups
# Build requires cups so that configure knows where to put PPDs. # Build requires cups so that configure knows where to put PPDs.
BuildRequires: cups BuildRequires: cups
# uses make
BuildRequires: make
# Build requires for perl # Build requires for perl
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
# we needed sed for prep phase - removing perl from ppds
BuildRequires: sed
%description %description
This is the database of printers, printer drivers, and driver options This is the database of printers, printer drivers, and driver options
for Foomatic. for Foomatic.
@ -66,10 +61,7 @@ find -type d | xargs chmod g-s
pushd db/source pushd db/source
# For gutenprint printers, use gutenprint-ijs-simplified.5.2. # For gutenprint printers, use gutenprint-ijs-simplified.5.2.
for i in printer/*.xml perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.2<,' printer/*.xml
do
perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.2<,' $i
done
# Remove references to SpliX (Samsung/Xerox/Dell) # Remove references to SpliX (Samsung/Xerox/Dell)
find printer -name '*.xml' |xargs grep -l "<driver>splix"|xargs rm -vf find printer -name '*.xml' |xargs grep -l "<driver>splix"|xargs rm -vf
@ -80,8 +72,7 @@ rm -f driver/splix.xml
# foo2lava, foo2kyo, foo2xqx (bug #438319) # foo2lava, foo2kyo, foo2xqx (bug #438319)
# foo2slx and foo2hiperc (bug #518267) # foo2slx and foo2hiperc (bug #518267)
# foo2hbpl2 (bug #970393) # foo2hbpl2 (bug #970393)
# foo2hiperc-z1 for x in zjs zjs-z1 zjs-z2 zjs-z3 oak oak-z1 hp qpdl lava kyo xqx slx hiperc hbpl2
for x in zjs zjs-z1 zjs-z2 zjs-z3 oak oak-z1 hp qpdl lava kyo xqx slx hiperc hiperc-z1 hbpl2
do do
find printer -name '*.xml' |xargs grep -l "<driver>foo2${x}"|xargs rm -vf find printer -name '*.xml' |xargs grep -l "<driver>foo2${x}"|xargs rm -vf
rm -f driver/foo2${x}.xml opt/foo2${x}-* rm -f driver/foo2${x}.xml opt/foo2${x}-*
@ -131,7 +122,7 @@ popd
%patch2 -p1 %patch2 -p1
# Use sed instead of perl in the PPDs (bug #512739). # Use sed instead of perl in the PPDs (bug #512739).
find db/source/PPD -type f -name '*.ppd' -exec sed -i 's,perl -p,sed,g' {} + find db/source/PPD -type f -name '*.ppd' | xargs perl -pi -e 's,perl -p,sed,'
%build %build
%configure %configure
@ -180,53 +171,6 @@ ln -sf ../../foomatic/db/source/PPD %{buildroot}%{_datadir}/cups/model/foomatic-
%{_datadir}/cups/model/foomatic-db-ppds %{_datadir}/cups/model/foomatic-db-ppds
%changelog %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 * 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/ - remove old stuff https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-8
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}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (foomatic-db-4.0-20180102.tar.gz) = 36567c931963807deb8ba56bb008fca00f463dc7fa6d74222308d5f01b2690c2de5c096265623e5aed2a03777f1afa9171bc6dd1f0b5f27dc54c48d530656100