2012-11-15 18:20:55 +00:00
|
|
|
#
|
|
|
|
# spec file for package
|
|
|
|
#
|
2014-01-29 17:34:04 +00:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-11-15 18:20:55 +00:00
|
|
|
#
|
|
|
|
# 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: patchtools
|
2020-06-17 13:43:26 +00:00
|
|
|
Version: 2.3.0.20200617.62f8e7b
|
2012-11-15 18:20:55 +00:00
|
|
|
Release: 0
|
2014-11-04 12:43:09 +00:00
|
|
|
License: GPL-2.0
|
2012-11-15 18:20:55 +00:00
|
|
|
Summary: A set of tools for working with SUSE kernel patches
|
|
|
|
Group: Development/Tools
|
2021-05-18 20:57:47 +00:00
|
|
|
URL: https://github.com/jeffmahoney/patchtools
|
2014-01-06 15:24:53 +00:00
|
|
|
Source: patchtools-%{version}.tar.xz
|
2020-06-17 13:43:26 +00:00
|
|
|
BuildRequires: python3 >= 3.6
|
|
|
|
BuildRequires: python-rpm-macros
|
2025-04-02 10:12:58 +00:00
|
|
|
BuildRequires: python3-setuptools
|
2017-03-27 19:22:40 +00:00
|
|
|
BuildRequires: xz
|
|
|
|
BuildRequires: asciidoc
|
|
|
|
BuildRequires: xmlto
|
2020-06-17 13:43:26 +00:00
|
|
|
BuildRequires: fdupes
|
2012-11-15 18:20:55 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2020-06-17 13:43:26 +00:00
|
|
|
BuildArch: noarch
|
2012-11-15 18:20:55 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains several tools for working with SUSE kernel patches.
|
|
|
|
|
|
|
|
The rules for including patches in the SUSE kernel trees can be cumbersome
|
|
|
|
and this set of tools automates much of the tedious work.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2020-06-17 13:43:26 +00:00
|
|
|
%python3_build
|
2012-11-15 18:20:55 +00:00
|
|
|
|
|
|
|
%install
|
2020-06-17 13:43:26 +00:00
|
|
|
%python3_install
|
2017-03-27 19:22:40 +00:00
|
|
|
make install DESTDIR=${RPM_BUILD_ROOT}
|
2020-06-17 13:43:26 +00:00
|
|
|
%fdupes ${RPM_BUILD_ROOT}
|
2012-11-15 18:20:55 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS README.md
|
2017-03-27 19:22:40 +00:00
|
|
|
%{_mandir}/man5/patchtools.cfg.5.gz
|
2012-11-15 18:20:55 +00:00
|
|
|
%{_bindir}/exportpatch
|
2017-03-27 19:22:40 +00:00
|
|
|
%{_mandir}/man1/exportpatch.1.gz
|
2012-11-15 18:20:55 +00:00
|
|
|
%{_bindir}/fixpatch
|
2017-03-27 19:22:40 +00:00
|
|
|
%{_mandir}/man1/fixpatch.1.gz
|
2020-06-17 13:43:26 +00:00
|
|
|
%{python3_sitelib}/*
|
2012-11-15 18:20:55 +00:00
|
|
|
|
|
|
|
%changelog
|
|
|
|
|