Commit 5ab1dc40 authored by Duncan Macleod's avatar Duncan Macleod

laldetchar: updated python package name in spec file

parent 7e58b388
......@@ -17,6 +17,7 @@ Group: LAL
Source: %{name}-%{version}%{?nightly:-%{nightly}}.tar.xz
URL: http://wiki.ligo.org/DASWG/LALSuite
Packager: Adam Mercer <adam.mercer@ligo.org>
BuildRequires: python2-rpm-macros
BuildRequires: glib2-devel >= 2.14
BuildRequires: gsl-devel
BuildRequires: libmetaio-devel
......@@ -67,9 +68,12 @@ The LSC Algorithm DetChar Library for gravitational wave data analysis. This
package contains files needed build applications that use the LAL DetChar
library.
%package python
Summary: Python Bindings for LALDetChar
%package -n python2-%{name}
Summary: Python %{python2_version} Bindings for LALDetChar
Group: LAL
Provides: %{name}-python
Obsoletes: %{name}-python < 0.3.5-2
Conflicts: %{name}-python
Requires: %{name} = %{version}
Requires: numpy
Requires: python
......@@ -77,9 +81,9 @@ Requires: lal-python >= @MIN_LAL_VERSION@
Requires: lalmetaio-python >= @MIN_LALMETAIO_VERSION@
Requires: lalsimulation-python >= @MIN_LALSIMULATION_VERSION@
Requires: lalburst-python >= @MIN_LALBURST_VERSION@
%description python
%description -n python2-%{name}
The LSC Algorithm Library for gravitational wave data analysis.
This package provides the Python bindings for LALDetChar.
This package provides the Python %{python2_version} bindings for LALDetChar.
%package octave
Summary: Octave Bindings for LALDetChar
......@@ -131,10 +135,10 @@ rm -Rf ${RPM_BUILD_DIR}/%{name}-%{version}%{?nightly:-%{nightly}}
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%files python
%files -n python2-%{name}
%defattr(-,root,root)
%{_bindir}/laldetchar-*
%{_libdir}/python*
%{python2_sitearch}/*
%files octave
%defattr(-,root,root)
......
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