Commit f5b32e4d authored by Patrick Godwin's avatar Patrick Godwin
Browse files

try splitting up binary in spec file, add install of binary rpm in gitlab-ci.yml

parent 09ac081b
Pipeline #91565 passed with stages
in 7 minutes and 37 seconds
......@@ -140,6 +140,7 @@ test:el7-python2:
- yum ${YUM_OPTS} install
python-pytest
python-pytest-cov
- yum ${YUM_OPTS} --nogpgcheck localinstall dist/el7/ligo-scald-*.rpm
- yum ${YUM_OPTS} --nogpgcheck localinstall dist/el7/python2-ligo-scald-*.rpm
- pip install kafka-python
after_script:
......
......@@ -35,6 +35,14 @@ BuildRequires: python%{python3_pkgversion}-setuptools
ligo-scald is a gravitational-wave monitoring and dynamic data visualization
tool.
# -- ligo-scald
Requires: python2-ligo-scald
%description
ligo-scald is a gravitational-wave monitoring and dynamic data visualization
tool. This package provides the `scald` command-line interface.
# -- python2-ligo-scald
%package -n python2-%{name}
......@@ -53,7 +61,7 @@ Requires: python2-pyyaml
%description -n python2-%{name}
ligo-scald is a gravitational-wave monitoring and dynamic data visualization
tool.
tool. This package provides the Python %{python2_version} library.
# -- python3-ligo-scald
......@@ -73,7 +81,7 @@ Requires: python%{python3_pkgversion}-urllib3
%description -n python%{python3_pkgversion}-%{name}
ligo-scald is a gravitational-wave monitoring and dynamic data visualization
tool.
tool. This package provides the Python %{python3_version} library.
# -- build steps
......@@ -92,9 +100,12 @@ tool.
%clean
rm -rf $RPM_BUILD_ROOT
%files -n python2-%{name}
%files
%license LICENSE
%{_bindir}/scald
%files -n python2-%{name}
%license LICENSE
%{python2_sitelib}/*
%files -n python%{python3_pkgversion}-%{name}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment