forked from pool/patchutils
- Modernise spec file
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patchutils?expand=0&rev=19
This commit is contained in:
parent
0398df4cc5
commit
f0e69e744a
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 12 09:33:35 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Modernise spec file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 3 06:43:14 UTC 2015 - sleep_walker@opensuse.org
|
Fri Jul 3 06:43:14 UTC 2015 - sleep_walker@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package patchutils
|
# spec file for package patchutils
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -20,20 +20,17 @@ Name: patchutils
|
|||||||
Version: 0.3.4
|
Version: 0.3.4
|
||||||
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-or-later
|
||||||
Group: Productivity/File utilities
|
Group: Productivity/File utilities
|
||||||
Url: http://cyberelk.net/tim/software/patchutils/
|
URL: http://cyberelk.net/tim/software/patchutils/
|
||||||
Source0: http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.xz
|
Source0: http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.xz
|
||||||
Source1: http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.xz.sig
|
Source1: http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.xz.sig
|
||||||
Patch0: %{name}-0.2.30-tailsyntax.diff
|
Patch0: %{name}-0.2.30-tailsyntax.diff
|
||||||
Patch2: rediff-hunk-init-fix.diff
|
Patch2: rediff-hunk-init-fix.diff
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
%if 0%{?suse_version} < 1220
|
BuildRequires: xmlto
|
||||||
BuildRequires: xz
|
|
||||||
%endif
|
|
||||||
Requires: diffutils
|
Requires: diffutils
|
||||||
Requires: patch
|
Requires: patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Patchutils contains a collection of tools for manipulating patch files:
|
Patchutils contains a collection of tools for manipulating patch files:
|
||||||
@ -46,26 +43,24 @@ 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.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make --jobs=1 check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
%make_install
|
||||||
install -m 0755 -d %{buildroot}%{_mandir}/man1/
|
install -m 0755 -d %{buildroot}%{_mandir}/man1/
|
||||||
install -m 0644 -t %{buildroot}%{_mandir}/man1/ doc/*.1
|
install -m 0644 -t %{buildroot}%{_mandir}/man1/ doc/*.1
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
%doc AUTHORS BUGS ChangeLog NEWS README TODO
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user