diff --git a/SOURCES/docker-distribution.service b/SOURCES/docker-distribution.service index c020c78..de8e6d7 100644 --- a/SOURCES/docker-distribution.service +++ b/SOURCES/docker-distribution.service @@ -1,5 +1,6 @@ [Unit] Description=v2 Registry server for Docker +After=network.target [Service] Type=simple @@ -8,4 +9,3 @@ Restart=on-failure [Install] WantedBy=multi-user.target -After=network.target diff --git a/SPECS/docker-distribution.spec b/SPECS/docker-distribution.spec index 55c98c8..f527c89 100644 --- a/SPECS/docker-distribution.spec +++ b/SPECS/docker-distribution.spec @@ -1,13 +1,13 @@ +%global with_debug 1 + %if 0%{?fedora} || 0%{?rhel} == 6 %global with_devel 1 %global with_bundled 0 -%global with_debug 1 %global with_check 1 %global with_unit_test 1 %else %global with_devel 0 %global with_bundled 1 -%global with_debug 0 %global with_check 0 %global with_unit_test 0 %endif @@ -38,7 +38,7 @@ Name: %{project}-%{repo} Version: 2.6.2 -Release: 1.git%{shortcommit0}%{?dist} +Release: 2.git%{shortcommit0}%{?dist} Summary: Docker toolset to pack, ship, store, and deliver content License: ASL 2.0 URL: https://%{provider_prefix} @@ -242,7 +242,7 @@ export GOPATH=$(pwd)/_build:$(pwd)/vendor:%{gopath} %endif pushd _build/src/%{import_path}/cmd/registry -go build . +%gobuild . popd %install @@ -339,6 +339,10 @@ make test %endif %changelog +* Mon Apr 02 2018 Lokesh Mandvekar - 2.6.2-2.git48294d9 +- Resolves: #1528265 - correct unitfile error +- enable debuginfo + * Tue Aug 08 2017 Lokesh Mandvekar - 2.6.2-1.git48294d9 - Resolves: #1474893 CVE-2017-11468, #1478282 - rebase to v2.6.2