Accepting request 815530 from home:jeff_mahoney:branches:Kernel:tools

- Update to version 2.3.0
  - patchops: add canonicalize_commit to dereference tags
  - patchops: ignore -stable tags in get_next_tag
  - patchops: eliminate class PatchOps
  - patchtools: use subprocess.run instead of subprocess.Popen
  - patchops: return empty tuple from PatchOps.key_version
  - Update patchtools to use python3.
  - exportpatch: Add --num-width
  - patchops: fix untagged commit projected release
  - fixpatch: fix problem with empty dirname
  - patchtools: rename 'file' variables to 'pathname'
  - documentation: add SYNOPSIS section to patchtoos.cfg
  - patchtools: remove shbang from module files
- Update to v2.2
  - project: reorganize code

OBS-URL: https://build.opensuse.org/request/show/815530
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/patchtools?expand=0&rev=12
This commit is contained in:
2020-06-17 13:43:26 +00:00
committed by Git OBS Bridge
parent 9cbb8bfa05
commit 1ee362a4d7
3 changed files with 33 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
<param name="exclude">.git</param>
<param name="changesgenerate">enable</param>
<param name="filename">patchtools</param>
<param name="versionformat">2.2.0.%cd.%h</param>
<param name="versionformat">2.3.0.%cd.%h</param>
</service>
<service name="recompress">
<param name="file">*.tar</param>

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Jun 17 13:26:56 UTC 2020 - jeffm@suse.com
- Update to version 2.3.0
- patchops: add canonicalize_commit to dereference tags
- patchops: ignore -stable tags in get_next_tag
- patchops: eliminate class PatchOps
- patchtools: use subprocess.run instead of subprocess.Popen
- patchops: return empty tuple from PatchOps.key_version
- Update patchtools to use python3.
- exportpatch: Add --num-width
- patchops: fix untagged commit projected release
- fixpatch: fix problem with empty dirname
- patchtools: rename 'file' variables to 'pathname'
- documentation: add SYNOPSIS section to patchtoos.cfg
- patchtools: remove shbang from module files
-------------------------------------------------------------------
Mon Mar 28 00:00:00 UTC 2017 - jeffm@suse.com
- Update to v2.2
- project: reorganize code
-------------------------------------------------------------------
Mon Mar 27 13:31:55 UTC 2017 - jeffm@suse.com

View File

@@ -16,18 +16,21 @@
#
Name: patchtools
Version: 2.1
Version: 2.3.0.20200617.62f8e7b
Release: 0
License: GPL-2.0
Summary: A set of tools for working with SUSE kernel patches
Group: Development/Tools
URL: https://github.com/jeffmahoney/jpt
Source: patchtools-%{version}.tar.xz
BuildRequires: python
BuildRequires: python3 >= 3.6
BuildRequires: python-rpm-macros
BuildRequires: xz
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package contains several tools for working with SUSE kernel patches.
@@ -39,11 +42,12 @@ and this set of tools automates much of the tedious work.
%setup -q
%build
python setup.py build
%python3_build
%install
python setup.py install --prefix=%{_prefix} --install-lib=%{py_sitedir} --install-data=/ --root=${RPM_BUILD_ROOT}
%python3_install
make install DESTDIR=${RPM_BUILD_ROOT}
%fdupes ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
@@ -53,7 +57,7 @@ make install DESTDIR=${RPM_BUILD_ROOT}
%{_mandir}/man1/exportpatch.1.gz
%{_bindir}/fixpatch
%{_mandir}/man1/fixpatch.1.gz
%{py_libdir}/*
%{python3_sitelib}/*
%changelog