Hello community, here is the log from the commit of package dotconf for openSUSE:Factory checked in at 2015-10-24 18:55:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dotconf (Old) and /work/SRC/openSUSE:Factory/.dotconf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dotconf" Changes: -------- --- /work/SRC/openSUSE:Factory/dotconf/dotconf.changes 2012-02-07 14:45:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.dotconf.new/dotconf.changes 2015-10-24 18:56:03.000000000 +0200 @@ -1,0 +2,7 @@ +Sun Oct 18 07:53:49 UTC 2015 - mplus...@suse.com + +- Use url for source +- Move documentation to devel package +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- Old: ---- dotconf-1.3.tbz2 New: ---- v1.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dotconf.spec ++++++ --- /var/tmp/diff_new_pack.3VqQdz/_old 2015-10-24 18:56:04.000000000 +0200 +++ /var/tmp/diff_new_pack.3VqQdz/_new 2015-10-24 18:56:04.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package dotconf # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -15,17 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: dotconf -Url: https://github.com/williamh/dotconf/ -BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: pkg-config Version: 1.3 Release: 0 -Source: %{name}-%{version}.tbz2 Summary: Configuration file parser library License: LGPL-2.1+ Group: Development/Languages/C and C++ +Url: https://github.com/williamh/dotconf/ +Source: https://github.com/williamh/dotconf/archive/v%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -60,7 +63,10 @@ %package devel Summary: Configuration file parser library Group: Development/Languages/C and C++ -Requires: libdotconf0 = %version +Requires: libdotconf0 = %{version} +# Package dotconf contained only documentation, which was moved here +Provides: %{name} = %{version}-%{release} +Obsoletes: %{name} < %{version}-%{release} %description devel dotconf is a simple-to-use and powerful configuration-file parser @@ -78,31 +84,30 @@ %build autoreconf -fiv -%configure --disable-static --with-pic +%configure \ + --disable-static \ + --with-pic make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install -%{__rm} -f %{buildroot}%{_libdir}/*.la +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print rm doc/Makefile* %post -n libdotconf0 -p /sbin/ldconfig %postun -n libdotconf0 -p /sbin/ldconfig -%files -%defattr (-,root,root,755) -%doc %{_datadir}/doc/dotconf/* -%dir %{_datadir}/doc/dotconf - %files -n libdotconf0 %defattr (-,root,root,755) %{_libdir}/libdotconf*.so.* %files devel %defattr (-,root,root,755) +%doc %{_datadir}/doc/dotconf/* +%dir %{_datadir}/doc/dotconf %{_libdir}/libdotconf*.so %{_libdir}/pkgconfig/dotconf.pc -/usr/include/dotconf.h +%{_includedir}/dotconf.h %changelog