Hello community, here is the log from the commit of package libconfuse0 for openSUSE:Factory checked in at 2015-11-22 11:00:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libconfuse0 (Old) and /work/SRC/openSUSE:Factory/.libconfuse0.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libconfuse0" Changes: -------- --- /work/SRC/openSUSE:Factory/libconfuse0/libconfuse0.changes 2011-11-21 15:46:06.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libconfuse0.new/libconfuse0.changes 2015-11-22 11:02:29.000000000 +0100 @@ -1,0 +2,23 @@ +Wed Nov 18 14:15:48 UTC 2015 - [email protected] + +- Update to version 2.8 + * Support for specifying a searchpath for cfg_parse(). + * Restore build of shared library by default. + * Added German translation. + * Document CFG_SIMPLE_STR for doxygen. + * Update ISC license to 2007 version. + * Write files in a Bourne shell compatible way. + * Fix mid-string environment variable substitution. + * Various ISO C90 and -ansi fixes. + * Fix C++ compiler warnings for const strings. + * Fix make distcheck and out-of-source builds. + * Fix missing .gitignore files. + * Fix CFG_SIMPLE_INT on 64-bit systems. + * Coding style cleanup. + * Fix issue #27: searchpath free problems. Fix to new feature introduced in this release cycle. + * Improved support for MSYS2. +- Perform a spec-cleaner +- Use download Url as source +- Add xz build dependency for SLE11 support + +------------------------------------------------------------------- Old: ---- confuse-2.7.tar.bz2 New: ---- confuse-2.8.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libconfuse0.spec ++++++ --- /var/tmp/diff_new_pack.5h4vjl/_old 2015-11-22 11:02:30.000000000 +0100 +++ /var/tmp/diff_new_pack.5h4vjl/_new 2015-11-22 11:02:30.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libconfuse0 # -# Copyright (c) 2011 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 @@ -16,29 +16,23 @@ # - +%define pkg_name confuse Name: libconfuse0 -Version: 2.7 -Release: 1 -# +Version: 2.8 +Release: 0 +Summary: A configuration file parser library License: LGPL-2.1+ Group: Development/Libraries/C and C++ -# -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: gcc-c++ gettext-devel libtool pkgconfig -%if 0%{?suse_version} > 1020 +Url: http://www.nongnu.org/confuse/ +Source: https://github.com/martinh/libconfuse/releases/download/v%{version}/%{pkg_name}-%{version}.tar.xz BuildRequires: check-devel -%else -BuildRequires: check -%endif +BuildRequires: gcc-c++ +BuildRequires: gettext-devel +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: xz Recommends: %{name}-lang -%define pkg_name confuse -# -URL: http://www.nongnu.org/confuse/ -# taken from http://download.savannah.gnu.org/releases/confuse/%{pkg_name}-%{version}.tar.gz -Source: %{pkg_name}-%{version}.tar.bz2 -# -Summary: A configuration file parser library +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libConfuse is a configuration file parser library, licensed under the @@ -55,9 +49,9 @@ before, but was changed to not confuse with other similar libraries. %package -n libconfuse-devel +Summary: The development files for libconfuse Group: Development/Libraries/C and C++ Requires: %{name} = %{version} -Summary: The development files for libconfuse %description -n libconfuse-devel libConfuse is a configuration file parser library, licensed under the @@ -76,21 +70,23 @@ This package holds the development files for libconfuse. %lang_package + %prep %setup -q -n %{pkg_name}-%{version} %build -autoreconf -fi +#autoreconf -fi %configure --enable-shared --disable-static -%{__make} %{?_smp_mflags} +make %{?_smp_mflags} %install -%makeinstall +make DESTDIR=%{buildroot} install %{?_smp_mflags} +rm -rf %{buildroot}%{_datadir}/doc %find_lang %{pkg_name} -%{__install} -Dd %{buildroot}%{_mandir} -%{__cp} -Rv doc/man/man3/ %{buildroot}%{_mandir} +install -Dd %{buildroot}%{_mandir} +cp -Rv doc/man/man3/ %{buildroot}%{_mandir} # clean up examples -%{__make} -C examples clean +make -C examples clean rm -rf examples/.deps/ examples/Makefile* %post -p /sbin/ldconfig @@ -99,19 +95,20 @@ %files %defattr(-,root,root,-) +%doc README.md AUTHORS ChangeLog.md LICENSE %{_libdir}/libconfuse.so.0.0.0 %{_libdir}/libconfuse.so.0 -%doc README NEWS AUTHORS %files -n libconfuse-devel %defattr(-,root,root,-) +%doc doc/html/ doc/tutorial-html/ examples/ %{_libdir}/libconfuse.so %{_libdir}/libconfuse.la %{_libdir}/pkgconfig/libconfuse.pc %{_includedir}/confuse.h %{_mandir}/man3/*.3* -%doc doc/html/ doc/tutorial-html/ examples/ %files lang -f %{pkg_name}.lang +%defattr(-,root,root) %changelog
