From 5082e2019e75ebc8f1a31c4615922ab1106e7f77c229c83c73d1c0933399c88e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 21 Feb 2024 10:10:44 +0000 Subject: [PATCH] Accepting request 1148488 from home:aschnell:boost - avoid obsolete rpm syntax OBS-URL: https://build.opensuse.org/request/show/1148488 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=322 --- boost.changes | 16 ++++++++++------ boost.spec | 38 +++++++++++++++++++------------------- 2 files changed, 29 insertions(+), 25 deletions(-) diff --git a/boost.changes b/boost.changes index 634cc36..26fe049 100644 --- a/boost.changes +++ b/boost.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 09:18:53 CET 2024 - aschnell@suse.com + +- avoid obsolete rpm syntax + ------------------------------------------------------------------- Thu Dec 14 08:43:05 CET 2023 - aschnell@suse.com @@ -394,7 +399,8 @@ Fri Apr 12 11:48:21 UTC 2019 - Adam Majer For detailed changes see https://www.boost.org/users/history/version_1_70_0.html -- 0001-beast-fix-moved-from-executor.patch: upstream patch to fix regresion +- 0001-beast-fix-moved-from-executor.patch: upstream patch to fix + regression - boost-rpmoptflags-only.patch: refresh but don't disable all extra warnings - dynamic_linking.patch: refreshed @@ -1478,7 +1484,6 @@ Thu Aug 26 10:55:59 CEST 2010 - pth@suse.de http://www.boost.org/users/news/version_1_43_0 and http://www.boost.org/users/news/version_1_44_0. - ------------------------------------------------------------------- Fri Jul 9 13:17:57 CEST 2010 - pth@suse.de @@ -1486,7 +1491,6 @@ Fri Jul 9 13:17:57 CEST 2010 - pth@suse.de The patch adds an explicite specialization to the call to prevent unwanted temporary instantiations. - ------------------------------------------------------------------- Fri Jul 9 09:34:03 UTC 2010 - lnussel@suse.de @@ -1920,7 +1924,7 @@ Fri Oct 31 12:40:57 CET 2008 - pth@suse.de - Disable deletion of full-name symlinks in boost.spec.in. - Make boost-devel directly require all library subpackages. - boost.rpm isn't needed, even for updates, so don't build it and - remove the README file needeed only for this package. + remove the README file needed only for this package. - Make debug package require all library subpackages. - Add pre_checkin.sh to ensure that boost.spec is regenerated at check-in time. @@ -2282,7 +2286,7 @@ Thu Aug 9 15:16:09 CEST 2007 - pth@suse.de added. o Member function get_value_or(alternative_value) added. - o Incompatbility bug with mpl::apply<> fixed. + o Incompatibility bug with mpl::apply<> fixed. o Converting assignment bug with uninitialized lvalues fixed. * Parameter Library: @@ -2341,7 +2345,7 @@ Thu Aug 9 15:16:09 CEST 2007 - pth@suse.de o lexicographical_compare o join o New comparison predicates is_less, is_not_greater. - o Negative indexes support (like Perl) in various algorihtms + o Negative indexes support (like Perl) in various algorithms (*_head/tail, *_nth). * Wave Library: diff --git a/boost.spec b/boost.spec index 8ddc45f..c860637 100644 --- a/boost.spec +++ b/boost.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package boost # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -172,7 +172,7 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le %endif # Python NumPy library is only available on Leap 42.1 OpenSUSE onward -# and is not availble in SLE +# and is not available in SLE %if 0%{?suse_version} >= 1330 || 0%{?is_opensuse} %bcond_without python_numpy %else @@ -385,7 +385,7 @@ Requires: %{package_name} %description -n %{package_name}-python3 This package contains the Boost.MPI Python 3.x serialization -inteface. +interface. %endif %package -n boost%{library_version}-jam @@ -812,7 +812,7 @@ Requires: boost-license%{library_version} %description -n libboost_mpi_python-py3-%{library_version} This package contains the Boost.MPI Python 3.x serialization -inteface. +interface. %package -n libboost_mpi_python-py3-%{library_version}-devel Summary: Development library for Boost.MPI Python 3.x serialization @@ -1240,20 +1240,20 @@ tasks. %setup -q -n boost_%{library_version} -b 3 #everything in the tarball has the executable flag set ... find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} + -%patch1 -p1 -%patch2 -%patch4 -%patch5 -%patch6 -p1 -%patch7 -%patch9 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%patch20 -p1 -%patch21 -p1 -%patch22 -p2 +%patch -P 1 -p1 +%patch -P 2 +%patch -P 4 +%patch -P 5 +%patch -P 6 -p1 +%patch -P 7 +%patch -P 9 -p1 +%patch -P 15 -p1 +%patch -P 16 -p1 +%patch -P 17 -p1 +%patch -P 18 -p1 +%patch -P 20 -p1 +%patch -P 21 -p1 +%patch -P 22 -p2 %build find . -type f -exec chmod u+w {} +