Upstream update

This commit is contained in:
Denis Arnaud 2020-05-31 20:56:00 +02:00
parent 4a85c04b4d
commit bf30b5cf7d
2 changed files with 10 additions and 17 deletions

View File

@ -6,8 +6,8 @@
#
Name: rmol
Version: 1.00.4
Release: 3%{?dist}
Version: 1.00.5
Release: 1%{?dist}
Summary: C++ library of Revenue Management and Optimisation classes and functions
@ -21,15 +21,13 @@ ExcludeArch: armv7hl
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: python3-devel
BuildRequires: boost-devel
BuildRequires: boost-python3-devel
BuildRequires: readline-devel
BuildRequires: soci-mysql-devel
BuildRequires: soci-sqlite3-devel
BuildRequires: stdair-devel
BuildRequires: airrac-devel
BuildRequires: texlive-epstopdf
%description
%{name} is a C++ library of Revenue Management and Optimisation classes
@ -55,9 +53,6 @@ Summary: Header files, libraries and development helper tools for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
# The cmake files have Python version backed in them
Requires: (python(abi) = %{python3_version} if python3-devel)
%description devel
This package contains the header files, shared libraries and
development helper tools for %{name}. If you would like to develop
@ -82,6 +77,7 @@ Summary: Python bindings for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: boost-python3-devel
%{?python_provide:%python_provide python3-%{name}}
%description -n python3-%{name}
@ -108,14 +104,6 @@ rm -f %{mydocs}/html/installdox
# in the project top directory)
rm -f %{buildroot}%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
%if %{with python}
# (Pure) Python RMOL executable
install -d %{buildroot}%{python3_sitearch}/py%{name}
install -pm 0755 %{buildroot}%{_bindir}/py%{name} %{buildroot}%{python3_sitearch}/py%{name}/
install -pm 0755 %{buildroot}%{_bindir}/%{name}_drawBPC %{buildroot}%{python3_sitearch}/py%{name}/
rm -f %{buildroot}%{_bindir}/%{name}_drawBPC %{buildroot}%{_bindir}/py%{name}
%endif
%check
ctest
@ -131,9 +119,11 @@ rm -f %{_bindir}/py%{name}
%files
%doc AUTHORS ChangeLog COPYING NEWS README.md
%{_bindir}/%{name}
%{_bindir}/%{name}_drawBPC
%{_bindir}/%{name}_extractBPC
%{_libdir}/lib%{name}.so.*
%{_mandir}/man1/%{name}.1.*
%{_mandir}/man1/%{name}_drawBPC.1.*
%{_mandir}/man1/%{name}_extractBPC.1.*
%files devel
@ -159,6 +149,9 @@ rm -f %{_bindir}/py%{name}
%endif
%changelog
* Sun May 31 2020 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.5-1
- Upstream update
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.00.4-3
- Rebuilt for Python 3.9

View File

@ -1 +1 @@
SHA512 (rmol-1.00.4.tar.gz) = 5b7ae943e247e5767a0c3aad7926486595fe7c8839550a7a7c0b17bcadae4c6777ccaf066897cc808e502716c403720a76ea0ffecad024faab1d38b7d3db8c27
SHA512 (rmol-1.00.5.tar.gz) = 106f53d8a2285b28ebf094038e64378d30629c1395e763cabf19adc06e5ce1fa3b95105a5fa0e8e4b39bab408631800ac2849df62d185e925f9b7e6e64c7a19e