exclude duplicated python libraries from main package [release 1.78.0-2mamba;Sun Mar 20 2022]
This commit is contained in:
parent
e94a3f0546
commit
5090d41bee
@ -2,16 +2,14 @@
|
|||||||
%define pckmajver %(echo %version | cut -d. -f1-2 | tr . _)
|
%define pckmajver %(echo %version | cut -d. -f1-2 | tr . _)
|
||||||
Name: libboost
|
Name: libboost
|
||||||
Version: 1.78.0
|
Version: 1.78.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Free peer-reviewed portable C++ source libraries
|
Summary: Free peer-reviewed portable C++ source libraries
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://www.boost.org/
|
URL: https://www.boost.org/
|
||||||
Source: https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_%{pckver}.tar.bz2
|
Source: https://boostorg.jfrog.io/artifactory/main/release/%{version}/source/boost_%{pckver}.tar.bz2
|
||||||
#Source: https://dl.bintray.com/boostorg/release/%{version}/source/boost_%{pckver}.tar.bz2
|
|
||||||
#Source: http://download.sourceforge.net/sourceforge/boost/boost_%{pckver}.tar.bz2
|
|
||||||
Patch0: libboost-1.57.0-moc-libqt4-4.8.6.patch
|
Patch0: libboost-1.57.0-moc-libqt4-4.8.6.patch
|
||||||
Patch1: libboost-1.58.0-python-3.3.patch
|
Patch1: libboost-1.58.0-python-3.3.patch
|
||||||
Patch2: libboost-1.76.0-arm-upstream-fix-build.patch
|
Patch2: libboost-1.76.0-arm-upstream-fix-build.patch
|
||||||
@ -44,9 +42,9 @@ Ten Boost libraries will be included in the C++ Standards Committee's upcoming C
|
|||||||
%package devel
|
%package devel
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Devel package for libboost
|
Summary: Devel package for libboost
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Provides: python-boost-devel
|
Provides: python-boost-devel
|
||||||
Obsoletes: python-boost-devel
|
Obsoletes: python-boost-devel < 1.78.0-2mamba
|
||||||
Requires: python-boost-py3 = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: python-boost-py3 = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -60,7 +58,7 @@ This is the devel package.
|
|||||||
%package -n python-boost-py3
|
%package -n python-boost-py3
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Boost.Python library for Python 3
|
Summary: Boost.Python library for Python 3
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description -n python-boost-py3
|
%description -n python-boost-py3
|
||||||
The Boost libraries provides free peer-reviewed portable C++ source libraries.
|
The Boost libraries provides free peer-reviewed portable C++ source libraries.
|
||||||
@ -218,6 +216,9 @@ EXPAT_LIBPATH=%{_libdir} \
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libboost_*.so.*
|
%{_libdir}/libboost_*.so.*
|
||||||
|
%exclude %{_libdir}/libboost_python3*.so.*
|
||||||
|
%exclude %{_libdir}/libboost_mpi_python3*.so.*
|
||||||
|
%exclude %{_libdir}/libboost_numpy3*.so.*
|
||||||
%doc LICENSE_1_0.txt
|
%doc LICENSE_1_0.txt
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -240,6 +241,9 @@ EXPAT_LIBPATH=%{_libdir} \
|
|||||||
%{_libdir}/libboost_numpy3*.so.*
|
%{_libdir}/libboost_numpy3*.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Mar 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.78.0-2mamba
|
||||||
|
- exclude duplicated python libraries from main package
|
||||||
|
|
||||||
* Mon Jan 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.78.0-1mamba
|
* Mon Jan 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.78.0-1mamba
|
||||||
- update to 1.78.0
|
- update to 1.78.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user