From 1bb53a426d7ef18c8860185c7996e39cd0acf0ceaa4d9e093af31f09a141e698 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 11 Jun 2018 10:53:24 +0000 Subject: [PATCH 1/2] Accepting request 615719 from home:1Antoine1:branches:devel:libraries:c_c++ - Update to version 2.6.3: * Fix bug in memory deallocation in taylor.c. * Reduced interface directional active gradient. OBS-URL: https://build.opensuse.org/request/show/615719 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=59 --- ADOL-C-2.6.2.tgz | 3 --- ADOL-C-2.6.3.tgz | 3 +++ adolc.changes | 7 +++++++ adolc.spec | 6 +++--- 4 files changed, 13 insertions(+), 6 deletions(-) delete mode 100644 ADOL-C-2.6.2.tgz create mode 100644 ADOL-C-2.6.3.tgz diff --git a/ADOL-C-2.6.2.tgz b/ADOL-C-2.6.2.tgz deleted file mode 100644 index e7cf735..0000000 --- a/ADOL-C-2.6.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f6326e7ba994d02074816132d4461915221069267c31862b31fab7020965c658 -size 2413458 diff --git a/ADOL-C-2.6.3.tgz b/ADOL-C-2.6.3.tgz new file mode 100644 index 0000000..1b07185 --- /dev/null +++ b/ADOL-C-2.6.3.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ed74580695a0d2c960581e5430ebfcd380eb5da9337daf488bf2e89039e9c21 +size 2416928 diff --git a/adolc.changes b/adolc.changes index b3b34c1..5b994de 100644 --- a/adolc.changes +++ b/adolc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Jun 10 07:59:00 UTC 2018 - antoine.belvire@opensuse.org + +- Update to version 2.6.3: + * Fix bug in memory deallocation in taylor.c. + * Reduced interface directional active gradient. + ------------------------------------------------------------------- Wed Feb 1 09:50:03 UTC 2017 - adam.majer@suse.de diff --git a/adolc.spec b/adolc.spec index cdb2adb..5a463c9 100644 --- a/adolc.spec +++ b/adolc.spec @@ -1,7 +1,7 @@ # # spec file for package adolc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,10 +18,10 @@ %define lname libadolc2 Name: adolc -Version: 2.6.2 +Version: 2.6.3 Release: 0 Summary: Algorithmic Differentiation Library for C/C++ -License: GPL-2.0+ or EPL-1.0 +License: GPL-2.0-or-later OR EPL-1.0 Group: Development/Libraries/C and C++ Url: http://projects.coin-or.org/ADOL-C Source0: http://www.coin-or.org/download/source/ADOL-C/ADOL-C-%{version}.tgz From a74c9cf6cbff3f69ab7d7b04dec99dc1bbfaac044371bb0e4d3e4b0ef07753d1 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 11 Jun 2018 11:11:51 +0000 Subject: [PATCH 2/2] - Install license using %license - Install documentation using %doc instead of manually - Cleanup long description by only having one verbose copy in long description - spec file cleanup OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=60 --- adolc.changes | 9 +++++++++ adolc.spec | 40 +++++++++++----------------------------- 2 files changed, 20 insertions(+), 29 deletions(-) diff --git a/adolc.changes b/adolc.changes index 5b994de..9588cd9 100644 --- a/adolc.changes +++ b/adolc.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jun 11 11:00:31 UTC 2018 - adam.majer@suse.de + +- Install license using %license +- Install documentation using %doc instead of manually +- Cleanup long description by only having one verbose copy in long + description +- spec file cleanup + ------------------------------------------------------------------- Sun Jun 10 07:59:00 UTC 2018 - antoine.belvire@opensuse.org diff --git a/adolc.spec b/adolc.spec index 5a463c9..c47268c 100644 --- a/adolc.spec +++ b/adolc.spec @@ -16,7 +16,7 @@ # -%define lname libadolc2 +%define lname libadolc2 Name: adolc Version: 2.6.3 Release: 0 @@ -36,7 +36,6 @@ BuildRequires: boost-devel BuildRequires: gcc-c++ BuildRequires: libstdc++-devel BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The package ADOL-C (Automatic Differentiation by OverLoading in C++) @@ -55,14 +54,8 @@ Group: System/Libraries %description -n %{lname} The package ADOL-C (Automatic Differentiation by OverLoading in C++) -facilitates the evaluation of first and higher derivatives of vector -functions that are defined by computer programs written in C or -C++. The resulting derivative evaluation routines may be called from -C/C++, Fortran, or any other language that can be linked with C. -The numerical values of derivative vectors are obtained free of -truncation errors at a small multiple of the run time and randomly -accessed memory of the given function evaluation program. +This package contains the runtime library for ADOL-C %package devel Summary: Algorithmic Differentiation Library for C/C++ -- development files @@ -71,21 +64,13 @@ Requires: %{lname} = %{version} %description devel The package ADOL-C (Automatic Differentiation by OverLoading in C++) -facilitates the evaluation of first and higher derivatives of vector -functions that are defined by computer programs written in C or -C++. The resulting derivative evaluation routines may be called from -C/C++, Fortran, or any other language that can be linked with C. -The numerical values of derivative vectors are obtained free of -truncation errors at a small multiple of the run time and randomly -accessed memory of the given function evaluation program. - -This package provides the development environment for adolc +This package provides the development environment for ADOL-C %package doc Summary: Algorithmic Differentiation Library for C/C++ -- documentation Group: Documentation/Other -%if 0%{?suse_version} && 0%{?suse_version} >= 1120 +%if 0%{?suse_version} BuildArch: noarch %endif @@ -100,7 +85,8 @@ The numerical values of derivative vectors are obtained free of truncation errors at a small multiple of the run time and randomly accessed memory of the given function evaluation program. -This package provides the userĀ“s manual for adolc +This package provides the user's manual for ADOL-C + %prep %setup -q -n ADOL-C-%{version} @@ -116,10 +102,6 @@ make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} -install -d %{buildroot}%{_docdir}/%{name} -install -m 644 README AUTHORS BUGS LICENSE TODO %{buildroot}%{_docdir}/%{name} -install -m 644 ADOL-C/doc/adolc-manual.pdf %{buildroot}%{_docdir}/%{name} -install -m 644 ADOL-C/doc/short_ref.pdf %{buildroot}%{_docdir}/%{name} find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.a" -delete; @@ -128,11 +110,10 @@ find %{buildroot} -type f -name "*.a" -delete; %postun -n %{lname} -p /sbin/ldconfig %files -n %{lname} -%defattr(-,root,root) +%license LICENSE %{_libdir}/libadolc.so.* %files devel -%defattr(-,root,root) %dir %{_includedir}/adolc %dir %{_includedir}/adolc/drivers %dir %{_includedir}/adolc/internal @@ -149,8 +130,9 @@ find %{buildroot} -type f -name "*.a" -delete; %{_libdir}/pkgconfig/adolc.pc %files doc -%defattr(-,root,root) -%dir %{_docdir}/%{name} -%{_docdir}/%{name}/* +%doc README AUTHORS BUGS TODO +%doc ADOL-C/doc/adolc-manual.pdf +%doc ADOL-C/doc/short_ref.pdf +%license LICENSE %changelog