Skip to content
Snippets Groups Projects
Commit 52339e6c authored by Duncan Meacher's avatar Duncan Meacher
Browse files

Merge branch 'gunicorn-conf-rpm' into 'master'

Fix RPM packaging for gunicorn service

Closes #11 and #10

See merge request !48
parents 2e86bce8 548d6c07
No related branches found
No related tags found
1 merge request!48Fix RPM packaging for gunicorn service
Pipeline #385374 passed with warnings
......@@ -60,6 +60,7 @@ Python %{python3_version} server app.
%package -n %{srcname}
Summary: GWDataFind Server Service
Requires: python%{python3_pkgversion}-gunicorn
Requires: python%{python3_pkgversion}-%{srcname} = %{version}-%{release}
%description -n %{srcname}
The GWDataFind service allows users to query for the location of
......@@ -82,6 +83,7 @@ configuration for a GWDataFind Service instance.
# web server config examples
%__mkdir -pv %{buildroot}%{_datadir}/%{srcname}
%__install -m 644 -p -v config/gunicorn.conf %{buildroot}%{_datadir}/%{srcname}/
%__install -m 644 -p -v config/gunicorn.conf.py %{buildroot}%{_datadir}/%{srcname}/
%__install -m 644 -p -v config/wsgi.conf %{buildroot}%{_datadir}/%{srcname}/
# service config file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment