Accepting request 614517 from server:http
OBS-URL: https://build.opensuse.org/request/show/614517 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nginx?expand=0&rev=25
This commit is contained in:
commit
c4a506798f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 25 15:12:27 UTC 2018 - mrostecki@suse.com
|
||||||
|
|
||||||
|
- Add nginx-source package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 15 16:51:56 UTC 2018 - crrodriguez@opensuse.org
|
Tue May 15 16:51:56 UTC 2018 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
# user nginx needs write permissions to /var/log/nginx so nginx is able to reopen the logs
|
# 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")
|
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")
|
||||||
|
|
||||||
|
16
nginx.spec
16
nginx.spec
@ -84,6 +84,8 @@ Release: 0
|
|||||||
%define nginx_rtmp_version 1.2.1
|
%define nginx_rtmp_version 1.2.1
|
||||||
%define nginx_rtmp_module_path nginx-rtmp-module-%{nginx_rtmp_version}
|
%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
|
Summary: A HTTP server and IMAP/POP3 proxy server
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Productivity/Networking/Web/Proxy
|
Group: Productivity/Networking/Web/Proxy
|
||||||
@ -162,6 +164,14 @@ It has been running on many heavily loaded Russian sites for more than two years
|
|||||||
|
|
||||||
This package holds the VIM support for nginx config files.
|
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
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version} -a 4 -a 5 -a 6 -a 7
|
%setup -q -n %{pkg_name}-%{version} -a 4 -a 5 -a 6 -a 7
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
@ -294,6 +304,9 @@ chmod a+rx contrib/geo2nginx.pl
|
|||||||
cp -av contrib/geo2nginx.pl contrib/unicode2nginx/ \
|
cp -av contrib/geo2nginx.pl contrib/unicode2nginx/ \
|
||||||
%{buildroot}%{_datadir}/nginx/
|
%{buildroot}%{_datadir}/nginx/
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{src_install_dir}
|
||||||
|
tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
|
||||||
|
|
||||||
copydocs() {
|
copydocs() {
|
||||||
subdir=$1;
|
subdir=$1;
|
||||||
shift;
|
shift;
|
||||||
@ -412,4 +425,7 @@ copydocs %{nginx_rtmp_module_path} \
|
|||||||
%{vim_data_dir}/indent/nginx.vim
|
%{vim_data_dir}/indent/nginx.vim
|
||||||
%{vim_data_dir}/syntax/nginx.vim
|
%{vim_data_dir}/syntax/nginx.vim
|
||||||
|
|
||||||
|
%files -n nginx-source
|
||||||
|
%{src_install_dir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user