diff --git a/_servicedata b/_servicedata index f6955ba..6a739b6 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/openSUSE/rpmlint-tests.git - 2c9218051574232af0a669a831884469dee6f06a + e27d43198d06699c9a705b71e2d511a94efab752 https://github.com/openSUSE/rpmlint-checks.git 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/rpmlint-tests-84.87+git20190828.2c92180.tar.xz b/rpmlint-tests-84.87+git20190828.2c92180.tar.xz deleted file mode 100644 index ed5d88b..0000000 --- a/rpmlint-tests-84.87+git20190828.2c92180.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4906aadbe8287b5740fe141ae8ef15a3d520e0bf1346aa772d65840e838a29bd -size 11644 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 dd6bacb..19c80e7 100644 --- a/rpmlint-tests.changes +++ b/rpmlint-tests.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/rpmlint-tests.spec b/rpmlint-tests.spec index d9f180e..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+git20190828.2c92180 +Version: 84.87+git20190920.e27d431 Release: 0 Summary: rpmlint regression tests License: SUSE-Public-Domain diff --git a/rpmlint.changes b/rpmlint.changes index 80e79c5..8eb47f7 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -3,6 +3,12 @@ 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