Hello community, here is the log from the commit of package rpmlint for openSUSE:Factory checked in at 2016-08-05 18:12:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rpmlint (Old) and /work/SRC/openSUSE:Factory/.rpmlint.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rpmlint" Changes: -------- --- /work/SRC/openSUSE:Factory/rpmlint/rpmlint-tests.changes 2016-03-18 21:31:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rpmlint.new/rpmlint-tests.changes 2016-08-05 18:12:04.000000000 +0200 @@ -1,0 +2,14 @@ +Mon Jul 25 14:27:40 UTC 2016 - [email protected] + +- Update to version 13.2+git20160725.8d99488: + * add check for calls to gethostbyname and similar + * add check for correct invocation of chroot +- remove rpmlint-check-gethostbyname.patch + +------------------------------------------------------------------- +Fri Jul 8 10:54:14 UTC 2016 - [email protected] + +- BuildRequire rpmlint-Factory-strict to have same config on all + releases, fixes failed tests on Tumbleweed + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/rpmlint/rpmlint.changes 2016-07-10 18:45:18.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rpmlint.new/rpmlint.changes 2016-08-05 18:12:04.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jul 25 14:27:42 UTC 2016 - [email protected] + +- rpmlint-checks: + * Fix typo in BrandingPolicyCheck.py + +------------------------------------------------------------------- @@ -6,0 +13 @@ +------------------------------------------------------------------- Old: ---- rpmlint-check-gethostbyname.patch rpmlint-tests-13.2+git20151130.b31588d.tar.xz New: ---- rpmlint-tests-13.2+git20160725.8d99488.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpmlint-tests.spec ++++++ --- /var/tmp/diff_new_pack.UC4Zmg/_old 2016-08-05 18:12:06.000000000 +0200 +++ /var/tmp/diff_new_pack.UC4Zmg/_new 2016-08-05 18:12:06.000000000 +0200 @@ -19,10 +19,11 @@ #!BuildIgnore: post-build-checks brp-check-suse +BuildRequires: rpmlint-Factory-strict BuildRequires: rpmlint-mini Name: rpmlint-tests -Version: 13.2+git20151130.b31588d +Version: 13.2+git20160725.8d99488 Release: 0 Summary: rpmlint regression tests License: SUSE-Public-Domain @@ -30,7 +31,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.opensuse.org/ Source: rpmlint-tests-%version.tar.xz -Patch0: rpmlint-check-gethostbyname.patch %description This package doesn't actually contain any files and is not meant to @@ -39,7 +39,6 @@ %prep %setup -q -%patch0 -p1 %build mkdir rpms ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.UC4Zmg/_old 2016-08-05 18:12:06.000000000 +0200 +++ /var/tmp/diff_new_pack.UC4Zmg/_new 2016-08-05 18:12:06.000000000 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">http://github.com/openSUSE/rpmlint-tests.git</param> - <param name="changesrevision">b31588d9076441797615257409385f2ae2a9f853</param></service><service name="tar_scm"> + <param name="changesrevision">8d99488dee290853c470199fa1fe80aec8e33784</param></service><service name="tar_scm"> <param name="url">http://github.com/openSUSE/rpmlint-checks.git</param> - <param name="changesrevision">d0808a2802827878acce9ea1e7a1c6226ac79f95</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">08a7268fa35a0a043199bb3f32172c26e69f1ad3</param></service></servicedata> \ No newline at end of file ++++++ rpmlint-checks-master.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-checks-master/BrandingPolicyCheck.py new/rpmlint-checks-master/BrandingPolicyCheck.py --- old/rpmlint-checks-master/BrandingPolicyCheck.py 2015-05-20 10:45:11.000000000 +0200 +++ new/rpmlint-checks-master/BrandingPolicyCheck.py 2016-07-25 16:27:42.000000000 +0200 @@ -108,7 +108,7 @@ if Config.info: addDetails( 'suse-branding-specific-branding-req', -"""packages must not require a specific branding or theme package to allow for differnt themes""", +"""packages must not require a specific branding or theme package to allow for different themes""", 'suse-branding-no-branding-provides', """Please add a provides entry similar to 'Provides: %name-branding = %version'.""", 'suse-branding-unversioned-provides', ++++++ rpmlint-tests-13.2+git20151130.b31588d.tar.xz -> rpmlint-tests-13.2+git20160725.8d99488.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20151130.b31588d/tests/chroot.ignore new/rpmlint-tests-13.2+git20160725.8d99488/tests/chroot.ignore --- old/rpmlint-tests-13.2+git20151130.b31588d/tests/chroot.ignore 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests-13.2+git20160725.8d99488/tests/chroot.ignore 2016-07-25 16:27:39.000000000 +0200 @@ -0,0 +1,3 @@ +#addFilter(" files-duplicate") +addFilter(" no-manual-page-for-binary ") +#addFilter(" no-binary") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20151130.b31588d/tests/chroot.ref new/rpmlint-tests-13.2+git20160725.8d99488/tests/chroot.ref --- old/rpmlint-tests-13.2+git20151130.b31588d/tests/chroot.ref 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests-13.2+git20160725.8d99488/tests/chroot.ref 2016-07-25 16:27:39.000000000 +0200 @@ -0,0 +1,2 @@ +chroot: W: missing-call-to-chdir-with-chroot /usr/bin/call_chroot +1 packages and 0 specfiles checked; 0 errors, 1 warnings. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20151130.b31588d/tests/chroot.spec new/rpmlint-tests-13.2+git20160725.8d99488/tests/chroot.spec --- old/rpmlint-tests-13.2+git20151130.b31588d/tests/chroot.spec 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests-13.2+git20160725.8d99488/tests/chroot.spec 2016-07-25 16:27:39.000000000 +0200 @@ -0,0 +1,58 @@ +Name: chroot +Version: 0 +Release: 0 +Group: Development/Tools/Building +Summary: Lorem ipsum +License: GPL-2.0+ +BuildRoot: %_tmppath/%name-%version-build +Url: http://www.opensuse.org/ + +%description +Lorem ipsum dolor sit amet, consectetur adipisici elit, sed +eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim +ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut +aliquid ex ea commodi consequat. Quis aute iure reprehenderit in +voluptate velit esse cillum dolore eu fugiat nulla pariatur. +Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui +officia deserunt mollit anim id est laborum. + +%prep +%build +# int chroot(const char *path); +# int chdir(const char *path); + +cat <<EOF > call_chroot.c +#include <unistd.h> +int main(void) +{ + return chroot("") > 0; +} +EOF + +cat <<EOF > call_chroot_with_chdir.c +#include <unistd.h> +int main(void) +{ + int a = chroot(""); + int b = chdir(""); + return a + b; +} +EOF + +%install +for f in chroot chroot_with_chdir; do + gcc $RPM_OPT_FLAGS -o call_$f call_$f.c + strip call_$f + install -D -m 755 call_$f %buildroot/usr/bin/call_$f +done + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root) +/usr/bin/* + +%changelog +* Tue Jul 12 2016 [email protected] +- dummy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20151130.b31588d/tests/gethostbyname.ignore new/rpmlint-tests-13.2+git20160725.8d99488/tests/gethostbyname.ignore --- old/rpmlint-tests-13.2+git20151130.b31588d/tests/gethostbyname.ignore 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests-13.2+git20160725.8d99488/tests/gethostbyname.ignore 2016-07-25 16:27:39.000000000 +0200 @@ -0,0 +1,3 @@ +#addFilter(" files-duplicate") +addFilter(" no-manual-page-for-binary ") +#addFilter(" no-binary") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20151130.b31588d/tests/gethostbyname.ref new/rpmlint-tests-13.2+git20160725.8d99488/tests/gethostbyname.ref --- old/rpmlint-tests-13.2+git20151130.b31588d/tests/gethostbyname.ref 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests-13.2+git20160725.8d99488/tests/gethostbyname.ref 2016-07-25 16:27:39.000000000 +0200 @@ -0,0 +1,7 @@ +gethostbyname: I: binary-or-shlib-calls-gethostbyname /usr/bin/call_gethostbyaddr +gethostbyname: I: binary-or-shlib-calls-gethostbyname /usr/bin/call_gethostbyname2 +gethostbyname: I: binary-or-shlib-calls-gethostbyname /usr/bin/call_gethostbyname +gethostbyname: I: binary-or-shlib-calls-gethostbyname /usr/bin/call_gethostbyname2_r +gethostbyname: I: binary-or-shlib-calls-gethostbyname /usr/bin/call_gethostbyaddr_r +gethostbyname: I: binary-or-shlib-calls-gethostbyname /usr/bin/call_gethostbyname_r +1 packages and 0 specfiles checked; 0 errors, 0 warnings. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20151130.b31588d/tests/gethostbyname.spec new/rpmlint-tests-13.2+git20160725.8d99488/tests/gethostbyname.spec --- old/rpmlint-tests-13.2+git20151130.b31588d/tests/gethostbyname.spec 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests-13.2+git20160725.8d99488/tests/gethostbyname.spec 2016-07-25 16:27:39.000000000 +0200 @@ -0,0 +1,86 @@ +Name: gethostbyname +Version: 0 +Release: 0 +Group: Development/Tools/Building +Summary: Lorem ipsum +License: GPL-2.0+ +BuildRoot: %_tmppath/%name-%version-build +Url: http://www.opensuse.org/ + +%description +Lorem ipsum dolor sit amet, consectetur adipisici elit, sed +eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim +ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut +aliquid ex ea commodi consequat. Quis aute iure reprehenderit in +voluptate velit esse cillum dolore eu fugiat nulla pariatur. +Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui +officia deserunt mollit anim id est laborum. + +%prep +%build + +cat <<EOF > call_gethostbyname.c +#include <netdb.h> +int main(void) +{ + return gethostbyname("") > 0; +} +EOF + +cat <<EOF > call_gethostbyname2.c +#include <netdb.h> +int main(void) +{ + return gethostbyname2("", 0) > 0; +} +EOF + +cat <<EOF > call_gethostbyaddr.c +#include <netdb.h> +int main(void) +{ + return gethostbyaddr(0, 0, 0) > 0; +} +EOF + +cat <<EOF > call_gethostbyaddr_r.c +#include <netdb.h> +int main(void) +{ + return gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0, 0) > 0; +} +EOF + +cat <<EOF > call_gethostbyname_r.c +#include <netdb.h> +int main(void) +{ + return gethostbyname_r("", 0, 0, 0, 0, 0) > 0; +} +EOF + +cat <<EOF > call_gethostbyname2_r.c +#include <netdb.h> +int main(void) +{ + return gethostbyname2_r("", 0, 0, 0, 0, 0, 0) > 0; +} +EOF + +%install +for f in gethostbyname gethostbyname2 gethostbyaddr gethostbyaddr_r gethostbyname_r gethostbyname2_r; do + gcc $RPM_OPT_FLAGS -o call_$f call_$f.c + strip call_$f + install -D -m 755 call_$f %buildroot/usr/bin/call_$f +done + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root) +/usr/bin/* + +%changelog +* Sat Mar 05 2016 [email protected] +- dummy
