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.0.tar.bz2
/rpmlint-1.1.tar.xz

View File

@ -1,19 +1,19 @@
Name: rpmlint Name: rpmlint
Version: 1.0 Version: 1.1
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
License: GPLv2 License: GPLv2
URL: http://rpmlint.zarb.org/ 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 Source1: %{name}.config
Source2: %{name}-CHANGES.package.old Source2: %{name}-CHANGES.package.old
Source3: %{name}-etc.config Source3: %{name}-etc.config
# EL-4 specific config # EL-4 specific 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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch 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 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/rpmlint/config.el4
install -pm 644 %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/rpmlint/config.el5 install -pm 644 %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/rpmlint/config.el5
pushd $RPM_BUILD_ROOT%{_bindir} pushd $RPM_BUILD_ROOT%{_bindir}
cp -a rpmlint el4-rpmlint ln -s rpmlint el4-rpmlint
sed -i 's|rpmlint.py|el4-rpmlint.py|g' el4-rpmlint ln -s rpmlint el5-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
popd popd
%check %check
@ -95,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %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 * Tue Dec 7 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-3
- fix typo in changelog - fix typo in changelog
- %% comment out item in changelog - %% comment out item in changelog

View File

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