Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
5aa7dc74
Commit
5aa7dc74
authored
Jan 16, 2019
by
Maria Arsuaga Rios
Browse files
FTS-1267
: Package firewalld
parent
564b371f
Pipeline
#662686
passed with stage
in 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
packaging/rpm/fts-rest.spec
View file @
5aa7dc74
...
...
@@ -29,9 +29,7 @@ BuildRequires: python-nose1.1
%if %{?rhel}%{!?rhel:0} >= 7
BuildRequires: python-nose
%endif
%if %{?rhel}%{!?rhel:0} >= 7
BuildRequires: firewalld-filesystem
%endif
BuildRequires: python-dateutil
BuildRequires: python-pylons
BuildRequires: scipy
...
...
@@ -71,6 +69,15 @@ Requires: gfal2-python%{?_isa}
Requires: python-requests
%description
This package provides the FTS3 REST interface
%package firewalld
Summary: FTS3 Rest Firewalld
Group: Applications/Internet
%if %{?rhel}%{!?rhel:0} >= 7
Requires: firewalld-filesystem
%endif
%description firewalld
FTS3 Rest firewalld.
%package cloud-storage
Summary: FTS3 Rest Cloud Storage extensions
...
...
@@ -143,6 +150,8 @@ if [ "$1" -eq "2" ]; then # Upgrade
chown fts3.fts3 /var/log/fts3rest
chown fts3.fts3 /var/log/fts3rest/fts3rest.log || true
fi
%post firewalld
%if %{?rhel}%{!?rhel:0} >= 7
%firewalld_reload
%endif
...
...
@@ -278,9 +287,11 @@ EOF
%doc docs/install.md
%doc docs/api.md
%files firewalld
%if %{?rhel}%{!?rhel:0} >= 7
%{_prefix}/lib/firewalld/services/fts3rest.xml
%config(noreplace)
%{_prefix}/lib/firewalld/services/fts3rest.xml
%endif
%files cloud-storage
%{python_sitelib}/fts3rest/config/routing/cstorage.py*
%{python_sitelib}/fts3rest/controllers/cloudStorage.py*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment