Hello community,
here is the log from the commit of package pythia for openSUSE:Leap:15.2
checked in at 2020-03-02 13:25:47
Comparing /work/SRC/openSUSE:Leap:15.2/pythia (Old)
and /work/SRC/openSUSE:Leap:15.2/.pythia.new.26092 (New)
Package is "pythia"
Mon Mar 2 13:25:47 2020 rev:12 rq:780696 version:8.243
Changes:
--- /work/SRC/openSUSE:Leap:15.2/pythia/pythia.changes 2020-01-15
15:45:46.275334643 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.pythia.new.26092/pythia.changes
2020-03-02 13:25:51.234696193 +0100
@@ -1,0 +2,20 @@
+Wed Aug 21 08:06:55 UTC 2019 - Atri Bhattacharya
+
+- Update to version 8.243:
+ + See
+http://home.thep.lu.se/~torbjorn/pythia82html/UpdateHistory.html
+- Rebase existing patches to apply cleanly.
+
+---
+Fri May 3 12:49:40 UTC 2019 - Atri Bhattacharya
+
+- Update to version 8.240:
+ + See
+http://home.thep.lu.se/~torbjorn/pythia82html/UpdateHistory.html
+- Rebase existing patches to apply cleanly.
+- Disable boost and drop boost BuildRequires as it is no longer
+ needed when compiling against LHAPDF >= 6.2.
+- Remove unnecessary hidden files not cleaned up by build.
+- Cleanups using spec-cleaner.
+
+---
Old:
pythia8235.tgz
New:
pythia8243.tgz
Other differences:
--
++ pythia.spec ++
--- /var/tmp/diff_new_pack.E037zk/_old 2020-03-02 13:25:52.502698714 +0100
+++ /var/tmp/diff_new_pack.E037zk/_new 2020-03-02 13:25:52.506698721 +0100
@@ -1,7 +1,7 @@
#
# spec file for package pythia
#
-# 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,20 +12,19 @@
# 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 ver 8235
+%define ver 8243
%define soname lib%{name}8
-
Name: pythia
-Version:8.235
+Version:8.243
Release:0
Summary:A simulation program for particle collisions at very high
energies
License:GPL-2.0-or-later
Group: Development/Libraries/C and C++
-Url:http://home.thep.lu.se/~torbjorn/Pythia.html
+URL:http://home.thep.lu.se/~torbjorn/Pythia.html
Source: http://home.thep.lu.se/~torbjorn/pythia8/%{name}%{ver}.tgz
# PATCH-FIX-UPSTREAM pythia-makefile-destdir-support.patch
badshah...@gmail.com -- Add DESTDIR support to makefile to prevent touching of
buildroot in the %%build section
Patch0: pythia-makefile-destdir-support.patch
@@ -35,17 +34,11 @@
Patch2: pythia-remove-rpaths.patch
BuildRequires: HepMC2-devel
BuildRequires: LHAPDF-devel
-%if 0%{?suse_version} > 1325
-BuildRequires: libboost_headers-devel
-%else
-BuildRequires: boost-devel
-%endif
BuildRequires: fastjet-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: rsync
BuildRequires: zlib-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Pythia can be used to generate high-energy-physics events, i.e. sets
@@ -143,7 +136,6 @@
--disable-rpath \
--with-lhapdf6 \
--with-hepmc2 \
- --with-boost \
--with-gzip \
--with-fastjet3
@@ -159,7 +151,7 @@
make %{?_smp_mflags}
%install
-make DESTDIR=%{buildroot} install
+%make_install
install -D -m0644 %{name}.csh %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh
install -D -m0644 %{name}.sh %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
@@ -181,7 +173,12 @@
chmod -x %{buildroot}%{_docdir}/%{name}/xmldoc/GKG18_DPDF_Fit*.dat
# FIX env BASED HASHBANG
-sed -E -i "s|/usr/bin/env bash|/bin/bash|"
%{buildroot}%{_bindir}/pythia8-config
+sed -E -i "s|%{_bindir}/env bash|/bin/bash|"
%{buildroot}%{_bindir}/pythia8-config
+
+# REMOVE UNNECESSARY HIDDEN FILES
+rm %{buildroot}%{_includedir}/Pythia8/._*.h
+rm %{buildroot}%{_includedir}/Pythia8Plugins/._*.h
+find %{buildroot}%{_docdir}/%{name}/ -name "._*" -delete -print
%fdupes -s %{buildroot}%{_docdir}/%{name}/
@@ -194,7 +191,7 @@
do
echo
echo Now begin main${t}
- make main${t}
+ make %{?_smp_mflags} main${t}
time ./main${t} > out${t}
done
# TESTS 42 REQUIRES INPUT FILES; LOOP TO MAKE IT EASY TO ADD FUTURE TESTS
@@ -202,30 +199,24 @@
do
echo
echo Now begin main${t}
- make main${t}
+ make %{?_smp_mflags} main${t}
time ./main${t} main${t}.cmnd hepmcout${t}.dat > out${t}
done