Hello community, here is the log from the commit of package nginx for openSUSE:Factory checked in at 2018-06-08 23:16:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nginx (Old) and /work/SRC/openSUSE:Factory/.nginx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nginx" Fri Jun 8 23:16:06 2018 rev:25 rq:614517 version:1.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nginx/nginx.changes 2018-05-29 16:52:22.119611352 +0200 +++ /work/SRC/openSUSE:Factory/.nginx.new/nginx.changes 2018-06-08 23:16:10.322532951 +0200 @@ -1,0 +2,5 @@ +Fri May 25 15:12:27 UTC 2018 - mroste...@suse.com + +- Add nginx-source package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nginx.spec ++++++ --- /var/tmp/diff_new_pack.gNyLDl/_old 2018-06-08 23:16:12.046470686 +0200 +++ /var/tmp/diff_new_pack.gNyLDl/_new 2018-06-08 23:16:12.050470542 +0200 @@ -84,6 +84,8 @@ %define nginx_rtmp_version 1.2.1 %define nginx_rtmp_module_path nginx-rtmp-module-%{nginx_rtmp_version} +%define src_install_dir /usr/src/%{name} + Summary: A HTTP server and IMAP/POP3 proxy server License: BSD-2-Clause Group: Productivity/Networking/Web/Proxy @@ -162,6 +164,14 @@ This package holds the VIM support for nginx config files. +%package -n nginx-source +Summary: The nginx source +Group: Development/Sources +BuildArch: noarch + +%description -n nginx-source +The source of nginx [engine x] HTTP server and IMAP/POP3 proxy server. + %prep %setup -q -n %{pkg_name}-%{version} -a 4 -a 5 -a 6 -a 7 %patch0 -p1 @@ -294,6 +304,9 @@ cp -av contrib/geo2nginx.pl contrib/unicode2nginx/ \ %{buildroot}%{_datadir}/nginx/ +mkdir -p %{buildroot}%{src_install_dir} +tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir} + copydocs() { subdir=$1; shift; @@ -412,4 +425,7 @@ %{vim_data_dir}/indent/nginx.vim %{vim_data_dir}/syntax/nginx.vim +%files -n nginx-source +%{src_install_dir} + %changelog ++++++ nginx.rpmlintrc ++++++ --- /var/tmp/diff_new_pack.gNyLDl/_old 2018-06-08 23:16:12.170466208 +0200 +++ /var/tmp/diff_new_pack.gNyLDl/_new 2018-06-08 23:16:12.170466208 +0200 @@ -1,3 +1,5 @@ # user nginx needs write permissions to /var/log/nginx so nginx is able to reopen the logs addFilter("nginx.*: W: suse-logrotate-user-writable-log-dir /var/log/nginx nginx:nginx 0750") +# nginx sources need to be installed in /usr/src/nginx +addFilter("nginx.* W: suse-filelist-forbidden-fhs23 /usr/src/nginx")