Skip to content
Snippets Groups Projects
Verified Commit dcf95598 authored by Duncan Macleod's avatar Duncan Macleod
Browse files

gwdatafind.spec: fixed bugs in spec file

need to _install_ python2 last to ensure that /usr/bin/gw_data_find comes from that
parent b4cb3fb7
No related branches found
No related tags found
1 merge request!21Fixed bugs in spec file
%define name gwdatafind
%define version 1.0.4
%define release 1
%define release 2
Name: %{name}
Version: %{version}
......@@ -78,8 +78,9 @@ Python %{python3_version} interface libraries.
%{__python3} -m pytest --pyargs %{name}
%install
%py2_install
%py3_install
# install py2 last so that /usr/bin/gw_data_find comes from that
%py2_install
# make man page for gw_data_find
mkdir -vp %{buildroot}%{_mandir}/man1
env PYTHONPATH="%{buildroot}%{python2_sitelib}" \
......@@ -108,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT
# -- changelog
%changelog
* Wed Jun 12 2019 Duncan Macleod <duncan.macleod@ligo.org> 1.0.4-2
- fixed incorrect installation of /usr/bin/gw_data_find
* Fri Jan 11 2019 Duncan Macleod <duncan.macleod@ligo.org> 1.0.4-1
- include command-line client, requires matching glue release
......
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