Hello community,

here is the log from the commit of package apfel for openSUSE:Factory checked 
in at 2019-01-24 14:10:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apfel (Old)
 and      /work/SRC/openSUSE:Factory/.apfel.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apfel"

Thu Jan 24 14:10:14 2019 rev:10 rq:665694 version:3.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/apfel/apfel.changes      2018-07-18 
22:56:35.122434509 +0200
+++ /work/SRC/openSUSE:Factory/.apfel.new.28833/apfel.changes   2019-01-24 
14:10:15.095581245 +0100
@@ -1,0 +2,17 @@
+Sun Jan 13 16:42:39 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Update descriptions.
+
+-------------------------------------------------------------------
+Sat Jan 12 15:15:56 UTC 2019 - [email protected]
+
+- Install pre-generated PDF manual as part of a new -doc package.
+- Move ListFunctions binary into -devel package: apfel-config,
+  already being installed as part of the devel package, is partly
+  broken without this.
+- Change `env` based script interpreter in apfel-config to
+  directly call /bin/bash instead.
+- Use %%license macro to install the license file.
+- Run spec-cleaner for minor specfile cleanups
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apfel.spec ++++++
--- /var/tmp/diff_new_pack.brpVr3/_old  2019-01-24 14:10:16.043580154 +0100
+++ /var/tmp/diff_new_pack.brpVr3/_new  2019-01-24 14:10:16.047580149 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apfel
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,31 +12,29 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define soname libAPFEL0
 %define pypackage python-%{name}
-
 Name:           apfel
 Version:        3.0.3
 Release:        0
 Summary:        A Probability Distribution Function Evolution Library
 License:        GPL-3.0-or-later
 Group:          Development/Libraries/C and C++
-Url:            http://apfel.hepforge.org/
+URL:            http://apfel.hepforge.org/
 Source:         https://github.com/scarrazza/%{name}/archive/%{version}.tar.gz
 BuildRequires:  LHAPDF-devel
 BuildRequires:  gcc-c++
 BuildRequires:  gcc-fortran
+BuildRequires:  python-devel
 %if 0%{?suse_version} > 1320
 BuildRequires:  libboost_headers-devel
 %else
 BuildRequires:  boost-devel
 %endif
-BuildRequires:  python-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 APFEL is a library to perform the combined QCD+QED DGLAP 
@@ -57,6 +55,7 @@
 Group:          Development/Libraries/C and C++
 Requires:       %{soname} = %{version}
 Requires:       LHAPDF-devel
+Recommends:     %{name}-doc = %{version}
 
 %description devel
 APFEL is a library to perform the combined QCD+QED DGLAP 
@@ -75,6 +74,15 @@
 
 This package provides the shared libraries for %{name}.
 
+%package doc
+Summary:        Documentation for APFEL, a PDF evolution library
+Group:          Documentation/Other
+
+%description doc
+This package provides documentation for APFEL in PDF (Portable
+Document Format), a PDF (Probability Distribution Function) evolution
+library.
+
 %prep
 %setup -q
 
@@ -86,7 +94,10 @@
 %make_install
 
 # REMOVE libtool ARCHIVES
-rm %{buildroot}%{_libdir}/*.la
+find %{buildroot} -type f -name "*.la" -delete -print
+
+# FIX env BASED SCRIPT INTERPRETER
+sed -Ei "1{s|#\!\s*/usr/bin/env bash|#\!/bin/bash|}" 
%{buildroot}%{_bindir}/apfel-config
 
 # REMOVE README FROM NON-STD LOCATIONS, INSTALL IT USING %%doc INSTEAD
 rm -fr %{buildroot}%{_datadir}/apfel/README
@@ -96,25 +107,26 @@
 %postun -n %{soname} -p /sbin/ldconfig
 
 %files -n %{soname}
-%defattr(-,root,root)
 %{_libdir}/*.so.*
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/APFEL/
-%doc AUTHORS ChangeLog NEWS README COPYING
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README
 %{_bindir}/CheckAPFEL
 %{_bindir}/%{name}-config
+%{_bindir}/ListFunctions
 %{_libdir}/*.so
 
 %files -n %{pypackage}
-%defattr(-,root,root)
 %{_bindir}/%{name}
-%{_bindir}/ListFunctions
 %{python_sitearch}/%{name}.py
 # COMPILED OBJECT FILE CONTAINS BUILDROOT
 %exclude %{python_sitearch}/%{name}.pyc
 %{python_sitearch}/_%{name}.so
 %{python_sitearch}/APFEL-*py%{py_ver}.egg-info
 
+%files doc
+%doc doc/pdfs/manual.pdf
+
 %changelog


Reply via email to