Compare commits

...

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

5 changed files with 25 additions and 58 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/lcms2-2.12.tar.gz
SOURCES/lcms2-2.9.tar.gz
/lcms2-2.9.tar.gz

View File

@ -1 +0,0 @@
3d0c0276fcd3930b80c424512ec0b1ed54ec1497 SOURCES/lcms2-2.12.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -1,16 +1,16 @@
Name: lcms2
Version: 2.12
Release: 3%{?dist}
Version: 2.9
Release: 2%{?dist}
Summary: Color Management Engine
License: MIT
URL: http://www.littlecms.com/
Source0: http://www.littlecms.com/lcms2-%{version}.tar.gz
BuildRequires: gcc
## upstream patches
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: zlib-devel
BuildRequires: make
%description
LittleCMS intends to be a small-footprint, speed optimized color management
@ -33,37 +33,36 @@ Provides: littlecms-devel = %{version}-%{release}
Development files for LittleCMS.
%prep
%autosetup -p1
%setup -q
%build
%configure \
--disable-static \
--program-suffix=2
%configure --disable-static --program-suffix=2
# remove rpath from libtool
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
make %{?_smp_mflags}
%install
%make_install
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
rm -fv %{buildroot}%{_libdir}/lib*.la
rm -fv ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
# rename docs (for use with %%doc below)
cp -alf doc/LittleCMS2.??\ API.pdf api.pdf
cp -alf doc/LittleCMS2.??\ Plugin\ API.pdf plugin-api.pdf
cp -alf doc/LittleCMS2.??\ tutorial.pdf tutorial.pdf
cp -alf doc/LittleCMS2.?\ API.pdf api.pdf
cp -alf doc/LittleCMS2.?\ Plugin\ API.pdf plugin-api.pdf
cp -alf doc/LittleCMS2.?\ tutorial.pdf tutorial.pdf
%check
%make_build check -k ||:
make check -k ||:
%ldconfig_scriptlets
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc AUTHORS
@ -80,46 +79,7 @@ cp -alf doc/LittleCMS2.??\ tutorial.pdf tutorial.pdf
%{_libdir}/liblcms2.so
%{_libdir}/pkgconfig/lcms2.pc
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.12-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.12-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Feb 08 2021 Richard Hughes <richard@hughsie.com> - 2.12-1
- Update to new upstream version.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jun 17 2020 Richard Hughes <richard@hughsie.com> - 2.11-1
- Update to new upstream version.
* Wed Jun 03 2020 Richard Hughes <richard@hughsie.com> - 2.10-1
- Update to new upstream version.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Sep 18 2018 Rex Dieter <rdieter@fedoraproject.org> - 2.9-4
- CVE-2018-16435 lcms2: heap-based buffer overflow in SetData function in cmsIT8LoadFromFile (#1628969)
- .spec cosmetics, use %%make_build %%make_install %%ldconfig_scriptlets
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (lcms2-2.9.tar.gz) = e30ad5a9a1ab9e7aaace9431434caa19a5ff6143db46644aba971a5ee37a265b26bf738e886d766405a7eb45a9d620d67c7ab3684ace86a107cf5a76642c04a5