Hello community,
here is the log from the commit of package docker-distribution for
openSUSE:Factory checked in at 2016-02-17 10:26:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old)
and /work/SRC/openSUSE:Factory/.docker-distribution.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "docker-distribution"
Changes:
--------
--- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes
2016-01-07 00:24:39.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes
2016-02-17 12:10:41.000000000 +0100
@@ -1,0 +2,17 @@
+Sat Feb 13 10:07:28 UTC 2016 - [email protected]
+
+- Drop useless _service and use url instead
+- Update systemd dependencies
+- Cleanup spec file with spec-cleaner
+- Fix rcservice symlink
+- Adjust previous changelog entry to match requirements
+
+-------------------------------------------------------------------
+Fri Feb 5 11:55:57 UTC 2016 - [email protected]
+
+- Update to 2.3
+ * This Docker Registry release is the first to support the Image
+ Manifest Version 2, Schema 2 manifest format.
+ * Dropped fix_version.patch as it is no longer needed
+
+-------------------------------------------------------------------
Old:
----
_service
distribution-2.2.1.tar.xz
fix_version.patch
New:
----
v2.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ docker-distribution.spec ++++++
--- /var/tmp/diff_new_pack.8o9Cxr/_old 2016-02-17 12:10:43.000000000 +0100
+++ /var/tmp/diff_new_pack.8o9Cxr/_new 2016-02-17 12:10:43.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package docker-distribution
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,23 @@
Name: docker-distribution
-Version: 2.2.1
+Version: 2.3.0
Release: 0
Summary: The Docker toolset to pack, ship, store, and deliver content
License: Apache-2.0
Group: System/Management
Url: http://www.docker.io
-Source: distribution-%{version}.tar.xz
+Source0:
https://github.com/docker/distribution/archive/v%{version}.tar.gz
Source1: registry-configuration.yml
Source2: registry.service
Source3: README-registry.SUSE
-Patch0: fix_version.patch
BuildRequires: go >= 1.5.2
BuildRequires: make
-BuildRequires: systemd-devel
-PreReq: %fillup_prereq
+BuildRequires: systemd-rpm-macros
+Requires(pre): %fillup_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: x86_64
+%{?systemd_requires}
%description
The Docker toolset to pack, ship, store, and deliver content.
@@ -56,7 +56,6 @@
%prep
%setup -q -n distribution-%{version}
cp %{SOURCE3} .
-%patch0 -p1
%build
export DISTRIBUTION_PKG="github.com/docker/distribution"
@@ -65,22 +64,19 @@
export GOPATH="$(pwd)/.gopath:$(pwd)/Godeps/_workspace"
# patch version
export VERSION=v%{version}
-make binaries
+make %{?_smp_mflags} binaries
%install
-install -d %{buildroot}%{_bindir}
install -D -m755 bin/registry %{buildroot}/%{_bindir}/registry
install -D -m644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/registry/config.yml
-mkdir -p %{buildroot}/var/lib/docker-registry
+install -d %{buildroot}%{_localstatedir}/lib/docker-registry
#
# systemd service for registry
#
-install -Dd -m 0755 \
- %{buildroot}%{_sysconfdir}/init.d \
- %{buildroot}%{_sbindir}
-install -D -m 0644 %SOURCE2 %{buildroot}%{_unitdir}/registry.service
-ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcregistry
+install -Dd -m 0755 %{buildroot}%{_sbindir}
+install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/registry.service
+ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcregistry
%pre registry
%service_add_pre registry.service
@@ -98,11 +94,11 @@
%files registry
%defattr(-,root,root)
%{_bindir}/registry
-/usr/sbin/rcregistry
+%{_sbindir}/rcregistry
%{_unitdir}/registry.service
%config %{_sysconfdir}/registry
%config %{_sysconfdir}/registry/config.yml
%doc LICENSE README.md README-registry.SUSE
-/var/lib/docker-registry
+%{_localstatedir}/lib/docker-registry
%changelog