Fix Patch1 to match new source formating
This commit is contained in:
parent
c89c3130b8
commit
be6af5a09f
3 changed files with 23 additions and 17 deletions
|
|
@ -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
|
||||
|
||||
18
setconf-0.7.7-add_man.patch
Normal file
18
setconf-0.7.7-add_man.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
From: Jan Macku <jamacku@redhat.com>
|
||||
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
|
||||
|
||||
|
|
@ -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 <jamacku@redhat.com> - 0.7.7-3
|
||||
- Fix Patch1 to match new source formating
|
||||
|
||||
* Tue Jul 07 2020 Jan Macku <jamacku@redhat.com> - 0.7.7-2
|
||||
- Fix names of patches in spec
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue