- Update to 1.3: * Performance improvements when comparing large files * libwiggle.a can be built for other tools to use * Makefile is quieter and can put binaries elsewhere * Fix a bug that corrupted the format of output in some case OBS-URL: https://build.opensuse.org/request/show/839561 OBS-URL: https://build.opensuse.org/package/show/devel:tools/wiggle?expand=0&rev=21
54 lines
1.6 KiB
RPMSpec
54 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package wiggle
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: wiggle
|
|
Version: 1.3
|
|
Release: 0
|
|
Summary: A Tool for Applying Patches with Conflicts
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Text/Utilities
|
|
URL: https://neil.brown.name/wiggle/
|
|
Source0: https://github.com/neilbrown/wiggle/archive/v%{version}.tar.gz
|
|
BuildRequires: ncurses-devel
|
|
|
|
%description
|
|
Wiggle is a program for applying patches that 'patch' cannot apply due
|
|
to conflicting changes in the original.
|
|
|
|
Wiggle will always apply all changes in the patch to the original. If
|
|
it cannot find a way to cleanly apply a patch, it inserts it in the
|
|
original in a manner similar to 'merge' and reports an unresolvable
|
|
conflict.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make %{?_smp_mflags} CFLAGS="-I. %{optflags}" wiggle
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%doc ANNOUNCE
|
|
%license COPYING
|
|
%{_bindir}/wiggle
|
|
%{_mandir}/man1/wiggle.1%{?ext_man}
|
|
|
|
%changelog
|