forked from pool/rpmlint
- Update to version 13.2+git20150519.278efdf:
+ add ghost file checks + print names of failed tests - fix update_git.sh - make sure tmpfiles are listed in %files (add-check-for-tmpfiles-created-at-r.diff) - don't complain about missingok ghost files (fix-ghost-file-handling.diff) - remove obsolete check for %defattr in spec files (remove-files-attr-not-set-check.diff) OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=328
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">http://github.com/openSUSE/rpmlint-tests.git</param>
|
||||
<param name="changesrevision">6161e6030ac1dfca3557b097ab2b2f330b7a3973</param></service></servicedata>
|
||||
<param name="changesrevision">278efdf8570197e08c9d647af7187119cf891a61</param></service></servicedata>
|
93
add-check-for-tmpfiles-created-at-r.diff
Normal file
93
add-check-for-tmpfiles-created-at-r.diff
Normal file
@@ -0,0 +1,93 @@
|
||||
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
||||
Date: Fri, 5 Sep 2014 12:53:40 +0200
|
||||
Subject: [PATCH] add check for tmpfiles created at runtime
|
||||
|
||||
this check parses files in /usr/lib/tmpfiles.d and verifies that entries
|
||||
that create files or directories are actually listed in %files.
|
||||
---
|
||||
TmpFilesCheck.py | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 76 insertions(+)
|
||||
create mode 100644 TmpFilesCheck.py
|
||||
|
||||
diff --git a/TmpFilesCheck.py b/TmpFilesCheck.py
|
||||
new file mode 100644
|
||||
index 0000000..8c4db8d
|
||||
--- /dev/null
|
||||
+++ b/TmpFilesCheck.py
|
||||
@@ -0,0 +1,76 @@
|
||||
+# -*- coding: utf-8 -*-
|
||||
+#############################################################################
|
||||
+# File : TmpFilesCheck.py
|
||||
+# Package : rpmlint
|
||||
+# Author : Ludwig Nussel
|
||||
+# Created on : Wed Sep 03 10:36 2014
|
||||
+# Purpose : Check systemd created tmpfiles are included in filelist
|
||||
+#############################################################################
|
||||
+
|
||||
+import os
|
||||
+import re
|
||||
+
|
||||
+from Filter import addDetails, printError, printWarning
|
||||
+import AbstractCheck
|
||||
+import Pkg
|
||||
+import stat
|
||||
+
|
||||
+class TmpFilesCheck(AbstractCheck.AbstractCheck):
|
||||
+ '''Check systemd created tmpfiles are included in filelist'''
|
||||
+
|
||||
+ def __init__(self):
|
||||
+ AbstractCheck.AbstractCheck.__init__(self, "TmpFilesCheck")
|
||||
+ self._spec_file = None
|
||||
+
|
||||
+ def check(self, pkg):
|
||||
+ if pkg.isSource():
|
||||
+ return
|
||||
+
|
||||
+ # see tmpfiles.d(5)
|
||||
+ interesting_types = ('f', 'F', 'w', 'd', 'D', 'p', 'L', 'c', 'b')
|
||||
+
|
||||
+ for fn, pkgfile in pkg.files().items():
|
||||
+ if not fn.startswith('/usr/lib/tmpfiles.d/'):
|
||||
+ continue
|
||||
+ if not stat.S_ISREG(pkgfile.mode):
|
||||
+ printWarning(pkg, "tmpfile-not-regular-file", fn)
|
||||
+ continue
|
||||
+ for line in open(pkgfile.path):
|
||||
+ # skip comments
|
||||
+ line = line.split('#')[0].split('\n')[0]
|
||||
+ line = line.lstrip()
|
||||
+ if not len(line):
|
||||
+ continue
|
||||
+ line = re.split(r'\s+', line)
|
||||
+ # format is
|
||||
+ #Type Path Mode UID GID Age Argument
|
||||
+ # we only need type and path
|
||||
+ if len(line) < 3:
|
||||
+ continue
|
||||
+ t = line[0]
|
||||
+ p = line[1]
|
||||
+ if t.endswith('!'):
|
||||
+ t = t[:-1]
|
||||
+ if not t in interesting_types:
|
||||
+ continue
|
||||
+
|
||||
+ if not p in pkg.files():
|
||||
+ printWarning(pkg, "tmpfile-not-in-filelist", p)
|
||||
+ continue
|
||||
+ if not pkg.files()[p].is_ghost:
|
||||
+ printWarning(pkg, "tmpfile-not-ghost", p)
|
||||
+
|
||||
+check = TmpFilesCheck()
|
||||
+
|
||||
+addDetails(
|
||||
+'tmpfile-not-regular-file',
|
||||
+'''files in tmpfiles.d need to be regular files''', # otherwise we won't open it :-)
|
||||
+'tmpfile-not-in-filelist',
|
||||
+'''please add the specified file to your %files section as %ghost so
|
||||
+users can easily query who created the file, it gets uninstalled on
|
||||
+package removal and finally other rpmlint checks see it''',
|
||||
+'tmpfile-not-ghost',
|
||||
+'''the specified file is not marked as %ghost although created at
|
||||
+runtime via tmpfiles mechanism.'''
|
||||
+)
|
||||
+# vim: sw=4 et
|
@@ -1,4 +1,3 @@
|
||||
From 8cacb89fedba57086f1e02d326308142e6d70dbe Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] add-weak-dependencies.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 386f6785bc98ee54066a85c302774c194df2510c Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] avoid-mismatched-libregex.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From e89c19e2d11128280b9fc14289f69c1d785457ff Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] better-wrong-script.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From b0926d6684098407592ef15e24dc83958afe4a38 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] buildroot-doc.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From ab1b397c298c733da39c611938be99c457a0fa9a Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] buildroot-in-scripts.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 37d58a8f4b2b3183354949ce39de151b5d449d9b Mon Sep 17 00:00:00 2001
|
||||
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
||||
Date: Fri, 10 Apr 2015 14:54:18 +0200
|
||||
Subject: [PATCH] check for self provides
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 70e38f94218a96edac50b512807a2cd42f4de187 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
||||
Subject: [PATCH] compressed-backup-regex.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From f4d4e6259fe2cec6b7d111ff3fde6be3043eeda8 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] confusing-invalid-spec-name
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 7209e0c7b0d04b939753c654ca17261be41b448b Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] description-check.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From f22bf06e92c4e092b0dd71cae0bf72dcfae4de96 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] devel-provide-is-devel-package.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 0375b024b39aabdb7d237d95c3163244f2f147ca Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] docdata-examples.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 142dd63355795f86a26db29fc20917b19b57d62a Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
||||
Subject: [PATCH] extend-suse-conffiles-check.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 650e2106a909706246d910463d52a59dfa75b2f4 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] filename-non-utf8-exception.diff
|
||||
|
39
fix-ghost-file-handling.diff
Normal file
39
fix-ghost-file-handling.diff
Normal file
@@ -0,0 +1,39 @@
|
||||
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
||||
Date: Thu, 9 Apr 2015 12:01:29 +0200
|
||||
Subject: [PATCH] fix ghost file handling
|
||||
|
||||
always take into consideration the missingok files when checking for
|
||||
missing ghost files.
|
||||
---
|
||||
PostCheck.py | 18 +++++++++---------
|
||||
1 file changed, 9 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/PostCheck.py b/PostCheck.py
|
||||
index a87964a..aeb18d3 100644
|
||||
--- a/PostCheck.py
|
||||
+++ b/PostCheck.py
|
||||
@@ -123,15 +123,15 @@ class PostCheck(AbstractCheck.AbstractCheck):
|
||||
if ghost_files:
|
||||
postin = pkg[rpm.RPMTAG_POSTIN]
|
||||
prein = pkg[rpm.RPMTAG_PREIN]
|
||||
- if not postin and not prein:
|
||||
- printWarning(pkg, 'ghost-files-without-postin')
|
||||
- else:
|
||||
- for f in ghost_files:
|
||||
- if (not postin or f not in postin) and \
|
||||
- (not prein or f not in prein) and \
|
||||
- f not in pkg.missingOkFiles():
|
||||
- printWarning(pkg,
|
||||
- 'postin-without-ghost-file-creation', f)
|
||||
+ for f in ghost_files:
|
||||
+ if f in pkg.missingOkFiles():
|
||||
+ continue
|
||||
+ if not postin and not prein:
|
||||
+ printWarning(pkg, 'ghost-files-without-postin')
|
||||
+ if (not postin or f not in postin) and \
|
||||
+ (not prein or f not in prein):
|
||||
+ printWarning(pkg,
|
||||
+ 'postin-without-ghost-file-creation', f)
|
||||
|
||||
def check_aux(self, pkg, files, prog, script, tag, prereq):
|
||||
if script:
|
@@ -1,4 +1,3 @@
|
||||
From 7f031242ba0f3d31440bf5c0ecdcd6915c0ffab1 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
||||
Subject: [PATCH] invalid-filerequires.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From aa956808bc3b035e80a77904d8c8d125de311fb8 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] libtool-wrapper-check.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From a6b4dc66618b5284b1e705393111cb26092009d6 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] no-badness-return.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 2c88f9b0eb575a7f528d12863f3af6077664f3c8 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] no-doc-for-lib.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 8a5d81397414727ae834415be81619f2fc92b525 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] noarch-lib64.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From b4792fd36155f64d0ce8b02c12d68535411d7770 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] only-reg-files-are-scripts.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 40b4e731258c4e03f298f27691e22ae4ca650ebb Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
||||
Subject: [PATCH] remove-expand-macros.diff
|
||||
|
55
remove-files-attr-not-set-check.diff
Normal file
55
remove-files-attr-not-set-check.diff
Normal file
@@ -0,0 +1,55 @@
|
||||
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
||||
Date: Tue, 19 May 2015 13:24:34 +0200
|
||||
Subject: [PATCH] remove files-attr-not-set check
|
||||
|
||||
%defattr(-,root,root) is default since rpm 4.4, released > 10
|
||||
years go so it's about time to remove that check
|
||||
---
|
||||
SpecCheck.py | 13 -------------
|
||||
1 file changed, 13 deletions(-)
|
||||
|
||||
diff --git a/SpecCheck.py b/SpecCheck.py
|
||||
index ace044c..4842bef 100644
|
||||
--- a/SpecCheck.py
|
||||
+++ b/SpecCheck.py
|
||||
@@ -63,7 +63,6 @@ biarch_package_regex = re.compile(DEFAULT_BIARCH_PACKAGES)
|
||||
hardcoded_lib_path_exceptions_regex = re.compile(Config.getOption('HardcodedLibPathExceptions', DEFAULT_HARDCODED_LIB_PATH_EXCEPTIONS))
|
||||
use_utf8 = Config.getOption('UseUTF8', Config.USEUTF8_DEFAULT)
|
||||
libdir_regex = re.compile('%{?_lib(?:dir)?\}?\\b')
|
||||
-comment_or_empty_regex = re.compile('^\s*(#|$)')
|
||||
defattr_regex = re.compile('^\s*%defattr\\b')
|
||||
attr_regex = re.compile('^\s*%attr\\b')
|
||||
suse_version_regex = re.compile('%suse_version\s*[<>=]+\s*(\d+)')
|
||||
@@ -179,7 +178,6 @@ class SpecCheck(AbstractCheck.AbstractCheck):
|
||||
patch_fuzz_override = False
|
||||
indent_spaces = 0
|
||||
indent_tabs = 0
|
||||
- files_has_defattr = False
|
||||
section = {}
|
||||
# None == main package
|
||||
current_package = None
|
||||
@@ -230,9 +228,6 @@ class SpecCheck(AbstractCheck.AbstractCheck):
|
||||
|
||||
if section_marker:
|
||||
|
||||
- if current_section == 'files':
|
||||
- files_has_defattr = False
|
||||
-
|
||||
if not is_lib_pkg and lib_package_regex.search(line):
|
||||
is_lib_pkg = True
|
||||
|
||||
@@ -470,14 +465,6 @@ class SpecCheck(AbstractCheck.AbstractCheck):
|
||||
|
||||
if current_section == 'files':
|
||||
|
||||
- if not comment_or_empty_regex.search(line) and not \
|
||||
- (ifarch_regex.search(line) or if_regex.search(line) or
|
||||
- endif_regex.search(line)):
|
||||
- if defattr_regex.search(line):
|
||||
- files_has_defattr = True
|
||||
- elif not (files_has_defattr or attr_regex.search(line)):
|
||||
- printWarning(pkg, 'files-attr-not-set')
|
||||
-
|
||||
# TODO: check scriptlets for these too?
|
||||
if package_noarch.get(current_package) or \
|
||||
(current_package not in package_noarch and
|
@@ -1,4 +1,3 @@
|
||||
From e64c8d7222e0e6418f3dff1cdd2229a5c47286dd Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] rpmgroup-checks.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 2fba34a1d8087aacb178556d0e40923b749e9035 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
||||
Subject: [PATCH] rpmlint-pkg-quoting.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From cb3e5a520e82ca2dd8a952e116067ada26d2497a Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:37 +0200
|
||||
Subject: [PATCH] rpmlint-suse.diff
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc3f81512c3cc6f280e05a906d071aa27c0e866a53510de85a3a6492c940885b
|
||||
size 10060
|
3
rpmlint-tests-13.2+git20150519.278efdf.tar.xz
Normal file
3
rpmlint-tests-13.2+git20150519.278efdf.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:889b4f6c005f69e34bd57410208c93665e14d3a46818c8913757ac17057dc2cc
|
||||
size 10276
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 19 12:21:46 UTC 2015 - lnussel@suse.de
|
||||
|
||||
- Update to version 13.2+git20150519.278efdf:
|
||||
+ add ghost file checks
|
||||
+ print names of failed tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 21 08:59:43 UTC 2015 - lnussel@suse.de
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
BuildRequires: rpmlint-mini
|
||||
|
||||
Name: rpmlint-tests
|
||||
Version: 13.2+git20150410.6161e60
|
||||
Version: 13.2+git20150519.278efdf
|
||||
Release: 0
|
||||
Summary: rpmlint regression tests
|
||||
License: SUSE-Public-Domain
|
||||
|
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 19 11:35:07 UTC 2015 - lnussel@suse.de
|
||||
|
||||
- fix update_git.sh
|
||||
- make sure tmpfiles are listed in %files
|
||||
(add-check-for-tmpfiles-created-at-r.diff)
|
||||
- don't complain about missingok ghost files
|
||||
(fix-ghost-file-handling.diff)
|
||||
- remove obsolete check for %defattr in spec files
|
||||
(remove-files-attr-not-set-check.diff)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 24 07:56:05 UTC 2015 - tserong@suse.com
|
||||
|
||||
|
@@ -106,6 +106,9 @@ Patch47: invalid-filerequires.diff
|
||||
Patch48: suse-sysv-init-checks.diff
|
||||
Patch49: check-for-self-provides.diff
|
||||
Patch50: save-content-to-an-array.diff
|
||||
Patch51: add-check-for-tmpfiles-created-at-r.diff
|
||||
Patch52: fix-ghost-file-handling.diff
|
||||
Patch53: remove-files-attr-not-set-check.diff
|
||||
# PATCHLIST END
|
||||
# BuildArch must at the and. is a bug: https://bugzilla.suse.com/show_bug.cgi?id=926766
|
||||
BuildArch: noarch
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 47b0d8ce1a36006e99ccc5e6c8f75be322b6fbac Mon Sep 17 00:00:00 2001
|
||||
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
||||
Date: Fri, 10 Apr 2015 16:22:26 +0200
|
||||
Subject: [PATCH] save content to an array
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 02de6fffb97981397beb75738c2a2afe4e47fd02 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] script-interpreter-only-for-exec-scripts.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From aecc6b2cfb248014dd769a31a0aeb8f1bcec180b Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] selfconflicts-provide.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 77dda1bf07bd9468e5b0efe15b1b93aca4f460d9 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] sourced-dirs.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From e8167b76e48fdbd98062fa05e72e40fdb98eee96 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] stricter-interpreter-check.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 44ff92a4575956ffdcef5b3aad6ffa284b9f2282 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] suse-binarieschecks.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From e9849cceb327c1a6ebf6d0a4ba0cf15d3256776c Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] suse-check-optional-dependencies.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 80b89c397099061098a00df263ad3c451f2beaf0 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:37 +0200
|
||||
Subject: [PATCH] suse-checks.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 183222dd3232a4f6d8cde5b4b66aa4c49986bdc4 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] suse-filesystem.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 33fa1e8f8c1917d82d26c419321efb7ba9eddc48 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] suse-filter-exception.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 901114eb2ec05cbf2ad16557f0d24cfbc6e8717f Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] suse-filter-more-verbose.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 63be0917d8528f33739c7360631a3a69fa22186c Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
||||
Subject: [PATCH] suse-g-ir-chech.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 70405312535d40c4d3489834af7a1676b10a63ae Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
||||
Subject: [PATCH] suse-ignore-specfile-errors.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 9d8086e75306f2e90ba402514a6c53da507c0467 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
||||
Subject: [PATCH] suse-manpages-for-rc-scripts
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From cc1c035a8d572cd0005d999e4e1f3dc76a31efd4 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] suse-no-run-ldconfig.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From ef47fdf1ddf38ef1ff48b31242a75955042f468f Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] suse-pkg-config-check.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From ebde573491954aa965530c0147d00d4f3400a647 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
||||
Subject: [PATCH] suse-python-abi-check.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 04dd83f02896ad46f4db5b6115e18eb80a5e8bdf Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:37 +0200
|
||||
Subject: [PATCH] suse-python3-naming-policy.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From f32933089f8ee5df3c918bc031d41a143624f7b9 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] suse-shlib-devel-dependency.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From bfd4f480818bccedf8c5a7c45eeaa35f0968c27a Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
||||
Subject: [PATCH] suse-speccheck-utf8.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 738e37c34c66a665012bcf6b123b81717c16d3f3 Mon Sep 17 00:00:00 2001
|
||||
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
||||
Date: Fri, 10 Apr 2015 14:38:22 +0200
|
||||
Subject: [PATCH] suse sysv init checks
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 3c022dc151d18c32c2d3a7f3efdaed0d8ed39245 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:37 +0200
|
||||
Subject: [PATCH] suse-url-check.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 79b3a5168fc9e2be4f74624a63721e6b77c40020 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:37 +0200
|
||||
Subject: [PATCH] suse-version.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 7157c6617f37aae4fd6a0cc3da3f9620b52a1b59 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:40 +0200
|
||||
Subject: [PATCH] suse-whitelist-opensuse.diff
|
||||
|
@@ -14,7 +14,7 @@
|
||||
# ... to rebase to a new version create branch and modify versions below
|
||||
# when done run update_git.sh
|
||||
|
||||
GIT_TREE=git://git.code.sf.net/p/rpmlint/code
|
||||
GIT_TREE=https://github.com/lnussel/rpmlint-code.git
|
||||
GIT_LOCAL_TREE=~/git/rpmlint-code
|
||||
GIT_BRANCH=opensuse-1.6
|
||||
GIT_UPSTREAM_TAG=v1.6
|
||||
@@ -70,9 +70,9 @@ for i in $CMP_DIR/*.tmp; do
|
||||
newname=${newname%.diff} # remove .diff suffix it exist
|
||||
# limit file names to 40 chars before extension
|
||||
newname=${newname:0:40}.diff
|
||||
# remove git signature to make content independent of git
|
||||
# version
|
||||
head -n -3 "$i" > "$CMP_DIR/$newname"
|
||||
# remove git signature and commit hash to make content
|
||||
# independent of git version
|
||||
head -n -3 "$i" | tail -n +2 > "$CMP_DIR/$newname"
|
||||
rm "$i"
|
||||
localname=${newname#*-}
|
||||
patches+=("$localname")
|
||||
@@ -115,7 +115,7 @@ for package in rpmlint; do
|
||||
skip=
|
||||
i=0
|
||||
for patch in "${patches[@]}"; do
|
||||
printf "Patch%02d: %s\n" "$i" "$patch"
|
||||
printf "Patch%02d: %s\n" "$i" "$patch"
|
||||
let i+=1
|
||||
done
|
||||
fi
|
||||
@@ -126,6 +126,7 @@ for package in rpmlint; do
|
||||
skip=1
|
||||
fi
|
||||
done < $package.spec > $package.spec.new
|
||||
mv $package.spec.new $package.spec
|
||||
|
||||
if [ -e qemu.changes.deleted ]; then
|
||||
echo "* Patches dropped:" >> $package.changes.proposed
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 20d0203074b713a337cad87d8db5713bcc0bbf63 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] usr-arch.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From b7555312b3496b9e15bae3d292fa038227c072e0 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
||||
Subject: [PATCH] version-control-internal-file.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 8f5c28a5bce4c922e7b9ab62ad357b2a58e966a2 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] xdg-paths-update.diff
|
||||
|
@@ -1,4 +1,3 @@
|
||||
From 75c0cb8cc089bdbe907c776a78a296d8f1a48cf6 Mon Sep 17 00:00:00 2001
|
||||
From: Some One <nobody@opensuse.org>
|
||||
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
||||
Subject: [PATCH] yast-provides.diff
|
||||
|
Reference in New Issue
Block a user