7 Commits

Author SHA256 Message Date
7d16e00428 Accepting request 1306469 from devel:libraries:c_c++
- libboost_system was removed upstream, fixes boo#1249973
  * Patch adolc-remove-boost-system-library.patch

OBS-URL: https://build.opensuse.org/request/show/1306469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adolc?expand=0&rev=33
2025-09-23 14:06:00 +00:00
f069063acf * Patch adolc-remove-boost-system-library.patch
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=73
2025-09-22 10:23:59 +00:00
77e7f02631 - libboost_system was removed upstream, fixes boo#1249973
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=72
2025-09-22 10:19:34 +00:00
be052ff30c Accepting request 1272856 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1272856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adolc?expand=0&rev=32
2025-04-28 14:16:07 +00:00
Kshitij Kulshreshtha
63dd96fde0 - Drop baselibs.conf, 32bit support is not needed anymore
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=70
2025-04-26 14:51:58 +00:00
98c24bfd0b Accepting request 1250112 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1250112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adolc?expand=0&rev=31
2025-03-05 12:38:17 +00:00
Kshitij Kulshreshtha
e428e7a33d - Modernize specfile and avoid bashisms (commented, but still)
- Remove em dashes from summaries

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=68
2025-03-04 15:13:33 +00:00
4 changed files with 39 additions and 19 deletions

View File

@@ -0,0 +1,13 @@
diff -purN a/configure.ac b/configure.ac
--- a/configure.ac 2020-02-01 21:29:37.000000000 +0100
+++ b/configure.ac 2025-09-20 13:36:16.485071534 +0200
@@ -347,8 +347,7 @@ CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
AC_LANG_PUSH([C++])
AC_CHECK_HEADERS([boost/pool/pool_alloc.hpp])
AC_LANG_POP([C++])
-AX_BOOST_SYSTEM
-LDFLAGS="$LDFLAGS $BOOST_LDFLAGS $BOOST_SYSTEM_LIB"
+LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
fi
if test "x$want_boost" = xyes -a "x$boost_new" = xyes -a "x$ac_cv_header_boost_pool_pool_alloc_hpp" = xyes -a "x$link_system" = xyes ; then

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sat Sep 20 12:00:58 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
- libboost_system was removed upstream, fixes boo#1249973
* Patch adolc-remove-boost-system-library.patch
-------------------------------------------------------------------
Sat Apr 12 12:11:24 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Drop baselibs.conf, 32bit support is not needed anymore
-------------------------------------------------------------------
Mon Feb 24 15:53:08 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Modernize specfile and avoid bashisms (commented, but still)
- Remove em dashes from summaries
-------------------------------------------------------------------
Fri Oct 7 13:18:20 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package adolc
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,19 +24,16 @@ Summary: Algorithmic Differentiation Library for C/C++
License: EPL-1.0 OR GPL-2.0-or-later
URL: https://github.com/coin-or/ADOL-C
Source0: https://github.com/coin-or/ADOL-C/archive/releases/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf
# from https://github.com/coin-or/ADOL-C/pull/47.patch
Patch1: handle-lib64-for-riscv64.patch
Patch2: adolc-remove-boost-system-library.patch
BuildRequires: ColPack-devel
BuildRequires: automake
BuildRequires: boost-devel
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: pkgconfig
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
BuildRequires: libboost_system-devel
%else
BuildRequires: boost-devel
%endif
%description
ADOL-C (Automatic Differentiation by OverLoading in C++) facilitates
@@ -66,10 +63,8 @@ This package provides the development environment for ADOL-C
(Automatic Differentiation by OverLoading in C++).
%package doc
Summary: Algorithmic Differentiation Library for C/C++ -- documentation
%if 0%{?suse_version}
Summary: Documentation for the C/C++ Algorithmic Differentiation Library
BuildArch: noarch
%endif
%description doc
This package provides the user's manual for ADOL-C.
@@ -78,10 +73,10 @@ This package provides the user's manual for ADOL-C.
%autosetup -p1 -n ADOL-C-releases-%{version}
%build
# autoreconf -v --install --force
autoreconf -v --install --force
%configure
%make_build
# pushd ADOL-C/doc
# cd ADOL-C/doc
# for ((i=0; i < 3; i++)); do
# pdflatex adolc-manual.tex &>/dev/null
# done
@@ -90,8 +85,7 @@ This package provides the user's manual for ADOL-C.
%make_install
find %{buildroot} -type f "(" -name "*.a" -o -name "*.la" ")" -delete -print
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%ldconfig_scriptlets -n %{lname}
%files -n %{lname}
%license LICENSE

View File

@@ -1,4 +0,0 @@
libadolc2
adolc-devel
requires -adolc-<targettype>
requires "libadolc2-<targettype> = <version>"