Accepting request 246964 from home:adra:branches:devel:tools

Update to 0.3.3

OBS-URL: https://build.opensuse.org/request/show/246964
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patchutils?expand=0&rev=15
This commit is contained in:
Marcus Meissner 2014-09-01 15:39:48 +00:00 committed by Git OBS Bridge
parent f9342e7d42
commit 5433e5d049
4 changed files with 37 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fdeb1a571b42faeafbc6bcd999717efca256601a1aa2b4b2f34ec93b6977ae21
size 160193

3
patchutils-0.3.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:91f4e8451b2efcac5d40c966e42c175803450f0de94c926bfecc12c90070ad3c
size 156328

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Aug 29 18:27:42 UTC 2014 - asterios.dramis@gmail.com
- Update to 0.3.3:
* Context output format for "no newline" lines has been fixed.
* The splitdiff utility now has an option to disable ".patch"
filename extensions.
* Some fixes for bugs spotted by Coverity.
* Interdiff can now use "-" (stdin) for one of the inputs.
- Run "make check" in %check section.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 9 17:37:27 UTC 2013 - seife+obs@b1-systems.com Sat Mar 9 17:37:27 UTC 2013 - seife+obs@b1-systems.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package patchutils # spec file for package patchutils
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,19 +17,22 @@
Name: patchutils Name: patchutils
Url: http://cyberelk.net/tim/patchutils/ Version: 0.3.3
Requires: diffutils
Requires: patch
BuildRequires: automake
Version: 0.3.2
Release: 0 Release: 0
Summary: A Collection of Tools for Manipulating Patch Files Summary: A Collection of Tools for Manipulating Patch Files
License: GPL-2.0+ License: GPL-2.0+
Group: Productivity/File utilities Group: Productivity/File utilities
Source: http://cyberelk.net/tim/data/patchutils/stable/patchutils-%{version}.tar.bz2 Url: http://cyberelk.net/tim/software/patchutils/
Patch: %name-0.2.30-tailsyntax.diff Source0: http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.xz
Patch0: %{name}-0.2.30-tailsyntax.diff
Patch1: overrun.diff Patch1: overrun.diff
Patch2: rediff-hunk-init-fix.diff Patch2: rediff-hunk-init-fix.diff
BuildRequires: automake
%if 0%{?suse_version} < 1220
BuildRequires: xz
%endif
Requires: diffutils
Requires: patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -42,36 +45,34 @@ Filterdiff is for extracting or excluding patches from a patch set
based on modified files matching shell wildcards. Lsdiff lists modified based on modified files matching shell wildcards. Lsdiff lists modified
files in a patch. Rediff corrects hand-edited patches. files in a patch. Rediff corrects hand-edited patches.
Authors:
--------
Tim Waugh <twaugh@redhat.com>
Marko Kreen <marko@l-t.ee>
Matthias Hanisch <matze@camline.com>
%prep %prep
%setup -q %setup -q
%patch -p1 %patch0 -p1
%patch1 %patch1
%patch2 -p1 %patch2 -p1
# new autoconf 1.13 removed old macro # new autoconf 1.13 removed old macro
# use it only on openSUSE > 11.1 since it fails in SLE with "configure.in:7: option `dist-xz' not recognized"
%if 0%{?suse_version} > 1110
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
%endif
%build %build
%if 0%{?suse_version} > 1110
autoreconf -fi autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS" %endif
./configure --prefix=/usr --mandir=%_mandir %configure
make %{?_smp_mflags} make %{?_smp_mflags}
%check
make check make check
%install %install
make DESTDIR=%buildroot install make DESTDIR=%{buildroot} install
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO %doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
/usr/bin/* %{_bindir}/*
%_mandir/man1/*.1.gz %{_mandir}/man1/*.1.gz
%changelog %changelog