- Versioned obsoletes/provides (bug #226234).
- Created %check section (bug #226234). - Avoid %makeinstall (bug #226234). - Fixed defattr declaration (bug #226234).
This commit is contained in:
parent
2ee153bb94
commit
b6989e0e4e
@ -1,15 +1,15 @@
|
||||
Summary: A collection of programs for manipulating patch files
|
||||
Name: patchutils
|
||||
Version: 0.2.31
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
URL: http://cyberelk.net/tim/patchutils/
|
||||
Source0: http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.bz2
|
||||
Patch0: patchutils-author.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Obsoletes: interdiff
|
||||
Provides: interdiff
|
||||
Obsoletes: interdiff <= 0.0.10
|
||||
Provides: interdiff = 0.0.10
|
||||
BuildRequires: xmlto
|
||||
|
||||
# We only need xmlto if we are patching the documentation.
|
||||
@ -28,23 +28,31 @@ patches, and simply listing the files modified by a patch.
|
||||
%build
|
||||
touch doc/patchutils.xml
|
||||
%configure
|
||||
make
|
||||
make %{?smp_mflags}
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog README COPYING BUGS NEWS
|
||||
%{_bindir}/*
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 3 2007 Tim Waugh <twaugh@redhat.com> 0.2.31-4
|
||||
- Versioned obsoletes/provides (bug #226234).
|
||||
- Created %%check section (bug #226234).
|
||||
- Avoid %%makeinstall (bug #226234).
|
||||
- Fixed defattr declaration (bug #226234).
|
||||
|
||||
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 0.2.31-3
|
||||
- Added dist tag.
|
||||
- Better buildroot tag.
|
||||
|
Loading…
Reference in New Issue
Block a user