There will be maintenance performed on git.ligo.org, chat.ligo.org, containers.lig.org, and docs.ligo.org starting at 9am PDT on Tuesday 18th August 2020. There will be an extremely small period of downtime at the start of the maintenance window as various services are restarted. Please address any comments, questions, or concerns to computing-help@igwn.org.

Commit a396b759 authored by Duncan Macleod's avatar Duncan Macleod Committed by Tanner Prestegard

ligo-gracedb.spec: use python-srpm-macros

easy to resolve dependencies when building a src.rpm
parent d2662495
......@@ -15,12 +15,18 @@ Vendor: Tanner Prestegard <tanner.prestegard@ligo.org>, Alexander Pace <alexa
Url: http://www.lsc-group.phys.uwm.edu/daswg/gracedb.html
BuildArch: noarch
BuildRequires: python
BuildRequires: python%{python3_version_nodots}
# srpm dependencies:
BuildRequires: python-srpm-macros
# build macro dependencies:
BuildRequires: python2-rpm-macros
BuildRequires: python3-rpm-macros
# build dependencies:
BuildRequires: python
BuildRequires: python%{python3_pkgversion}
BuildRequires: python-setuptools
BuildRequires: python%{python3_version_nodots}-setuptools
BuildRequires: python%{python3_pkgversion}-setuptools
%description
The gravitational-wave candidate event database (GraceDB) is a prototype
......@@ -49,16 +55,16 @@ client tool is provided to submit a candidate event to the database.
# -- python-3X-ligo-gracedb
%package -n python%{python3_version_nodots}-%{name}
%package -n python%{python3_pkgversion}-%{name}
Summary: %{summary}
Requires: python%{python3_version_nodots}-six
Requires: python%{python3_version_nodots}-ligo-common
Requires: python%{python3_version_nodots}-future
Requires: python%{python3_version_nodots}-cryptography
Requires: python%{python3_pkgversion}-six
Requires: python%{python3_pkgversion}-ligo-common
Requires: python%{python3_pkgversion}-future
Requires: python%{python3_pkgversion}-cryptography
%{?python_provide:%python_provide python%{python3_version_nodots}-%{name}}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
%description -n python%{python3_version_nodots}-%{name}
%description -n python%{python3_pkgversion}-%{name}
The gravitational-wave candidate event database (GraceDB) is a prototype
system to organize candidate events from gravitational-wave searches and
to provide an environment to record information about follow-ups. A simple
......@@ -88,7 +94,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/gracedb_legacy
%{python2_sitelib}/*
%files -n python%{python3_version_nodots}-%{name}
%files -n python%{python3_pkgversion}-%{name}
%license LICENSE
%{python3_sitelib}/*
......
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