Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package popt for openSUSE:Factory checked in at 2022-10-03 13:44:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/popt (Old) and /work/SRC/openSUSE:Factory/.popt.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "popt" Mon Oct 3 13:44:37 2022 rev:40 rq:1006596 version:1.19 Changes: -------- --- /work/SRC/openSUSE:Factory/popt/popt.changes 2022-06-16 18:19:34.960026254 +0200 +++ /work/SRC/openSUSE:Factory/.popt.new.2275/popt.changes 2022-10-03 13:44:52.881365182 +0200 @@ -1,0 +2,14 @@ +Sat Sep 17 16:31:44 UTC 2022 - Andreas Stieger <andreas.stie...@gmx.de> + +- popt 1.19: + * various build system fixes + * various developer visible fixes + * Fix the handling of superfluous args passed with = + * Fix multiple resource and memory leaks + * Fix '=' getting shown for short options + * Improve random number handling + * translation updates and documentation improvements +- refresh spec file, run tests, package license in every package, + and treat all compiler warnings and errors + +------------------------------------------------------------------- Old: ---- popt-1.18.tar.gz New: ---- popt-1.19.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ popt.spec ++++++ --- /var/tmp/diff_new_pack.IYZ01r/_old 2022-10-03 13:44:53.397366316 +0200 +++ /var/tmp/diff_new_pack.IYZ01r/_new 2022-10-03 13:44:53.405366334 +0200 @@ -1,7 +1,7 @@ # # spec file for package popt # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,20 +15,21 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define soname libpopt0 Name: popt -Version: 1.18 +Version: 1.19 Release: 0 -#!BuildIgnore: rpmlint-Factory Summary: A C library for parsing command line parameters License: MIT Group: Development/Libraries/C and C++ URL: https://github.com/rpm-software-management/popt Source0: http://ftp.rpm.org/popt/releases/popt-1.x/popt-%{version}.tar.gz Source2: baselibs.conf -Patch: popt-libc-updates.patch +Patch0: popt-libc-updates.patch BuildRequires: libtool BuildRequires: pkgconfig +#!BuildIgnore: rpmlint-Factory %description Popt is a C library for parsing command line parameters. Popt was @@ -57,8 +58,8 @@ %package devel Summary: Development files for the popt library Group: Development/Libraries/C and C++ -Requires: glibc-devel Requires: %{soname} = %{version} +Requires: glibc-devel %description devel The popt-devel package includes header files and libraries necessary @@ -72,31 +73,37 @@ %build autoreconf -fiv -%configure --disable-static +%configure \ + --disable-static \ + --enable-werror \ + %{nil} %make_build %install %make_install -rm %{buildroot}%{_libdir}/libpopt.la +find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} -%post -n %{soname} -p /sbin/ldconfig +%check +%make_build check +%post -n %{soname} -p /sbin/ldconfig %postun -n %{soname} -p /sbin/ldconfig %files -n %{soname} %license COPYING -%doc CHANGES %{_libdir}/libpopt.so.* %files lang -f %{name}.lang +%license COPYING %files devel +%license COPYING %doc README %{_libdir}/libpopt.so %{_includedir}/popt.h -%{_mandir}/man3/popt.3* +%{_mandir}/man3/popt.3%{?ext_man} %{_libdir}/pkgconfig/popt.pc %changelog ++++++ popt-1.18.tar.gz -> popt-1.19.tar.gz ++++++ ++++ 20188 lines of diff (skipped) ++++++ popt-libc-updates.patch ++++++ --- /var/tmp/diff_new_pack.IYZ01r/_old 2022-10-03 13:44:53.565366686 +0200 +++ /var/tmp/diff_new_pack.IYZ01r/_new 2022-10-03 13:44:53.569366695 +0200 @@ -1,44 +1,43 @@ -Index: configure.ac +Index: popt-1.19/configure.ac =================================================================== ---- a/configure.ac -+++ b/configure.ac -@@ -9,7 +9,6 @@ +--- popt-1.19.orig/configure.ac ++++ popt-1.19/configure.ac +@@ -9,7 +9,6 @@ AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([1.10 foreign -Wall]) - - AC_PROG_CC_STDC + + m4_version_prereq([2.70], [], [AC_PROG_CC_STDC]) -AC_PROG_CC AC_USE_SYSTEM_EXTENSIONS AM_PROG_AR - -Index: src/system.h + +Index: popt-1.19/src/system.h =================================================================== ---- a/src/system.h -+++ b/src/system.h +--- popt-1.19.orig/src/system.h ++++ popt-1.19/src/system.h @@ -2,9 +2,7 @@ - * \file popt/system.h + * @file */ - + -#ifdef HAVE_CONFIG_H #include "config.h" -#endif - + #include <ctype.h> - -@@ -57,6 +55,8 @@ + +@@ -57,6 +55,8 @@ static inline char * stpcpy (char *dest, #define getenv(_s) secure_getenv(_s) #elif defined(HAVE___SECURE_GETENV) #define getenv(_s) __secure_getenv(_s) +#else +#error neither secure_getenv nor __secure_getenv is available #endif - + #if !defined(__GNUC__) && !defined(__attribute__) - -Index: src/popt.c +Index: popt-1.19/src/popt.c =================================================================== ---- a/src/popt.c -+++ b/src/popt.c -@@ -197,7 +197,7 @@ poptContext poptGetContext(const char * +--- popt-1.19.orig/src/popt.c ++++ popt-1.19/src/popt.c +@@ -181,7 +181,7 @@ poptContext poptGetContext(const char * con->execAbsolute = 1; con->arg_strip = NULL; @@ -47,7 +46,7 @@ con->flags |= POPT_CONTEXT_POSIXMEHARDER; if (name) -@@ -442,7 +442,7 @@ const char * findProgramPath(/*@null@*/ +@@ -418,7 +418,7 @@ const char * findProgramPath(const char if (strchr(argv0, '/')) return xstrdup(argv0); @@ -56,7 +55,7 @@ return NULL; /* The return buffer in t is big enough for any path. */ -@@ -1706,6 +1706,7 @@ const char * poptBadOption(poptContext c +@@ -1633,6 +1633,7 @@ const char * poptBadOption(poptContext c const char * poptStrerror(const int error) { @@ -64,7 +63,7 @@ switch (error) { case POPT_ERROR_NOARG: return POPT_("missing argument"); -@@ -1728,7 +1729,7 @@ const char * poptStrerror(const int erro +@@ -1657,7 +1658,7 @@ const char * poptStrerror(const int erro case POPT_ERROR_BADCONFIG: return POPT_("config file failed sanity test"); case POPT_ERROR_ERRNO: @@ -73,11 +72,11 @@ default: return POPT_("unknown error"); } -Index: src/poptconfig.c +Index: popt-1.19/src/poptconfig.c =================================================================== ---- a/src/poptconfig.c -+++ b/src/poptconfig.c -@@ -540,7 +540,7 @@ int poptReadDefaultConfig(poptContext co +--- popt-1.19.orig/src/poptconfig.c ++++ popt-1.19/src/poptconfig.c +@@ -467,7 +467,7 @@ int poptReadDefaultConfig(poptContext co if (rc) goto exit; #endif