Hello community, here is the log from the commit of package rpmlint for openSUSE:Factory checked in at Mon Apr 5 18:53:52 CEST 2010. -------- --- rpmlint/rpmlint.changes 2010-03-25 22:45:35.000000000 +0100 +++ /mounts/work_src_done/STABLE/rpmlint/rpmlint.changes 2010-04-02 13:54:50.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Apr 2 13:53:56 CEST 2010 - dmueller@suse.de + +- rediff some suse specific patches + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- disable-menu-check.diff New: ---- suse-url-check.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpmlint.spec ++++++ --- /var/tmp/diff_new_pack.0PbOlU/_old 2010-04-05 18:53:00.000000000 +0200 +++ /var/tmp/diff_new_pack.0PbOlU/_new 2010-04-05 18:53:00.000000000 +0200 @@ -23,7 +23,7 @@ BuildRequires: rpm-python Summary: Rpm correctness checker Version: 0.95 -Release: 1 +Release: 2 Source0: %{name}-%{version}.tar.bz2 Source1: config Source1001: config.in @@ -56,12 +56,12 @@ Requires: python-magic BuildArch: noarch Patch0: rpmlint-suse.diff +Patch1: suse-checks.diff Patch2: suse-version.diff -Patch3: disable-menu-check.diff +Patch3: suse-url-check.diff Patch4: invalid-filerequires.diff Patch5: suse-bzip-bigger-than-100k.diff Patch6: suse-filesystem.diff -Patch7: suse-checks.diff Patch8: suse-debuginfo.diff Patch9: no-doc-for-lib.diff Patch10: add-scoring-support.diff @@ -126,13 +126,12 @@ %prep %setup -q -n rpmlint-%{version} %patch0 +%patch1 %patch2 %patch3 %patch4 -# needs rediff -#%patch5 +%patch5 %patch6 -%patch7 %patch8 %patch9 #%patch10 ++++++ config ++++++ --- /var/tmp/diff_new_pack.0PbOlU/_old 2010-04-05 18:53:00.000000000 +0200 +++ /var/tmp/diff_new_pack.0PbOlU/_new 2010-04-05 18:53:00.000000000 +0200 @@ -167,6 +167,7 @@ addFilter("libzypp.*shlib-policy-name-error.*libzypp") # stuff that is currently too noisy, but might become relevant in the future +addFilter(" prereq-use") addFilter(" file-not-utf8") addFilter(" tag-not-utf8") addFilter(" setup-not-quiet") ++++++ suse-bzip-bigger-than-100k.diff ++++++ --- /var/tmp/diff_new_pack.0PbOlU/_old 2010-04-05 18:53:00.000000000 +0200 +++ /var/tmp/diff_new_pack.0PbOlU/_new 2010-04-05 18:53:00.000000000 +0200 @@ -5,27 +5,29 @@ DEFAULT_VALID_SRC_PERMS = (0644, 0755) -source_regex = re.compile('\\.(tar|patch|tgz|diff)$') -+source_regex = re.compile('\\.(tar|patch|tgz|tar\.gz|diff)$') - use_bzip2 = Config.getOption('UseBzip2', True) ++source_regex = re.compile('\\.(tar|tar\.gz|patch|tgz|diff)$') + compress_ext = Config.getOption("CompressExtension", "bz2") valid_src_perms = Config.getOption("ValidSrcPerms", DEFAULT_VALID_SRC_PERMS) @@ -40,7 +40,7 @@ printError(pkg, 'multiple-specfiles', spec_file, fname) else: spec_file = fname -- elif source_regex.search(fname): -+ elif source_regex.search(fname) and pkgfile.size > 120*1024: - if use_bzip2: - if not fname.endswith('.bz2'): - printWarning(pkg, 'source-or-patch-not-bzipped', fname) -@@ -61,7 +61,9 @@ +- elif source_regex.search(fname) and compress_ext: ++ elif source_regex.search(fname) and compress_ext and pkgfile.size > 120*1024: + if not fname.endswith(compress_ext): + printWarning(pkg, 'source-or-patch-not-compressed', + compress_ext, fname) +@@ -58,8 +58,10 @@ - 'source-or-patch-not-bzipped', - '''A source archive or file in your package is not bzipped (doesn't --have the .bz2 extension). To bzip it, use bzip2.''', -+have the .bz2 extension). Files bigger than 100k should be bzip2'ed -++in order to save space. To bzip2 a patch, use bzip2. To bzip2 a source -++tarball, use bznew''', + 'source-or-patch-not-compressed', + '''A source archive or file in your package is not compressed using the %s +-compression method (doesn't have the %s extension).''' % +-(compress_ext, compress_ext), ++compression method (doesn't have the %s extension). ++Files bigger than 100k should be bzip2'ed ++in order to save space. To bzip2 a patch, use bzip2. To bzip2 a source ++tarball, use bznew''' % (compress_ext, compress_ext), - 'source-or-patch-not-gzipped', - '''A source archive or file in your package is not gzipped (doesn't + 'strange-permission', + '''A file that you listed to include in your package has strange ++++++ suse-checks.diff ++++++ --- /var/tmp/diff_new_pack.0PbOlU/_old 2010-04-05 18:53:00.000000000 +0200 +++ /var/tmp/diff_new_pack.0PbOlU/_new 2010-04-05 18:53:00.000000000 +0200 @@ -1,12 +1,18 @@ -Index: Config.py -=================================================================== ---- Config.py.orig +--- Config.py +++ Config.py -@@ -20,7 +20,6 @@ DEFAULT_CHECKS = ("DistributionCheck", +@@ -17,14 +17,13 @@ + except ImportError: + __version__ = 'devel' + +-DEFAULT_CHECKS = ("DistributionCheck", ++DEFAULT_CHECKS = ( + "TagsCheck", + "BinariesCheck", + "ConfigCheck", "FilesCheck", "DocFilesCheck", "FHSCheck", - "SignatureCheck", "I18NCheck", + "MenuCheck", "PostCheck", - "InitScriptCheck", ++++++ suse-url-check.diff ++++++ --- TagsCheck.py +++ TagsCheck.py @@ -748,7 +748,7 @@ if url: (scheme, netloc) = urlparse(url)[0:2] if not scheme or not netloc or "." not in netloc or \ - scheme not in ('http', 'https', 'ftp') or \ + scheme not in ('obs', 'http', 'https', 'ftp') or \ (Config.getOption('InvalidURL') and \ invalid_url_regex.search(url)): printWarning(pkg, 'invalid-url', tag, url) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org