1.4, filter non-ghost-in-var-(lock|run)
This commit is contained in:
parent
32994cd899
commit
3347761d18
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
/rpmlint-1.1.tar.xz
|
/rpmlint-1.1.tar.xz
|
||||||
/rpmlint-1.2.tar.xz
|
/rpmlint-1.2.tar.xz
|
||||||
/rpmlint-1.3.tar.xz
|
/rpmlint-1.3.tar.xz
|
||||||
|
/rpmlint-1.4.tar.xz
|
||||||
|
@ -363,6 +363,10 @@ addFilter("no-%clean-section")
|
|||||||
# Only EL4 needs the files-attr-not-set check, because rpm 4.4 and newer no longer need a %defattr line
|
# Only EL4 needs the files-attr-not-set check, because rpm 4.4 and newer no longer need a %defattr line
|
||||||
# (it automatically provides one).
|
# (it automatically provides one).
|
||||||
addFilter("files-attr-not-set")
|
addFilter("files-attr-not-set")
|
||||||
|
# Don't bother with the non-ghost-in-var-(lock|run) checks on Fedora 15 or newer
|
||||||
|
# since they have tmpfs /var/lock and /var/run.
|
||||||
|
addFilter("non-ghost-in-var-lock")
|
||||||
|
addFilter("non-ghost-in-var-run")
|
||||||
# https://bugzilla.redhat.com/496737, https://bugzilla.redhat.com/646455
|
# https://bugzilla.redhat.com/496737, https://bugzilla.redhat.com/646455
|
||||||
for pkg, exe in (("coreutils", "/bin/su"),
|
for pkg, exe in (("coreutils", "/bin/su"),
|
||||||
("krb5-workstation", "/usr/kerberos/bin/ksu"),
|
("krb5-workstation", "/usr/kerberos/bin/ksu"),
|
||||||
|
15
rpmlint.spec
15
rpmlint.spec
@ -1,6 +1,6 @@
|
|||||||
Name: rpmlint
|
Name: rpmlint
|
||||||
Version: 1.3
|
Version: 1.4
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Tool for checking common errors in RPM packages
|
Summary: Tool for checking common errors in RPM packages
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -14,9 +14,6 @@ Source3: %{name}-etc.config
|
|||||||
Source4: %{name}.config.el4
|
Source4: %{name}.config.el4
|
||||||
# EL-5 specific config
|
# EL-5 specific config
|
||||||
Source5: %{name}.config.el5
|
Source5: %{name}.config.el5
|
||||||
# http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1886
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=745446
|
|
||||||
Patch0: rpmlint-1.3-svn1886-ghost-fix.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python >= 2.4
|
BuildRequires: python >= 2.4
|
||||||
BuildRequires: rpm-python >= 4.4
|
BuildRequires: rpm-python >= 4.4
|
||||||
@ -44,7 +41,6 @@ and source packages as well as spec files can be checked.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .ghostfix
|
|
||||||
sed -i -e /MenuCheck/d Config.py
|
sed -i -e /MenuCheck/d Config.py
|
||||||
cp -p config config.example
|
cp -p config config.example
|
||||||
install -pm 644 %{SOURCE2} CHANGES.package.old
|
install -pm 644 %{SOURCE2} CHANGES.package.old
|
||||||
@ -75,7 +71,11 @@ make check
|
|||||||
%files
|
%files
|
||||||
%doc AUTHORS COPYING ChangeLog CHANGES.package.old README config.example
|
%doc AUTHORS COPYING ChangeLog CHANGES.package.old README config.example
|
||||||
%config(noreplace) %{_sysconfdir}/rpmlint/
|
%config(noreplace) %{_sysconfdir}/rpmlint/
|
||||||
|
%if 0%{?fedora} >= 17
|
||||||
|
%{_datadir}/bash-completion/completions/
|
||||||
|
%else
|
||||||
%{_sysconfdir}/bash_completion.d/
|
%{_sysconfdir}/bash_completion.d/
|
||||||
|
%endif
|
||||||
%{_bindir}/rpmdiff
|
%{_bindir}/rpmdiff
|
||||||
%{_bindir}/el*-rpmlint
|
%{_bindir}/el*-rpmlint
|
||||||
%{_bindir}/rpmlint
|
%{_bindir}/rpmlint
|
||||||
@ -85,6 +85,9 @@ make check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 5 2011 Tom Callaway <spot@fedoraproject.org> - 1.4-1
|
||||||
|
- update to 1.4
|
||||||
|
|
||||||
* Wed Oct 12 2011 Tom Callaway <spot@fedoraproject.org> - 1.3-2
|
* Wed Oct 12 2011 Tom Callaway <spot@fedoraproject.org> - 1.3-2
|
||||||
- apply upstream fix for false error on checking ghosted man pages for
|
- apply upstream fix for false error on checking ghosted man pages for
|
||||||
encoding (bz745446)
|
encoding (bz745446)
|
||||||
|
Loading…
Reference in New Issue
Block a user