- /etc/profile.d/* filtering no longer needed.
This commit is contained in:
Ville Skyttä 2006-09-23 21:37:35 +00:00
parent 642d8ca44d
commit 2222b51972
5 changed files with 18 additions and 18 deletions

View File

@ -1 +1 @@
rpmlint-0.77.tar.bz2
rpmlint-0.78.tar.bz2

View File

@ -1,17 +1,15 @@
Index: TagsCheck.py
===================================================================
--- TagsCheck.py (revision 1215)
+++ TagsCheck.py (working copy)
@@ -380,6 +380,8 @@
packager_regex=re.compile(Config.getOption('Packager'))
--- TagsCheck.py~ 2006-09-23 12:08:23.000000000 +0300
+++ TagsCheck.py 2006-09-24 00:19:26.000000000 +0300
@@ -384,6 +384,8 @@
basename_regex=re.compile('/?([^/]+)$')
changelog_version_regex=re.compile('[^>]([^ >]+)\s*$')
changelog_text_version_regex=re.compile('^\s*-\s*((\d+:)?[\w\.]+-[\w\.]+)')
+dist_regex=Config.getOption('DistRegex')
+if dist_regex: dist_regex=re.compile(dist_regex)
release_ext=Config.getOption('ReleaseExtension')
extension_regex=release_ext and re.compile(release_ext + '$')
use_version_in_changelog=Config.getOption('UseVersionInChangelog', 1)
@@ -591,11 +593,13 @@
@@ -598,11 +600,13 @@
srpm=pkg[rpm.RPMTAG_SOURCERPM]
# only check when source name correspond to name
if srpm[0:-8] == '%s-%s-%s' % (name, version, release):
@ -27,5 +25,5 @@ Index: TagsCheck.py
+ if ret.group(1) not in expected:
+ printWarning(pkg, 'incoherent-version-in-changelog', ret.group(1), expected[0])
clt=pkg[rpm.RPMTAG_CHANGELOGTEXT]
if clt: changelog=changelog + clt
if use_utf8 and not Pkg.is_utf8_str(' '.join(changelog)):

View File

@ -55,6 +55,3 @@ addFilter("outside-libdir-files")
addFilter("-debuginfo no-documentation")
addFilter("-debuginfo [^ ]+ /usr/lib/debug/")
addFilter("non-standard-dir-in-usr libexec")
# Filter false /etc/profile.d positives until fixed upstream (#35714)
addFilter("script-without-shellbang /etc/profile.d/")
addFilter("non-executable-script /etc/profile.d/")

View File

@ -1,6 +1,6 @@
Name: rpmlint
Version: 0.77
Release: 2%{?dist}
Version: 0.78
Release: 1%{?dist}
Summary: Tool for checking common errors in RPM packages
Group: Development/Tools
@ -8,18 +8,19 @@ License: GPL
URL: http://rpmlint.zarb.org/
Source0: http://rpmlint.zarb.org/download/%{name}-%{version}.tar.bz2
Source1: %{name}.config
Patch0: %{name}-0.77-distregex.patch
Patch0: %{name}-0.78-distregex.patch
Patch1: %{name}-0.77-compile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python >= 1.5.2
BuildRequires: python >= 2.0
BuildRequires: rpm-python
BuildRequires: sed >= 3.95
Requires: rpm-python
Requires: python >= 1.5.2
Requires: python >= 2.0
Requires: cpio
Requires: binutils
Requires: desktop-file-utils
%description
rpmlint is a tool for checking common errors in RPM packages. Binary
@ -64,6 +65,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Sep 24 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.78-1
- 0.78, fixes #198605, #198616, #198705, #198707, #200032, #206383.
- /etc/profile.d/* filtering no longer needed.
* Sat Sep 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.77-2
- Filter false positives for /etc/profile.d/* file modes.
- Ship *.pyc and *.pyo as usual.

View File

@ -1 +1 @@
72d3b3106212735d6bd597668f02f93c rpmlint-0.77.tar.bz2
73fd414976c4654c3007a55a762c7eed rpmlint-0.78.tar.bz2