Hello community,

here is the log from the commit of package pythia for openSUSE:Factory checked 
in at 2014-10-29 21:10:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pythia (Old)
 and      /work/SRC/openSUSE:Factory/.pythia.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pythia"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pythia/pythia.changes    2014-09-06 
17:02:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pythia.new/pythia.changes       2014-10-29 
21:10:56.000000000 +0100
@@ -1,0 +2,22 @@
+Fri Oct 17 06:09:48 UTC 2014 - [email protected]
+
+- Update to version 8.201:
+  + Undocumented changes
+- Changes from version 8.200:
+  + Long list of changes, see announcement here:
+    https://www.hepforge.org/lists-archive/pythia8-announce/2014/000009.html
+- Packaging changes:
+  + Rename pythia-libs to libpythia8 to satisfy rpmlint (although
+    the package only includes one unversioned shlib)
+  + Documentation files moved from toplevel dir in source to
+    "share" subdir, adapt specfile accordingly
+  + pythia8-config.in is now replaced by the script pythia8-config
+    and does not require any tweaking in specfile to get right
+    paths
+  + configure options changed, allowing to automatically install
+    to libdir where it needed to be manually copied to /usr/lib64
+    for the x86_64 arch
+  + Package new headers directory: %{_includedir}/Pythia8Plugins/
+  + Package new pdf documentation: %{_docdir}/%{name}/pdfdoc/.
+
+-------------------------------------------------------------------

Old:
----
  pythia8186.tgz

New:
----
  pythia8201.tgz

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

Other differences:
------------------
++++++ pythia.spec ++++++
--- /var/tmp/diff_new_pack.70NGi8/_old  2014-10-29 21:11:00.000000000 +0100
+++ /var/tmp/diff_new_pack.70NGi8/_new  2014-10-29 21:11:00.000000000 +0100
@@ -16,11 +16,12 @@
 #
 
 
-%define ver 8186
-%define soname %{name}-libs
+%define ver 8201
+%define soname lib%{name}8
+%define appname Pythia8
 
 Name:           pythia
-Version:        8.186
+Version:        8.201
 Release:        0
 Summary:        A simulation program for particle collisions at very high 
energies
 License:        GPL-2.0
@@ -30,6 +31,7 @@
 BuildRequires:  HepMC-devel
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  rsync
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -118,55 +120,49 @@
 
 %build
 # FIX EOF ENCODINGS
-sed -i 's/\r$//' xmldoc/mrstlostarstar.00.dat
-sed -i 's/\r$//' xmldoc/lejon2.eps
-sed -i 's/\r$//' {phpdoc,htmldoc}/pythia.css
-sed -i 's/\r$//' examples/softsusy.spc
+sed -i 's/\r$//' share/Pythia8/xmldoc/mrstlostarstar.00.dat
+sed -i 's/\r$//' share/Pythia8/htmldoc/pythia.css
+sed -i 's/\r$//' share/Pythia8/examples/softsusy.spc
+sed -i 's/\r$//' share/Pythia8/examples/main29.cc
 
 ./configure \
   --prefix=%{buildroot}%{_prefix} \
-  --enable-shared \
-  --with-hepmc=%{_prefix} \
-  --datadir=%{buildroot}%{_docdir}/%{name}
+  --prefix-lib=%{buildroot}%{_libdir} \
+  --prefix-share=%{buildroot}%{_docdir}/%{name} \
+  --enable-shared 
 
 # EXPORT PYTHIA8DATA ENV VARIABLE
 cat << EOF >> %{name}.sh
-export PYTHIA8DATA=%{_docdir}/%{name}/xmldoc
+export PYTHIA8DATA=%{_docdir}/%{appname}/xmldoc
 EOF
 
 cat << EOF >> %{name}.csh
-setenv PYTHIA8DATA %{_docdir}/%{name}/xmldoc
+setenv PYTHIA8DATA %{_docdir}/%{appname}/xmldoc
 EOF
 
 install -D -m0644 %{name}.csh %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh
 install -D -m0644 %{name}.sh %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
 
-# INFORM PYTHIA ABT LOCATION OF LIBS
-sed -i "s|libdir=$prefix/lib|libdir=%{_libdir}|" pythia8-config.in
-
 make %{?_smp_mflags}
 
 %install
 %make_install
 
-rm -fr %{buildroot}%{_prefix}/lib/archive
-# MOVE INSTALLED SHARED LIBS TO LIBDIR FOR NON-32 BIT ARCH
-%if "%{_lib}" != "lib"
-  mkdir -p %{buildroot}%{_libdir}
-  mv %{buildroot}%{_prefix}/lib/*.so %{buildroot}%{_libdir}/
-%endif
+# REMOVE STATIC LIBRARY
+rm %{buildroot}%{_libdir}/libpythia8.a
+
+# REMOVE AUTHORS, COPYING, GUIDELINES AND README FILES AND BUNDLE THEM IN MAIN 
PACKAGE USING %doc
+for i in AUTHORS COPYING GUIDELINES README
+do
+  rm %{buildroot}%{_docdir}/%{name}/${i}
+done
 
-# REMOVE BUILDROOT FROM pythia8-config
+# REMOVE BUILDROOT FROM INSTALLED FILES
 sed -i "s|%{buildroot}||g" %{buildroot}%{_bindir}/pythia8-config
+sed -i "s|%{buildroot}||g" %{buildroot}%{_docdir}/%{name}/examples/Makefile.inc
 
-# REMOVE UNNEEDED FILES
-rm -f %{buildroot}%{_includedir}/.DS_Store \
-      %{buildroot}%{_prefix}/config.mk  \
-      %{buildroot}%{_prefix}/xmldoc
-
-# INSTALL EXAMPLES ALSO IN DOCDIR
-rm -f examples/.DS_Store
-cp -pr examples %{buildroot}%{_docdir}/%{name}/
+# MAKE SCRIPT EXECUTABLE
+chmod +x %{buildroot}%{_bindir}/pythia8-config
 
 %fdupes -s %{buildroot}%{_docdir}/%{name}/
 
@@ -182,9 +178,10 @@
 
 %files devel
 %defattr(-,root,root)
-%doc AUTHORS COPYING GUIDELINES CODINGSTYLE
+%doc AUTHORS COPYING GUIDELINES CODINGSTYLE README
 %{_bindir}/pythia8-config
 %{_includedir}/Pythia8/
+%{_includedir}/Pythia8Plugins/
 %config %{_sysconfdir}/profile.d/%{name}.*
 %{_docdir}/%{name}/xmldoc/
 
@@ -192,6 +189,7 @@
 %defattr(-,root,root)
 %dir %{_docdir}/%{name}
 %{_docdir}/%{name}/phpdoc/
+%{_docdir}/%{name}/pdfdoc/
 %{_docdir}/%{name}/htmldoc/
 %{_docdir}/%{name}/examples/
 

++++++ pythia8186.tgz -> pythia8201.tgz ++++++
/work/SRC/openSUSE:Factory/pythia/pythia8186.tgz 
/work/SRC/openSUSE:Factory/.pythia.new/pythia8201.tgz differ: char 5, line 1

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to