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
1ba3aff3
Commit
1ba3aff3
authored
Aug 14, 2013
by
ayllon
Browse files
Run unit and functional tests when packaging
parent
859ddb15
Changes
1
Hide whitespace changes
Inline
Side-by-side
dist/fts-rest.spec
View file @
1ba3aff3
...
...
@@ -11,7 +11,7 @@
%{!?python26_sitelib: %global python26_sitelib %(%{__python26} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
%{!?python26_sitearch: %global python26_sitearch %(%{__python26} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))")}
# Update rpm byte compilation script so that we get the modules compiled by the
# correct inerpreter
# correct in
t
erpreter
%global __os_install_post %__multiple_python_os_install_post
%endif
...
...
@@ -27,18 +27,24 @@ Source0: %{name}-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake
BuildRequires: m2crypto
BuildRequires: python-fts
BuildRequires: python-jsonschema
BuildRequires: python-nose
BuildRequires: python-pylons
%if 0%{?with_python26}
BuildRequires: python26-devel
%else
BuildRequires: python-devel
%endif
Requires: gridsite%{?_isa} >= 1.7
Requires: httpd%{?_isa}
Requires: mod_wsgi
Requires: python-fts
Requires: python-paste-deploy
Requires: python-pylons
Requires: gridsite%{?_isa} >= 1.7
Requires: httpd%{?_isa}
Requires: m2crypto
Requires: mod_wsgi
Requires: python-fts
Requires: python-paste-deploy
Requires: python-pylons
%description
This package provides the FTS3 REST interface
...
...
@@ -81,6 +87,11 @@ fi
%cmake . -DCMAKE_INSTALL_PREFIX=/
make %{?_smp_mflags}
%check
pushd src/fts3rest
nosetests -x
popd
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
...
...
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