diff --git a/setconf-0.7.6-add_man.patch b/setconf-0.7.6-add_man.patch deleted file mode 100644 index 9e23b99..0000000 --- a/setconf-0.7.6-add_man.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/setup.py b/setup.py -index dcf28bc..2607b2b 100644 ---- a/setup.py -+++ b/setup.py -@@ -12,6 +12,7 @@ setup(name="setconf", - author_email="xyproto@archlinux.org", - license="GPLv2", - py_modules=["setconf"], -+ data_files = [('share/man/man1', ['./setconf.1'])], - entry_points={ - "console_scripts" : [ - "setconf = setconf:main", --- -2.20.1 - diff --git a/setconf-0.7.7-add_man.patch b/setconf-0.7.7-add_man.patch new file mode 100644 index 0000000..07e3c86 --- /dev/null +++ b/setconf-0.7.7-add_man.patch @@ -0,0 +1,18 @@ +From: Jan Macku +Date: Tue, 7 Jul 2020 11:12:27 +0200 +Subject: [PATCH] setconf-0.7.7-add_man.patch +diff --git a/setup.py b/setup.py +index 7d2423a..218ec28 100644 +--- a/setup.py ++++ b/setup.py +@@ -12,6 +12,7 @@ setup(name="setconf", + author_email="xyproto@archlinux.org", + license="GPLv2", + py_modules=["setconf"], ++ data_files = [("share/man/man1", ["./setconf.1"])], + entry_points={ + "console_scripts": [ + "setconf = setconf:main", +-- +2.25.4 + diff --git a/setconf.spec b/setconf.spec index e817dc9..1c95ed6 100644 --- a/setconf.spec +++ b/setconf.spec @@ -1,6 +1,6 @@ Name: setconf Version: 0.7.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Utility for changing settings in configuration text files License: GPLv2 @@ -9,7 +9,7 @@ Source0: https://github.com/xyproto/%{name}/archive/%{version}/%{name}-%{ # Patch#: setconf-version-description.patch Patch0: setconf-0.7.6-rm_sb.patch -Patch1: setconf-0.7.6-add_man.patch +Patch2: setconf-0.7.7-add_man.patch BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -45,6 +45,9 @@ cd testcases/ && ./py3_test.sh %{_bindir}/%{name} %changelog +* Tue Jul 07 2020 Jan Macku - 0.7.7-3 +- Fix Patch1 to match new source formating + * Tue Jul 07 2020 Jan Macku - 0.7.7-2 - Fix names of patches in spec