diff --git a/libsbml.spec b/libsbml.spec index bcfe5e4..ffe45f5 100644 --- a/libsbml.spec +++ b/libsbml.spec @@ -47,7 +47,7 @@ Name: libsbml Version: 5.12.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Systems Biology Markup Language library License: LGPLv2+ @@ -93,14 +93,14 @@ This package contains libraries and header files for developing applications that use libSBML. %if %{with python2} -%package -n python-%{name} +%package -n python2-%{name} BuildRequires: python2-devel Summary: Python 2 bindings for libSBML Requires: %{name}%{?_isa} = %{version}-%{release} %{?python_provide:%python_provide python2-%{name}} -%description -n python-%{name} +%description -n python2-%{name} This package contains %{summary}. This is the version for Python 2. @@ -305,9 +305,6 @@ export CXXFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS -Wl,-z,now" %if %{with octave} -DWITH_OCTAVE:BOOL=ON \ %endif -%if %{with octave} - -DWITH_OCTAVE:BOOL=ON \ -%endif %if %{with r} -DWITH_R:BOOL=ON \ -DR_INCLUDE_DIRS:PATH=%{_includedir}/R \ @@ -416,7 +413,7 @@ ctest --force-new-ctest-process -V -E "test_ruby_binding" %if %{with python2} %license COPYING.txt LICENSE.txt -%files -n python-%{name} +%files -n python2-%{name} %{python2_sitearch}/%{name}.pth %{python2_sitearch}/%{name} %endif @@ -478,8 +475,11 @@ ctest --force-new-ctest-process -V -E "test_ruby_binding" %endif %changelog +* Thu Jan 21 2016 Antonio Trande - 5.12.0-6 +- Python2 sub-package renamed + * Thu Jan 21 2016 Antonio Trande - 5.12.0-5 -- Defined rubypick as BuildRequires for ruby-libsbml +- Defined rubypick as BuildRequires for ruby-SBML - Defined Ruby paths * Tue Jan 12 2016 Vít Ondruch - 5.12.0-4