commit LHAPDF for openSUSE:Factory
Hello community,
here is the log from the commit of package LHAPDF for openSUSE:Factory checked in at 2017-03-24 02:08:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/LHAPDF (Old)
and /work/SRC/openSUSE:Factory/.LHAPDF.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "LHAPDF"
Fri Mar 24 02:08:46 2017 rev:10 rq:457561 version:6.1.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/LHAPDF/LHAPDF.changes 2016-02-03 10:20:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.LHAPDF.new/LHAPDF.changes 2017-03-24 02:08:47.325293698 +0100
@@ -1,0 +2,12 @@
+Mon Feb 13 17:40:13 UTC 2017 - jengelh@inai.de
+
+- Fix RPM groups. Call ldconfig directly.
+- Add sover.diff and do shared library versioning
+ as required by guidelines.
+
+-------------------------------------------------------------------
+Wed Feb 1 12:37:53 UTC 2017 - adam.majer@suse.de
+
+- use individual libboost-*-devel packages instead of boost-devel
+
+-------------------------------------------------------------------
New:
----
sover.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ LHAPDF.spec ++++++
--- /var/tmp/diff_new_pack.J3Wf3O/_old 2017-03-24 02:08:48.133179331 +0100
+++ /var/tmp/diff_new_pack.J3Wf3O/_new 2017-03-24 02:08:48.137178764 +0100
@@ -1,7 +1,7 @@
#
# spec file for package LHAPDF
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,7 +16,7 @@
#
-%define so_name libLHAPDF
+%define so_name libLHAPDF-6_1_6
%define execname lhapdf
Name: LHAPDF
@@ -27,9 +27,15 @@
Group: Development/Libraries/C and C++
Url: http://lhapdf.hepforge.org
Source: http://www.hepforge.org/archive/lhapdf/%{name}-%{version}.tar.gz
+Patch1: sover.diff
+%if 0%{?suse_version} > 1325
+BuildRequires: libboost_headers-devel
+%else
BuildRequires: boost-devel >= 1.53.0
+%endif
BuildRequires: doxygen
BuildRequires: gcc-c++
+BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: texlive-latex-bin
@@ -49,7 +55,9 @@
%package -n %{so_name}
Summary: A library for unified and easy to use interface to modern PDF sets
-Group: Development/Libraries/C and C++
+Group: System/Libraries
+Obsoletes: libLHAPDF < %{version}-%{release}
+Provides: libLHAPDF = %{version}-%{release}
%description -n %{so_name}
LHAPDF provides a unified and easy to use interface to modern PDF
@@ -69,7 +77,11 @@
Summary: A library for unified and easy to use interface to modern PDF sets
Group: Development/Libraries/C and C++
Requires: %{so_name} = %{version}
-Requires: boost-devel
+%if 0%{?suse_version} > 1325
+BuildRequires: libboost_headers-devel
+%else
+BuildRequires: boost-devel >= 1.53.0
+%endif
%description devel
LHAPDF provides a unified and easy to use interface to modern PDF
@@ -108,8 +120,10 @@
%prep
%setup -q
+%patch -P 1 -p1
%build
+autoreconf -fi
%configure --disable-static --docdir=%{_docdir}/%{name}/
make %{?_smp_mflags}
@@ -118,15 +132,12 @@
find %{buildroot}%{_libdir}/ -name "*.la" -delete
-%post -n %{so_name}
-/sbin/ldconfig
-
-%postun -n %{so_name}
-/sbin/ldconfig
+%post -n %{so_name} -p /sbin/ldconfig
+%postun -n %{so_name} -p /sbin/ldconfig
%files -n %{so_name}
%defattr(-, root, root)
-%{_libdir}/*.so
+%{_libdir}/libLHAPDF-%version.so
%files devel
%defattr(-, root, root)
@@ -135,6 +146,7 @@
%{_bindir}/%{execname}-*
%{_datadir}/%{name}/
%{_includedir}/%{name}
+%{_libdir}/libLHAPDF.so
%{_libdir}/pkgconfig/%{execname}.pc
%files -n python-%{name}
++++++ sover.diff ++++++
From: Jan Engelhardt
participants (1)
-
root@hilbert.suse.de