Hello community, here is the log from the commit of package libmodman for openSUSE:Factory checked in at 2018-03-08 10:52:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmodman (Old) and /work/SRC/openSUSE:Factory/.libmodman.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmodman" Thu Mar 8 10:52:21 2018 rev:11 rq:583050 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libmodman/libmodman.changes 2012-07-12 10:47:15.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libmodman.new/libmodman.changes 2018-03-08 10:52:23.632364907 +0100 @@ -1,0 +2,11 @@ +Mon Mar 5 15:46:02 UTC 2018 - jeng...@inai.de + +- Fix SRPM group. Update summaries. Reorder file list to have + if/endif blocks per output file. + +------------------------------------------------------------------- +Wed Feb 28 16:35:39 UTC 2018 - dims...@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmodman.spec ++++++ --- /var/tmp/diff_new_pack.gD8EXX/_old 2018-03-08 10:52:24.928318253 +0100 +++ /var/tmp/diff_new_pack.gD8EXX/_new 2018-03-08 10:52:24.932318109 +0100 @@ -1,7 +1,7 @@ # # spec file for package libmodman # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010 Dominique Leuenberger, Amsterdam, The Netherlands. # # All modifications and additions to the file contributed by third parties @@ -17,18 +17,18 @@ # -Name: libmodman -Version: 2.0.1 -Release: 0 %if 0%{?build_snapshot} %define _sourcename %{name} %else %define _sourcename %{name}-%{version} %endif -Source: http://libmodman.googlecode.com/files/%{_sourcename}.tar.bz2 +Name: libmodman +Version: 2.0.1 +Release: 0 Summary: A Module Management Library -License: LGPL-2.1+ -Group: System/Libraries +License: LGPL-2.1-or-later +Group: Development/Libraries/C and C++ +Source: http://libmodman.googlecode.com/files/%{_sourcename}.tar.bz2 # Script used for automatic update of snapshot packages Source98: update-from-svn.sh Source99: baselibs.conf @@ -36,7 +36,6 @@ BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The Module Loading library offers the choice to use prelinked libraries @@ -51,7 +50,7 @@ from your application out of a pool. %package devel -Summary: A Module Management Library - Development headers +Summary: Development files for libmodman, a module management library Group: Development/Languages/C and C++ Requires: libmodman1 = %{version} @@ -72,6 +71,7 @@ %endif cd build +# FIXME: you should use %%cmake macros cmake \ %if 0%{?windows} -DCMAKE_TOOLCHAIN_FILE=../cmake/mingw32.cmake \ @@ -82,40 +82,33 @@ -DSHARE_INSTALL_PREFIX=%{_datadir} \ -DINCLUDE_INSTALL_DIR=%{_includedir} \ .. -%{__make} %{?jobs:-j%jobs} VERBOSE=1 +make %{?_smp_mflags} VERBOSE=1 %install cd build -make DESTDIR=%{buildroot} install +%make_install %check cd build -make test +make %{?_smp_mflags} test %post -n libmodman1 -p /sbin/ldconfig - %postun -n libmodman1 -p /sbin/ldconfig -%if ! 0%{?windows} - %files -n libmodman1 -%defattr(-, root, root) +%if !0%{?windows} %{_libdir}/libmodman.so.* +%else +%{_libdir}/libmodman.dll +%endif %files devel -%defattr(-, root, root) +%if !0%{?windows} %{_includedir}/libmodman %{_libdir}/libmodman.so %{_libdir}/pkgconfig/libmodman-2.0.pc %{_datadir}/cmake/Modules/Findlibmodman.cmake %else - -%files -n libmodman1 -%defattr(-, root, root) -%{_libdir}/libmodman.dll - -%files devel -%defattr(-, root, root) %{_libdir}/libmodman.dll.a %{_includedir}/libmodman %endif