From b6989e0e4e3a4d1cc5607b90d549b24c17ddc11a Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Dec 03 2007 12:32:05 +0000 Subject: - Versioned obsoletes/provides (bug #226234). - Created %check section (bug #226234). - Avoid %makeinstall (bug #226234). - Fixed defattr declaration (bug #226234). --- diff --git a/patchutils.spec b/patchutils.spec index accee03..a485ff8 100644 --- a/patchutils.spec +++ b/patchutils.spec @@ -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 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 0.2.31-3 - Added dist tag. - Better buildroot tag.