This commit is contained in:
Tom "spot" Callaway 2011-02-04 11:20:54 -05:00
parent fe3c72569c
commit 8980a9829c
3 changed files with 12 additions and 14 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/rpmlint-1.0.tar.bz2
/rpmlint-1.1.tar.xz

View File

@ -1,19 +1,19 @@
Name: rpmlint
Version: 1.0
Release: 3%{?dist}
Version: 1.1
Release: 1%{?dist}
Summary: Tool for checking common errors in RPM packages
Group: Development/Tools
License: GPLv2
URL: http://rpmlint.zarb.org/
Source0: http://rpmlint.zarb.org/download/%{name}-%{version}.tar.bz2
Source0: http://rpmlint.zarb.org/download/%{name}-%{version}.tar.xz
Source1: %{name}.config
Source2: %{name}-CHANGES.package.old
Source3: %{name}-etc.config
# EL-4 specific config
Source4: %{name}.config.el4
Source4: %{name}.config.el4
# EL-5 specific config
Source5: %{name}.config.el5
Source5: %{name}.config.el5
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@ -63,14 +63,8 @@ install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/rpmlint/config
install -pm 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/rpmlint/config.el4
install -pm 644 %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/rpmlint/config.el5
pushd $RPM_BUILD_ROOT%{_bindir}
cp -a rpmlint el4-rpmlint
sed -i 's|rpmlint.py|el4-rpmlint.py|g' el4-rpmlint
cp -a rpmlint el5-rpmlint
sed -i 's|rpmlint.py|el5-rpmlint.py|g' el5-rpmlint
popd
pushd $RPM_BUILD_ROOT%{_datadir}/rpmlint
ln -s rpmlint.py el4-rpmlint.py
ln -s rpmlint.py el5-rpmlint.py
ln -s rpmlint el4-rpmlint
ln -s rpmlint el5-rpmlint
popd
%check
@ -95,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Feb 4 2011 Tom Callaway <spot@fedoraproject.org> - 1.1-1
- update to 1.1
* Tue Dec 7 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-3
- fix typo in changelog
- %% comment out item in changelog

View File

@ -1 +1 @@
c27b574f3e70a3ffeb8eeb550e597c2d rpmlint-1.0.tar.bz2
29a35c13cc2f16325b404820e2986a88 rpmlint-1.1.tar.xz