update to 1.2, filter out files-attr-not-set except for el4
This commit is contained in:
parent
82cdcdc29f
commit
6a047fdab5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/rpmlint-1.0.tar.bz2
|
/rpmlint-1.0.tar.bz2
|
||||||
/rpmlint-1.1.tar.xz
|
/rpmlint-1.1.tar.xz
|
||||||
|
/rpmlint-1.2.tar.xz
|
||||||
|
@ -353,6 +353,9 @@ addFilter("blender.+ (wrong-script-interpreter|non-executable-script) .+/blender
|
|||||||
addFilter("no-cleaning-of-buildroot")
|
addFilter("no-cleaning-of-buildroot")
|
||||||
addFilter("no-buildroot-tag")
|
addFilter("no-buildroot-tag")
|
||||||
addFilter("no-%clean-section")
|
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
|
||||||
|
# (it automatically provides one).
|
||||||
|
addFilter("files-attr-not-set")
|
||||||
# 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"),
|
||||||
|
@ -20,3 +20,7 @@ removeFilter("no-cleaning-of-buildroot")
|
|||||||
removeFilter("no-buildroot-tag")
|
removeFilter("no-buildroot-tag")
|
||||||
removeFilter("no-%clean-section")
|
removeFilter("no-%clean-section")
|
||||||
|
|
||||||
|
# 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).
|
||||||
|
removeFilter("files-attr-not-set")
|
||||||
|
|
||||||
|
15
rpmlint.spec
15
rpmlint.spec
@ -1,6 +1,6 @@
|
|||||||
Name: rpmlint
|
Name: rpmlint
|
||||||
Version: 1.1
|
Version: 1.2
|
||||||
Release: 3%{?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
|
||||||
@ -15,12 +15,6 @@ Source4: %{name}.config.el4
|
|||||||
# EL-5 specific config
|
# EL-5 specific config
|
||||||
Source5: %{name}.config.el5
|
Source5: %{name}.config.el5
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
# Don't try to check Content-Length and Content-MD5 for invalid Source URLs
|
|
||||||
# http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1836
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=680781
|
|
||||||
Patch0: rpmlint-1.1-changeset1836.patch
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python >= 2.4
|
BuildRequires: python >= 2.4
|
||||||
BuildRequires: rpm-python >= 4.4
|
BuildRequires: rpm-python >= 4.4
|
||||||
@ -48,7 +42,6 @@ and source packages as well as spec files can be checked.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .1836
|
|
||||||
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
|
||||||
@ -95,6 +88,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Apr 24 2011 Tom Callaway <spot@fedoraproject.org> - 1.2-1
|
||||||
|
- update to 1.2
|
||||||
|
- filter away files-attr-not-set for all targets except EL-4 (bz694579)
|
||||||
|
|
||||||
* Thu Mar 3 2011 Tom Callaway <spot@fedoraproject.org> - 1.1-3
|
* Thu Mar 3 2011 Tom Callaway <spot@fedoraproject.org> - 1.1-3
|
||||||
- apply upstream fix for source url aborts (bz 680781)
|
- apply upstream fix for source url aborts (bz 680781)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user