## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.8.0 %bcond_without check # https://github.com/docker/distribution %global goipath github.com/docker/distribution Version: 2.8.1 %global commit bc6b7455cb168d3000c18714ee1c57d2cd03b953 %gometa %global common_description %{expand: The Docker toolset to pack, ship, store, and deliver content. This repository's main product is the Docker Registry 2.0 implementation for storing and distributing Docker images. It supersedes the docker/docker-registry project with a new API design, focused around security and performance.} %global golicenses LICENSE %global godocs docs BUILDING.md CONTRIBUTING.md README.md ROADMAP.md Name: %{goname} Release: %autorelease Summary: Docker toolkit to pack, ship, store, and deliver container content License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check for test in "TestHTTPChecker" \ "TestFileReaderSeek" \ "TestListObjectsV2" \ "TestGracefulShutdown" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %if 0%{?__isa_bits} == 32 %gocheck -d registry/storage/driver/inmemory \ -d registry/handlers \ -d registry/storage/driver/swift \ -d registry/storage/driver/filesystem %else %gocheck -d registry/storage/driver/inmemory \ -d registry/handlers %endif %endif %files %license LICENSE %doc docs BUILDING.md CONTRIBUTING.md README.md ROADMAP.md %{_bindir}/digest %{_bindir}/registry-api-descriptor-template %{_bindir}/registry %gopkgfiles %changelog * Thu Jul 06 2023 Alejandro Saez Morollon - 2.8.1-7 - Update .packit.yaml * Thu Jul 06 2023 Alejandro Sáez - 2.8.1-6 - Change extesion to yaml * Thu Jul 06 2023 Alejandro Sáez - 2.8.1-5 - Enable Packit * Thu Jan 19 2023 Fedora Release Engineering - 2.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Aug 22 2022 Robert-André Mauchin - 2.8.1-3 - Disable some tests OOM on 32 bits arches * Sun Aug 21 2022 Robert-André Mauchin - 2.8.1-2 - Update to 2.8.1, commit bc6b7455cb168d3000c18714ee1c57d2cd03b953 - Close: rhbz#2043861 rhbz#2067428 rhbz#2067396 rhbz#2045498 * Sun Aug 21 2022 Robert-André Mauchin - 2.8.1-1 - Update to 2.8.1, commit bc6b7455cb168d3000c18714ee1c57d2cd03b953 - Close: rhbz#2043861 rhbz#2067428 rhbz#2067396 rhbz#2045498 * Wed Aug 10 2022 Maxwell G - 2.7.1-12 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering - 2.7.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 2.7.1-10 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 2.7.1-9 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Thu Jan 20 2022 Fedora Release Engineering - 2.7.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.7.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.7.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Aug 16 01:37:07 CEST 2020 Robert-André Mauchin - 2.7.1-5.20200816git35b26de - Bump to commit 35b26def43c1f0bff65f349a058644cf45181338 * Mon Jul 27 2020 Fedora Release Engineering - 2.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 2.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 2.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed May 01 17:39:11 CEST 2019 Robert-André Mauchin - 2.7.1-1 - Initial package