From c2b4b9fa2f4fcb06b526d6430ac572ef535f40d5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 06 2015 00:38:02 +0000 Subject: import docker-registry-0.9.1-7.el7 --- diff --git a/SOURCES/docker-registry.service b/SOURCES/docker-registry.service index 394bc0f..ddafbfc 100644 --- a/SOURCES/docker-registry.service +++ b/SOURCES/docker-registry.service @@ -6,7 +6,7 @@ Type=simple Environment=DOCKER_REGISTRY_CONFIG=/etc/docker-registry.yml EnvironmentFile=-/etc/sysconfig/docker-registry WorkingDirectory=#WORKDIR# -ExecStart=/usr/bin/gunicorn --access-logfile - --debug --max-requests 100 --graceful-timeout 3600 -t 3600 -k gevent -b ${REGISTRY_ADDRESS}:${REGISTRY_PORT} -w $GUNICORN_WORKERS docker_registry.wsgi:application +ExecStart=/usr/bin/gunicorn --access-logfile - --max-requests 100 --graceful-timeout 3600 -t 3600 -k gevent -b ${REGISTRY_ADDRESS}:${REGISTRY_PORT} -w $GUNICORN_WORKERS docker_registry.wsgi:application Restart=on-failure [Install] diff --git a/SPECS/docker-registry.spec b/SPECS/docker-registry.spec index 8fbdce3..cb57148 100644 --- a/SPECS/docker-registry.spec +++ b/SPECS/docker-registry.spec @@ -1,40 +1,48 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -Summary: Registry server for Docker -Name: docker-registry -Version: 0.9.1 -Release: 4%{?dist} -License: ASL 2.0 -URL: https://github.com/docker/%{name} -Source: https://github.com/docker/%{name}/archive/%{version}.tar.gz -Source1: %{name}.service -Source2: %{name}.sysconfig -Patch0: 0001-remove-python-redis-requirement.patch - -BuildRequires: python2-devel -BuildRequires: pkgconfig(systemd) - -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - -Requires: m2crypto -Requires: PyYAML -Requires: python-requests -Requires: python-gunicorn -Requires: python-gevent -Requires: python-blinker -Requires: python-backports >= 1.0-8 -Requires: python-backports-lzma >= 0.0.2-8 -Requires: python-flask +%global with_python3 0 +%global debug_package %{nil} + +%if 0%{?rhel} && 0%{?rhel} <= 6 +%{!?__python2: %global __python2 %{__python}} +%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif + +Name: docker-registry +Version: 0.9.1 +Release: 7%{?dist} +Summary: Registry server for Docker +License: ASL 2.0 +URL: https://github.com/docker/%{name} +Source0: https://github.com/docker/%{name}/archive/%{version}.tar.gz +Source1: %{name}.service +Source2: %{name}.sysconfig +Patch0: 0001-remove-python-redis-requirement.patch +BuildRequires: python2-devel +BuildRequires: pkgconfig(systemd) +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd +Requires: m2crypto +Requires: PyYAML +Requires: python-requests +Requires: python-gunicorn +Requires: python-gevent +Requires: python-blinker +Requires: python-backports >= 1.0-8 +Requires: python-backports-lzma >= 0.0.2-8 +Requires: python-flask +Requires: python-sqlalchemy >= 0.9.8-1 %description Registry server for Docker (hosting/delivering of repositories and images). %prep -%setup -qn docker-registry-%{version} +%setup -qn %{name}-%{version} %patch0 -p1 +%build # Remove the golang implementation # It's not the main one (yet?) rm -rf contrib/golang_impl @@ -79,6 +87,16 @@ sed -i 's/tmp\/registry/var\/lib\/docker-registry/g' \ %{_unitdir}/%{name}.service %changelog +* Wed Jul 08 2015 Lokesh Mandvekar - 0.9.1-7 +- disable empty debuginfo package + +* Wed Jul 08 2015 Lokesh Mandvekar - 0.9.1-6 +- remove python-sqlalchemy subpackage, use it from extras repo + +* Fri May 01 2015 Lokesh Mandvekar - 0.9.1-5 +- Resolves: rhbz#1217628 +- include python-sqlalchemy as a subpackage + * Mon Mar 09 2015 Lokesh Mandvekar - 0.9.1-4 - Resolves: rhbz#1171295 - update to 0.9.1 - Resolves: rhbz#1187101 - set storage path to /var/lib/docker-registry