Commit 08e05c80 authored by Adam Mercer's avatar Adam Mercer 💬

fx ligo-gracedb-2.2.0-2

parent d5b0626e
......@@ -8,7 +8,6 @@ Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
Source0: %{name}-%{unmangled_version}.tar.gz
Patch0: spec_fix.patch
License: GPLv2+
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
......@@ -68,7 +67,6 @@ client tool is provided to submit a candidate event to the database.
%prep
%setup -n %{name}-%{unmangled_version}
%patch0 -p1
%build
# build python3 first
......@@ -86,10 +84,9 @@ rm -rf $RPM_BUILD_ROOT
%files -n python2-%{name}
%license COPYING
%{_bindir}/gracedb
%{_bindir}/gracedb_legacy
%{python2_sitelib}/*
%exclude %{python_sitelib}/ligo/gracedb/*pyo
%files -n python%{python3_pkgversion}-%{name}
%license COPYING
%{python3_sitelib}/*
%exclude %{python3_sitelib}/ligo/gracedb/test/*pyo
diff --git a/ligo-gracedb.spec b/ligo-gracedb.spec
index 7fe1b6a..3ae2a5a 100644
--- a/ligo-gracedb.spec
+++ b/ligo-gracedb.spec
@@ -84,10 +84,9 @@ rm -rf $RPM_BUILD_ROOT
%files -n python2-%{name}
%license COPYING
%{_bindir}/gracedb
+%{_bindir}/gracedb_legacy
%{python2_sitelib}/*
-%exclude %{python_sitelib}/ligo/gracedb/*pyo
%files -n python%{python3_pkgversion}-%{name}
%license COPYING
%{python3_sitelib}/*
-%exclude %{python3_sitelib}/ligo/gracedb/test/*pyo
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