Hello community,

here is the log from the commit of package YODA for openSUSE:Factory checked in 
at 2017-03-24 02:08:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/YODA (Old)
 and      /work/SRC/openSUSE:Factory/.YODA.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "YODA"

Fri Mar 24 02:08:53 2017 rev:9 rq:457562 version:1.6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/YODA/YODA.changes        2017-02-13 
07:52:15.407369240 +0100
+++ /work/SRC/openSUSE:Factory/.YODA.new/YODA.changes   2017-03-24 
02:08:54.744243443 +0100
@@ -1,0 +2,6 @@
+Mon Feb 13 15:52:49 UTC 2017 - [email protected]
+
+- Call ldconfig directly. Add sover.diff, enforce versioning
+  as per guidelines.
+
+-------------------------------------------------------------------

New:
----
  sover.diff

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

Other differences:
------------------
++++++ YODA.spec ++++++
--- /var/tmp/diff_new_pack.RZDxK3/_old  2017-03-24 02:08:55.440144929 +0100
+++ /var/tmp/diff_new_pack.RZDxK3/_new  2017-03-24 02:08:55.444144363 +0100
@@ -16,7 +16,7 @@
 #
 
 
-%define so_name lib%{name}
+%define so_name lib%{name}-1_6_5
 
 Name:           YODA
 Version:        1.6.5
@@ -26,12 +26,14 @@
 Group:          Development/Libraries/C and C++
 Url:            http://yoda.hepforge.org/
 Source:         http://www.hepforge.org/archive/yoda/%{name}-%{version}.tar.bz2
+Patch1:         sover.diff
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_headers-devel
 %else
 BuildRequires:  boost-devel
 %endif
 BuildRequires:  gcc-c++
+BuildRequires:  libtool
 BuildRequires:  pkg-config
 BuildRequires:  python-Cython
 BuildRequires:  python-devel
@@ -66,7 +68,7 @@
 
 %package -n %{so_name}
 Summary:        A small set of data analysis classes for MC event generator 
validation analyses
-Group:          Development/Libraries/C and C++
+Group:          System/Libraries
 
 %description -n %{so_name}
 YODA is a small set of data analysis (specifically histogramming)
@@ -103,8 +105,10 @@
 
 %prep
 %setup -q
+%patch -P 1 -p1
 
 %build
+autoreconf -fi
 %configure
 make %{?_smp_mflags}
 
@@ -116,15 +120,12 @@
 # Remove traces of BUILDROOT from files
 sed -i "s|%{buildroot}||g" %{buildroot}%{python_sitearch}/yoda/*.pyc
 
-%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}/libYODA-*.so
 
 %files devel
 %defattr(-,root,root)
@@ -144,6 +145,7 @@
 %{_bindir}/yodals
 %{_bindir}/yodaplot
 %{_bindir}/yodascale
+%{_libdir}/libYODA.so
 %{_libdir}/pkgconfig/yoda.pc
 %{_includedir}/%{name}/
 %{_datadir}/%{name}/

++++++ sover.diff ++++++
---
 src/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: YODA-1.6.5/src/Makefile.am
===================================================================
--- YODA-1.6.5.orig/src/Makefile.am
+++ YODA-1.6.5/src/Makefile.am
@@ -23,6 +23,6 @@ libYODA_la_SOURCES = \
     Scatter3D.cc
 
 
-libYODA_la_LDFLAGS = -avoid-version
+libYODA_la_LDFLAGS = -release ${PACKAGE_VERSION}
 libYODA_la_LIBADD = tinyxml/libtinyxml.la
 libYODA_la_CPPFLAGS = $(AM_CPPFLAGS) -DTIXML_USE_STL

Reply via email to