From c25b88cba9794c3c8e26df7a054a33daf5cd5848 Mon Sep 17 00:00:00 2001 From: sagitter Date: May 05 2019 17:33:18 +0000 Subject: Rebuild for libsbml-5.18.0 --- diff --git a/COPASI.spec b/COPASI.spec index 80ab596..cad56a3 100644 --- a/COPASI.spec +++ b/COPASI.spec @@ -1,7 +1,7 @@ -%global buildid 207 +%global buildid 207 %global octpkg COPASI -%global with_python3 1 +%global with_python 1 # Disable Java binding %global with_java 0 @@ -46,7 +46,7 @@ Obsoletes: COPASI-sharp < 4.24.197-7 Name: COPASI Summary: Biochemical network simulator Version: 4.25.%{buildid} -Release: 1%{?dist} +Release: 2%{?dist} ##Artistic 2.0 is main license ##GPLv2+ is related to a Mixed Source Licensing Scenario @@ -169,7 +169,7 @@ BuildArch: noarch %description data This package provides the COPASI data, example and license files. -%if 0%{?with_python3} +%if 0%{?with_python} %package -n python3-%{name} Summary: %{name} Python3 Bindings BuildRequires: python3-devel @@ -284,7 +284,7 @@ mkdir -p build && pushd build export CXXFLAGS="-I$PWD/../copasi/lapack -DF2C_INTEGER=int -DF2C_LOGICAL=long %{optflags} %{__global_ldflags}" %cmake -Wno-dev \ -DCOPASI_OVERRIDE_VERSION:STRING=%{version} \ -%if 0%{?with_python3} +%if 0%{?with_python} -DENABLE_PYTHON:BOOL=ON \ -DPYTHON_EXECUTABLE:FILEPATH=%{__python3} \ -DPYTHON_INCLUDE_DIR:PATH=%{_includedir}/python%{python3_version}m \ @@ -351,7 +351,7 @@ popd %make_install -C build # Remove directory of examples -%if 0%{?with_python3} +%if 0%{?with_python} rm -rf $RPM_BUILD_ROOT%{python3_sitearch}/copasi/examples %endif @@ -409,7 +409,7 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/*.appdata.x %{_datadir}/copasi/ %exclude %{_datadir}/copasi/doc/ -%if 0%{?with_python3} +%if 0%{?with_python} %files -n python3-%{octpkg} %license copasi/ArtisticLicense.txt %{python3_sitearch}/copasi/ @@ -454,6 +454,9 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/*.appdata.x %{_datadir}/copasi/doc/ %changelog +* Sun May 05 2019 Antonio Trande - 4.25.207-2 +- Rebuild for libsbml-5.18.0 + * Sat Mar 16 2019 Antonio Trande - 4.25.207-1 - Release 4.25 build-207 - Use openblas always