Hello community, here is the log from the commit of package xclass for openSUSE:Factory checked in at 2017-10-05 12:00:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xclass (Old) and /work/SRC/openSUSE:Factory/.xclass.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xclass" Thu Oct 5 12:00:03 2017 rev:21 rq:531062 version:0.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/xclass/xclass.changes 2017-09-28 12:35:23.799459077 +0200 +++ /work/SRC/openSUSE:Factory/.xclass.new/xclass.changes 2017-10-05 12:03:45.130671333 +0200 @@ -1,0 +2,6 @@ +Mon Oct 2 22:18:40 UTC 2017 - jeng...@inai.de + +- Avoid running fdupes across partition boundaries. +- Implement shared library guideline. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xclass.spec ++++++ --- /var/tmp/diff_new_pack.uJrGeP/_old 2017-10-05 12:03:48.634178437 +0200 +++ /var/tmp/diff_new_pack.uJrGeP/_new 2017-10-05 12:03:48.638177875 +0200 @@ -17,11 +17,12 @@ Name: xclass +%define lname libxclass-0_9_2 Version: 0.9.2 Release: 0 Summary: Library for Uniform Presentation of fvwm95 Programs License: GPL-2.0+ and LGPL-2.1+ -Group: System/Libraries +Group: Development/Libraries/C and C++ Url: http://xclass.sourceforge.net/ Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-configs.patch @@ -44,11 +45,21 @@ This package contains a library for uniform presentation of fvwm95 programs. +%package -n %{lname} +Summary: Library for Uniform Presentation of fvwm95 Programs +License: LGPL-2.1+ +Group: System/Libraries +Requires: %name + +%description -n %{lname} +This package contains a library for uniform presentation of fvwm95 +programs. + %package devel -Summary: Library for Uniform Presentation of fvwm95 Programs - development files +Summary: Development files for xclass License: LGPL-2.1+ Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} +Requires: %{lname} = %{version} Requires: libstdc++-devel Requires: pkgconfig Requires: pkgconfig(gl) @@ -68,26 +79,35 @@ %build autoconf -%configure --enable-debug=no +%configure --disable-debug make %{?_smp_mflags} shared make %{?_smp_mflags} all %install mv lib/libxclass/icons/*.xpm icons/ -make %{?_smp_mflags} DESTDIR=%{buildroot} install +%make_install make DESTDIR=%{buildroot} install_shared install -m 644 include/xclass/XCconfig.h %{buildroot}%{_includedir}/XCconfig.h rm -rf %{buildroot}%{_docdir}/%{name}/INSTALL -%fdupes %{buildroot} +rm -fv %{buildroot}/%{_libdir}/*.a + +# kill pointless symlinks (libxclass.so.0) +find %{buildroot}/%{_libdir} -maxdepth 1 -type l -name "*.so.*" -delete +/sbin/ldconfig -N %{buildroot}/%{_libdir} -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%fdupes %{buildroot}/%{_prefix} + +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig %files %defattr(-,root,root) %doc %{_defaultdocdir}/%{name}/ %config %{_sysconfdir}/xclassrc %{_datadir}/xclass/ + +%files -n %{lname} +%defattr(-,root,root) %{_libdir}/libxclass.so.* %files devel @@ -95,7 +115,6 @@ %{_bindir}/xc-config %{_includedir}/XCconfig.h %{_includedir}/xclass/ -%exclude %{_libdir}/libxclass.a %{_libdir}/libxclass.so %changelog