Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-03-05 12:23:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and      /work/SRC/openSUSE:Factory/.rmt-server.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rmt-server"

Tue Mar  5 12:23:13 2019 rev:18 rq:681402 version:1.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes    2019-01-21 
10:58:13.891440756 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.28833/rmt-server.changes 
2019-03-05 12:23:19.828877868 +0100
@@ -1,0 +2,39 @@
+Thu Feb 21 13:48:54 UTC 2019 - ikapelyuk...@suse.com
+
+- Version 1.2.2
+- Set CURLOPT_LOW_SPEED_LIMIT to prevent downloads from getting stuck 
(bsc#1107806)
+- Removed use-ruby-2.5-in-rails.patch, use-ruby-2.5-in-rmt-data-import.patch 
and
+   use-ruby-2.5-in-rmt-cli.patch as they are no longer needed.
+
+-------------------------------------------------------------------
+Mon Feb 18 11:30:19 UTC 2019 - sko...@suse.com
+
+- Version 1.2.1
+- Truncate the RMT lockfile when writing a new PID (bsc#1125770)
+- Zypper authentication plugin (fate#326629)
+- Fix nested serializers in system/activations
+- Fix HTTP vhost config
+
+-------------------------------------------------------------------
+Wed Jan 30 10:40:38 UTC 2019 - ikapelyuk...@suse.com
+
+- Version 1.2.0
+- Legacy zypper XML endpoint for backward compatibility
+  with SMT (fate#326629)
+- Instance verification plugin in rmt-server-pubcloud (fate#326629)
+
+-------------------------------------------------------------------
+Tue Jan 22 11:38:24 UTC 2019 - fschnizl...@suse.com
+
+- Version 1.1.3
+- Fix missing trailing slashes on custom repository import from SMT
+  (bsc#1118745)
+
+
+-------------------------------------------------------------------
+Fri Jan 18 11:38:24 UTC 2019 - sko...@suse.com
+
+- Version 1.1.2
+- Fix product version display (bsc#1117722)
+
+-------------------------------------------------------------------

Old:
----
  rmt-server-1.1.1.tar.bz2
  use-ruby-2.5-in-rails.patch
  use-ruby-2.5-in-rmt-cli.patch
  use-ruby-2.5-in-rmt-data-import.patch

New:
----
  http-certs.conf
  rmt-server-1.2.2.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rmt-server.spec ++++++
--- /var/tmp/diff_new_pack.aUmjio/_old  2019-03-05 12:23:20.960877523 +0100
+++ /var/tmp/diff_new_pack.aUmjio/_new  2019-03-05 12:23:20.964877522 +0100
@@ -24,14 +24,17 @@
 %define rmt_group   nginx
 %if 0%{?suse_version} == 1315
 %define is_sle_12_family 1
+%define ruby_version ruby2.5
+%else
+%define ruby_version %{rb_default_ruby_suffix}
 %endif
 Name:           rmt-server
-Version:        1.1.1
+Version:        1.2.2
 Release:        0
 Summary:        Repository mirroring tool and registration proxy for SCC
 License:        GPL-2.0-or-later
 Group:          Productivity/Networking/Web/Proxy
-URL:            https://software.opensuse.org/package/rmt-server
+Url:            https://software.opensuse.org/package/rmt-server
 Source0:        %{name}-%{version}.tar.bz2
 Source1:        rmt-server-rpmlintrc
 Source2:        rmt.conf
@@ -51,9 +54,10 @@
 Source16:       auth-location.conf
 Source17:       rmt-cli_bash-completion.sh
 Source18:       rmt-server.reg
-Patch0:         use-ruby-2.5-in-rmt-cli.patch
-Patch1:         use-ruby-2.5-in-rails.patch
-Patch2:         use-ruby-2.5-in-rmt-data-import.patch
+Source19:       http-certs.conf
+BuildRequires:  %{ruby_version}
+BuildRequires:  %{ruby_version}-devel
+BuildRequires:  %{rubygem bundler}
 BuildRequires:  fdupes
 BuildRequires:  gcc
 BuildRequires:  libcurl-devel
@@ -61,14 +65,11 @@
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
-BuildRequires:  ruby2.5
-BuildRequires:  ruby2.5-devel
-BuildRequires:  ruby2.5-rubygem-bundler
 BuildRequires:  systemd
 Requires:       mariadb
 Requires:       nginx
-Requires(post): ruby2.5
-Requires(post): ruby2.5-rubygem-bundler
+Requires(post): %{ruby_version}
+Requires(post): %{rubygem bundler}
 Requires(post): shadow
 Requires(post): timezone
 Requires(post): util-linux
@@ -103,13 +104,12 @@
 cp -p %{SOURCE2} .
 
 %setup -q
-
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+sed -i '1 s|/usr/bin/env\ ruby|/usr/bin/ruby.%{ruby_version}|' bin/rails
+sed -i '1 s|/usr/bin/env\ ruby|/usr/bin/ruby.%{ruby_version}|' bin/rmt-cli
+sed -i '1 s|/usr/bin/env\ ruby|/usr/bin/ruby.%{ruby_version}|' 
bin/rmt-data-import
 
 %build
-bundle.ruby2.5 install %{?jobs:--jobs %{jobs}} --without test development 
--deployment --standalone
+bundle.%{ruby_version} install %{?jobs:--jobs %{jobs}} --without test 
development --deployment --standalone
 
 %install
 mkdir -p %{buildroot}%{data_dir}
@@ -165,6 +165,7 @@
 install -D -m 644 %{SOURCE14} 
%{buildroot}%{_sysconfdir}/nginx/vhosts.d/rmt-server-https.conf
 install -D -m 644 %{SOURCE15} 
%{buildroot}%{_sysconfdir}/nginx/rmt-auth.d/auth-handler.conf
 install -D -m 644 %{SOURCE16} 
%{buildroot}%{_sysconfdir}/nginx/rmt-auth.d/auth-location.conf
+install -D -m 644 package/http-certs.conf 
%{buildroot}%{_sysconfdir}/nginx/rmt-pubcloud.d/http-certs.conf
 
 sed -i -e '/BUNDLE_PATH: .*/cBUNDLE_PATH: 
"\/usr\/lib64\/rmt\/vendor\/bundle\/"' \
     -e 's/^BUNDLE_JOBS: .*/BUNDLE_JOBS: "1"/' \
@@ -181,8 +182,8 @@
 
 # cleanup of /usr/bin/env commands
 grep -rl '\/usr\/bin\/env ruby' %{buildroot}%{lib_dir}/vendor/bundle/ruby | 
xargs \
-    sed -i -e 's@\/usr\/bin\/env ruby.ruby2\.5@\/usr\/bin\/ruby\.ruby2\.5@g' \
-    -e 's@\/usr\/bin\/env ruby@\/usr\/bin\/ruby\.ruby2\.5@g'
+    sed -i -e 's@\/usr\/bin\/env 
ruby.%{ruby_version}@\/usr\/bin\/ruby\.%{ruby_version}@g' \
+    -e 's@\/usr\/bin\/env ruby@\/usr\/bin\/ruby\.%{ruby_version}@g'
 grep -rl '\/usr\/bin\/env bash' %{buildroot}%{lib_dir}/vendor/bundle/ruby | 
xargs \
     sed -i -e 's@\/usr\/bin\/env bash@\/bin\/bash@g' \
 
@@ -247,10 +248,12 @@
 %files pubcloud
 %attr(-,%{rmt_user},%{rmt_group}) %{app_dir}/engines/
 %dir %{_sysconfdir}/nginx/rmt-auth.d/
+%dir %{_sysconfdir}/nginx/rmt-pubcloud.d/
 %dir %attr(-,%{rmt_user},%{rmt_group}) %{data_dir}/regsharing
 %exclude %{app_dir}/engines/registration_sharing/package/
 %config(noreplace) %{_sysconfdir}/nginx/rmt-auth.d/auth-handler.conf
 %config(noreplace) %{_sysconfdir}/nginx/rmt-auth.d/auth-location.conf
+%config(noreplace) %{_sysconfdir}/nginx/rmt-pubcloud.d/http-certs.conf
 
 %{_sbindir}/rcrmt-server-regsharing
 %{_unitdir}/rmt-server-regsharing.service
@@ -302,4 +305,7 @@
 %postun pubcloud
 %service_del_postun rmt-server-regsharing.service
 
+%posttrans pubcloud
+/usr/bin/systemctl try-restart rmt-server.service
+
 %changelog

++++++ auth-location.conf ++++++
--- /var/tmp/diff_new_pack.aUmjio/_old  2019-03-05 12:23:21.240877438 +0100
+++ /var/tmp/diff_new_pack.aUmjio/_new  2019-03-05 12:23:21.252877434 +0100
@@ -4,4 +4,5 @@
     proxy_pass_request_body off;
     proxy_set_header        Content-Length "";
     proxy_set_header        X-Original-URI $request_uri;
+    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
 }

++++++ http-certs.conf ++++++
# Aliases to RMT CA certificate
# rmt.crt is used by cloud-regionsrv-client >= 8.1.1
location /rmt.crt {
    alias /etc/rmt/ssl/rmt-ca.crt;
}

# smt.crt is used by cloud-regionsrv-client < 8.1.1
location /smt.crt {
    alias /etc/rmt/ssl/rmt-ca.crt;
}
++++++ nginx-http.conf ++++++
--- /var/tmp/diff_new_pack.aUmjio/_old  2019-03-05 12:23:21.604877327 +0100
+++ /var/tmp/diff_new_pack.aUmjio/_new  2019-03-05 12:23:21.624877320 +0100
@@ -5,11 +5,20 @@
     error_log   /var/log/nginx/rmt_http_error.log;
     root        /usr/share/rmt/public;
 
+    include /etc/nginx/rmt-auth*.d/auth-location*.conf;
+
     location / {
         autoindex off;
     }
 
     location /repo {
         autoindex on;
+        include /etc/nginx/rmt-auth*.d/auth-handler*.conf;
+    }
+
+    location = /repo/repoindex.xml {
+        return 301 https://$host$request_uri;
     }
+
+    include /etc/nginx/rmt-pubcloud*.d/http-certs*.conf;
 }

++++++ nginx-https.conf ++++++
--- /var/tmp/diff_new_pack.aUmjio/_old  2019-03-05 12:23:21.792877269 +0100
+++ /var/tmp/diff_new_pack.aUmjio/_new  2019-03-05 12:23:21.804877266 +0100
@@ -26,6 +26,10 @@
         include /etc/nginx/rmt-auth*.d/auth-handler*.conf;
     }
 
+    location = /repo/repoindex.xml {
+        try_files $uri @rmt_app;
+    }
+
     location @rmt_app {
         proxy_pass          http://rmt;
         proxy_redirect      off;

++++++ rmt-cli.8.gz ++++++
--- /var/tmp/diff_new_pack.aUmjio/_old  2019-03-05 12:23:22.000877206 +0100
+++ /var/tmp/diff_new_pack.aUmjio/_new  2019-03-05 12:23:22.036877195 +0100
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "RMT\-CLI" "8" "January 2019" "" "RMT"
+.TH "RMT\-CLI" "8" "February 2019" "" "RMT"
 .
 .SH "NAME"
 \fBrmt\-cli\fR \- control and configure your RMT server

++++++ rmt-server-1.1.1.tar.bz2 -> rmt-server-1.2.2.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-1.1.1.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new.28833/rmt-server-1.2.2.tar.bz2 
differ: char 11, line 1


Reply via email to