diff --git a/_servicedata b/_servicedata index 112eac1..6a739b6 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/openSUSE/rpmlint-tests.git - 75524278ef7de3efc70f0fa14016f1aac4e77d36 + e27d43198d06699c9a705b71e2d511a94efab752 https://github.com/openSUSE/rpmlint-checks.git - 0528a49399ccabaae220fa8b452b8f9a082e48c9 \ No newline at end of file + 97ff0bdbab5a7039bd4a6551772cf9446ab01d70 \ No newline at end of file diff --git a/add-check-for-a-non-zero-.text-segment-in-.a-archive.patch b/add-check-for-a-non-zero-.text-segment-in-.a-archive.patch index 2044f43..e005d5d 100644 --- a/add-check-for-a-non-zero-.text-segment-in-.a-archive.patch +++ b/add-check-for-a-non-zero-.text-segment-in-.a-archive.patch @@ -1,7 +1,7 @@ -diff --git a/BinariesCheck.py b/BinariesCheck.py -index 36d73f8..0fb91db 100644 ---- a/BinariesCheck.py -+++ b/BinariesCheck.py +Index: rpmlint-rpmlint-1.11/BinariesCheck.py +=================================================================== +--- rpmlint-rpmlint-1.11.orig/BinariesCheck.py ++++ rpmlint-rpmlint-1.11/BinariesCheck.py @@ -73,6 +73,10 @@ class BinaryInfo(object): mktemp_call_regex = create_regexp_call('mktemp') lto_section_name_prefix = '.gnu.lto_.' @@ -35,7 +35,7 @@ index 36d73f8..0fb91db 100644 lines = res[1].splitlines() + + # For an archive, test if all .text sections are empty -+ if is_archive: ++ if is_archive and not (path.startswith('/usr/lib64/ghc') or path.startswith('/usr/lib/ghc')): + has_text_segment = False + non_zero_text_segment = False + @@ -54,7 +54,7 @@ index 36d73f8..0fb91db 100644 for line in lines: if BinaryInfo.lto_section_name_prefix in line: self.lto_sections = True -@@ -522,6 +546,9 @@ class BinariesCheck(AbstractCheck.AbstractCheck): +@@ -522,6 +546,9 @@ class BinariesCheck(AbstractCheck.Abstra if bin_info.lto_sections: printError(pkg, 'lto-bytecode', fname) @@ -64,7 +64,7 @@ index 36d73f8..0fb91db 100644 for ec in bin_info.forbidden_calls: printWarning(pkg, ec, fname, BinaryInfo.forbidden_functions[ec]['f_name']) -@@ -846,6 +873,10 @@ implementations only strip if the permission is 0755).''', +@@ -846,6 +873,10 @@ implementations only strip if the permis 'lto-bytecode', '''This executable contains a LTO section. LTO bytecode is not portable and should not be distributed in static libraries or e.g. Python modules.''', diff --git a/config b/config index 7439ce5..c430d2f 100644 --- a/config +++ b/config @@ -70,256 +70,10 @@ setOption('UseVarLockSubsys', False) setOption('UseVersionInChangelog', False) setOption("BadnessThreshold", 1000) -# keep in sync with https://en.opensuse.org/openSUSE:Package_group_guidelines -setOption('ValidGroups', [ - 'Amusements/Games/3D/Other', - 'Amusements/Games/3D/Race', - 'Amusements/Games/3D/Shoot', - 'Amusements/Games/3D/Simulation', - 'Amusements/Games/Action/Arcade', - 'Amusements/Games/Action/Breakout', - 'Amusements/Games/Action/Other', - 'Amusements/Games/Action/Race', - 'Amusements/Games/Action/Shoot', - 'Amusements/Games/Board/Card', - 'Amusements/Games/Board/Chess', - 'Amusements/Games/Board/Other', - 'Amusements/Games/Board/Pool', - 'Amusements/Games/Board/Puzzle', - 'Amusements/Games/Logic', - 'Amusements/Games/Other', - 'Amusements/Games/RPG', - 'Amusements/Games/Strategy/Other', - 'Amusements/Games/Strategy/Real Time', - 'Amusements/Games/Strategy/Turn Based', - 'Amusements/Teaching/Language', - 'Amusements/Teaching/Mathematics', - 'Amusements/Teaching/Other', - 'Amusements/Toys/Background', - 'Amusements/Toys/Clocks', - 'Amusements/Toys/Graphics', - 'Amusements/Toys/Other', - 'Amusements/Toys/Screensavers', - 'Development/Languages/C and C++', - 'Development/Languages/Fortran', - 'Development/Languages/Go', - 'Development/Languages/Haskell', - 'Development/Languages/Java', - 'Development/Languages/Lua', - 'Development/Languages/NodeJS', - 'Development/Languages/OCaml', - 'Development/Languages/Other', - 'Development/Languages/Perl', - 'Development/Languages/Python', - 'Development/Languages/Ruby', - 'Development/Languages/Rust', - 'Development/Languages/Scheme', - 'Development/Languages/Tcl', - 'Development/Libraries/C and C++', - 'Development/Libraries/Cross', - 'Development/Libraries/GNOME', - 'Development/Libraries/Haskell', - 'Development/Libraries/Java', - 'Development/Libraries/KDE', - 'Development/Libraries/Other', - 'Development/Libraries/Parallel', - 'Development/Libraries/Perl', - 'Development/Libraries/Python', - 'Development/Libraries/Rust', - 'Development/Libraries/Tcl', - 'Development/Libraries/X11', - 'Development/Libraries/YaST', - 'Development/Sources', - 'Development/Tools/Building', - 'Development/Tools/Debuggers', - 'Development/Tools/Doc Generators', - 'Development/Tools/GUI Builders', - 'Development/Tools/IDE', - 'Development/Tools/Navigators', - 'Development/Tools/Other', - 'Development/Tools/Version Control', - 'Documentation/Howto', - 'Documentation/HTML', - 'Documentation/Man', - 'Documentation/NodeJS', - 'Documentation/Other', - 'Documentation/SUSE', - 'Hardware/Camera', - 'Hardware/Fax', - 'Hardware/ISDN', - 'Hardware/Joystick', - 'Hardware/Mobile', - 'Hardware/Modem', - 'Hardware/Other', - 'Hardware/Palm', - 'Hardware/Printing', - 'Hardware/Psion', - 'Hardware/Radio', - 'Hardware/Scanner', - 'Hardware/TV', - 'Hardware/UPS', - 'Hardware/Wifi', - 'Metapackages', - 'Productivity/Archiving/Backup', - 'Productivity/Archiving/Compression', - 'Productivity/Clustering/Computing', - 'Productivity/Clustering/HA', - 'Productivity/Databases/Clients', - 'Productivity/Databases/Servers', - 'Productivity/Databases/Tools', - 'Productivity/File utilities', - 'Productivity/Graphics/3D Editors', - 'Productivity/Graphics/Bitmap Editors', - 'Productivity/Graphics/CAD', - 'Productivity/Graphics/Convertors', - 'Productivity/Graphics/Other', - 'Productivity/Graphics/Vector Editors', - 'Productivity/Graphics/Viewers', - 'Productivity/Graphics/Visualization/Graph', - 'Productivity/Graphics/Visualization/Other', - 'Productivity/Graphics/Visualization/Raytracers', - 'Productivity/Hamradio/Fax', - 'Productivity/Hamradio/Logging', - 'Productivity/Hamradio/Morse', - 'Productivity/Hamradio/Other', - 'Productivity/Hamradio/Packet', - 'Productivity/Hamradio/Psk31', - 'Productivity/Hamradio/Satellite', - 'Productivity/Multimedia/CD/Grabbers', - 'Productivity/Multimedia/CD/Players', - 'Productivity/Multimedia/CD/Record', - 'Productivity/Multimedia/Other', - 'Productivity/Multimedia/Sound/Editors and Convertors', - 'Productivity/Multimedia/Sound/Midi', - 'Productivity/Multimedia/Sound/Mixers', - 'Productivity/Multimedia/Sound/Players', - 'Productivity/Multimedia/Sound/Utilities', - 'Productivity/Multimedia/Sound/Visualization', - 'Productivity/Multimedia/Video/Editors and Convertors', - 'Productivity/Multimedia/Video/Players', - 'Productivity/Networking/AOLInstantMessenger', - 'Productivity/Networking/Archie', - 'Productivity/Networking/Boot/Clients', - 'Productivity/Networking/Boot/Servers', - 'Productivity/Networking/Boot/Utilities', - 'Productivity/Networking/Diagnostic', - 'Productivity/Networking/DNS/Servers', - 'Productivity/Networking/DNS/Utilities', - 'Productivity/Networking/Email/Clients', - 'Productivity/Networking/Email/Mailinglists', - 'Productivity/Networking/Email/Servers', - 'Productivity/Networking/Email/Utilities', - 'Productivity/Networking/File-Sharing', - 'Productivity/Networking/Ftp/Clients', - 'Productivity/Networking/Ftp/Servers', - 'Productivity/Networking/ICQ', - 'Productivity/Networking/Instant Messenger', - 'Productivity/Networking/IRC', - 'Productivity/Networking/LDAP/Clients', - 'Productivity/Networking/LDAP/Servers', - 'Productivity/Networking/LDAP/Utilities', - 'Productivity/Networking/Napster', - 'Productivity/Networking/News/Clients', - 'Productivity/Networking/News/Servers', - 'Productivity/Networking/News/Utilities', - 'Productivity/Networking/NFS', - 'Productivity/Networking/NIS', - 'Productivity/Networking/Novell', - 'Productivity/Networking/Other', - 'Productivity/Networking/PPP', - 'Productivity/Networking/Radius/Clients', - 'Productivity/Networking/Radius/Servers', - 'Productivity/Networking/Routing', - 'Productivity/Networking/Samba', - 'Productivity/Networking/Security', - 'Productivity/Networking/SSH', - 'Productivity/Networking/System', - 'Productivity/Networking/Talk/Clients', - 'Productivity/Networking/Talk/Servers', - 'Productivity/Networking/Web/Browsers', - 'Productivity/Networking/Web/Frontends', - 'Productivity/Networking/Web/Proxy', - 'Productivity/Networking/Web/Servers', - 'Productivity/Networking/Web/Utilities', - 'Productivity/Office/Dictionary', - 'Productivity/Office/Finance', - 'Productivity/Office/Management', - 'Productivity/Office/Organizers', - 'Productivity/Office/Other', - 'Productivity/Office/Spreadsheets', - 'Productivity/Office/Suite', - 'Productivity/Office/Word Processor', - 'Productivity/Other', - 'Productivity/Publishing/DocBook', - 'Productivity/Publishing/HTML/Editors', - 'Productivity/Publishing/HTML/Tools', - 'Productivity/Publishing/Other', - 'Productivity/Publishing/PDF', - 'Productivity/Publishing/Presentation', - 'Productivity/Publishing/PS', - 'Productivity/Publishing/SGML', - 'Productivity/Publishing/TeX/Base', - 'Productivity/Publishing/TeX/Fonts', - 'Productivity/Publishing/TeX/Frontends', - 'Productivity/Publishing/Texinfo', - 'Productivity/Publishing/TeX/Utilities', - 'Productivity/Publishing/Troff', - 'Productivity/Publishing/Word', - 'Productivity/Publishing/XML', - 'Productivity/Scientific/Astronomy', - 'Productivity/Scientific/Chemistry', - 'Productivity/Scientific/Electronics', - 'Productivity/Scientific/Math', - 'Productivity/Scientific/Other', - 'Productivity/Scientific/Physics', - 'Productivity/Security', - 'Productivity/Telephony/Clients', - 'Productivity/Telephony/H323/Clients', - 'Productivity/Telephony/H323/Servers', - 'Productivity/Telephony/H323/Utilities', - 'Productivity/Telephony/Servers', - 'Productivity/Telephony/SIP/Clients', - 'Productivity/Telephony/SIP/Servers', - 'Productivity/Telephony/SIP/Utilities', - 'Productivity/Telephony/Utilities', - 'Productivity/Text/Convertors', - 'Productivity/Text/Editors', - 'Productivity/Text/Spell', - 'Productivity/Text/Utilities', - 'System/Base', - 'System/Benchmark', - 'System/Boot', - 'System/Console', - 'System/Daemons', - 'System/Emulators/Other', - 'System/Emulators/PC', - 'System/Fhs', - 'System/Filesystems', - 'System/GUI/GNOME', - 'System/GUI/KDE', - 'System/GUI/LXDE', - 'System/GUI/Other', - 'System/GUI/XFCE', - 'System/I18n/Chinese', - 'System/I18n/Japanese', - 'System/I18n/Korean', - 'System/Kernel', - 'System/Libraries', - 'System/Localization', - 'System/Management', - 'System/Monitoring', - 'System/Packages', - 'System/Shells', - 'System/Sound Daemons', - 'System/X11/Displaymanagers', - 'System/X11/Fonts', - 'System/X11/Icons', - 'System/X11/Servers/XF86_3', - 'System/X11/Servers/XF86_4', - 'System/X11/Terminals', - 'System/X11/Utilities', - 'System/YaST', -]) +# do not validate package rpm groups +addFilter('.*devel-package-with-non-devel-group.*') +addFilter('.*no-group-tag.*') +addFilter('.*non-standard-group.*') setOption('StandardGroups', ( 'aegis', @@ -1153,7 +907,9 @@ setOption("PAMModules.WhiteList", ( # pam_oath (bsc#1089114) "pam_oath.so", # pam_p11 (bsc#1123916) - "pam_p11.so" + "pam_p11.so", + # pam_envoy (bsc#1150525) + "pam_envoy.so" )) # Output filters diff --git a/rpmlint-checks-master.tar.xz b/rpmlint-checks-master.tar.xz index 786df24..de6a454 100644 --- a/rpmlint-checks-master.tar.xz +++ b/rpmlint-checks-master.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:580b815042f0312cae37d9ca121986fd25964c20bd6a270f5336c0f1b6fd7d12 -size 25436 +oid sha256:4bf956990e374387c24c2906ba36dc2ec321e3c13a0a0d5f839b3a81c964dc30 +size 25432 diff --git a/rpmlint-tests-84.87+git20190717.48212cf.tar.xz b/rpmlint-tests-84.87+git20190717.48212cf.tar.xz deleted file mode 100644 index 361bb04..0000000 --- a/rpmlint-tests-84.87+git20190717.48212cf.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9b1278b70a918265b97f4d2c1e726d27985f210aa25e768e52870eb8b2548899 -size 11684 diff --git a/rpmlint-tests-84.87+git20190920.e27d431.tar.xz b/rpmlint-tests-84.87+git20190920.e27d431.tar.xz new file mode 100644 index 0000000..3ed31a3 --- /dev/null +++ b/rpmlint-tests-84.87+git20190920.e27d431.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9a6b8d586b8b87e9cb410d17381911988dc564daa8b177c75fbb19c788439b1 +size 11620 diff --git a/rpmlint-tests.changes b/rpmlint-tests.changes index ae4852c..19c80e7 100644 --- a/rpmlint-tests.changes +++ b/rpmlint-tests.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Sep 20 13:22:14 UTC 2019 - mimi.vx@gmail.com + +- Update to version 84.87+git20190920.e27d431: + * Fix tests with disabled 'group' checks + +------------------------------------------------------------------- +Wed Aug 28 06:32:18 UTC 2019 - tchvatal@suse.com + +- Update to version 84.87+git20190828.2c92180: + * Revert "added LTO errors as expected for debug tests" + +------------------------------------------------------------------- +Wed Aug 28 01:08:27 UTC 2019 - tchvatal@suse.com + +- Update to version 84.87+git20190828.8fa8ac5: + * Do not use -flto for debug tests. + ------------------------------------------------------------------- Tue Aug 20 07:40:56 UTC 2019 - kukuk@suse.com diff --git a/rpmlint-tests.spec b/rpmlint-tests.spec index 36c39f7..39c4555 100644 --- a/rpmlint-tests.spec +++ b/rpmlint-tests.spec @@ -24,7 +24,7 @@ BuildRequires: rpmlint-Factory-strict BuildRequires: rpmlint-mini Name: rpmlint-tests -Version: 84.87+git20190717.48212cf +Version: 84.87+git20190920.e27d431 Release: 0 Summary: rpmlint regression tests License: SUSE-Public-Domain diff --git a/rpmlint.changes b/rpmlint.changes index a0b69b0..8eb47f7 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Fri Sep 20 16:04:10 UTC 2019 - Malte Kraus + +- whitelist pam_envoy (bsc#1150525) + +------------------------------------------------------------------- +Fri Sep 20 13:06:47 UTC 2019 - Ondřej Súkup + +- update add-check-for-a-non-zero-.text-segment-in-.a-archive.patch + * dont check empty .text section on GHC libraries + +------------------------------------------------------------------- +Tue Sep 17 12:35:25 UTC 2019 - dmueller@suse.com + +- Update rpmlint-checks to version master: + * CheckFilelist: Add /usr/libexec to set of good prefixes + +------------------------------------------------------------------- +Wed Aug 28 06:32:18 UTC 2019 - tchvatal@suse.com + +- Update to version 84.87+git20190828.2c92180: + * Revert "added LTO errors as expected for debug tests" + +------------------------------------------------------------------- +Wed Aug 28 01:08:27 UTC 2019 - tchvatal@suse.com + +- Update to version 84.87+git20190828.8fa8ac5: + * Do not use -flto for debug tests. + +------------------------------------------------------------------- +Wed Aug 28 00:56:35 UTC 2019 - Tomáš Chvátal + +- Do not validate rpm groups to avoid rpmlint warning as the group + is not really mandatory (fate#326485) + ------------------------------------------------------------------- Thu Aug 22 08:56:44 UTC 2019 - Ludwig Nussel