diff --git a/NEWS b/NEWS index 1a361ce7..2b165c4c 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,7 @@ Patchutils news Fixed bash completion symlinks for better installation. Made grepdiff test case PCRE-aware to handle different regex library configurations properly. Addresses GitHub issues #61, #91, and #93. + Updated spec file. 0.4.3 (stable) diff --git a/patchutils.spec.in b/patchutils.spec.in index feeb7c35..0dfce920 100644 --- a/patchutils.spec.in +++ b/patchutils.spec.in @@ -5,10 +5,16 @@ Release: 0.1 License: GPL Group: Applications/System URL: http://cyberelk.net/tim/patchutils/ -Source0: http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -Obsoletes: interdiff -Provides: interdiff +Source0: http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.xz +Obsoletes: interdiff <= 0.0.10 +Provides: interdiff = 0.0.11 +Requires: patch +BuildRequires: make +BuildRequires: gcc +BuildRequires: perl-generators +BuildRequires: xmlto +BuildRequires: automake +BuildRequires: autoconf %description This is a collection of programs that can manipulate patch files in @@ -21,19 +27,18 @@ and simply listing the files modified by a patch. %build %configure -make +%make_build + +%check make check %install -rm -rf %{buildroot} %make_install -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root) -%doc AUTHORS ChangeLog README.md COPYING BUGS NEWS patchview/README.patchview +%{!?_licensedir:%global license %doc} +%doc AUTHORS ChangeLog README.md BUGS NEWS patchview/README.patchview +%license COPYING %{_bindir}/* %{_datadir}/bash-completion/completions/* %if 0%{?have_xmlto}