Compare commits
30 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55b197aca8 | ||
|
|
0505695188 | ||
|
|
23cddf8b82 | ||
|
|
c0b07148c7 | ||
|
|
33aff644fc | ||
|
|
1d8d361ecb | ||
|
|
4fbc029b17 | ||
|
|
4bb8fc4323 | ||
|
|
18bc2b9545 | ||
|
|
a7a9d2d4b5 | ||
|
|
f6847c1944 | ||
|
|
6be0f7facb | ||
|
|
d36cf7fa83 | ||
|
|
ce0dfe40a6 | ||
|
|
79308d2a55 | ||
|
|
906edd9dee | ||
|
|
2f54ef291e | ||
|
|
d057417e5d | ||
|
|
4d8e9672e4 | ||
|
|
ff0667be2e | ||
|
|
5535c17655 | ||
|
|
86b364f82c | ||
|
|
3a6b8fd468 | ||
|
|
d2c842e17b | ||
|
|
62569404cf | ||
|
|
8bd302e007 | ||
|
|
da6bf64dc2 | ||
|
|
a7dd8c1c6a | ||
|
|
1ce3453add | ||
|
|
a8be7ecdc4 |
5 changed files with 168 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/setconf-0.7.6.tar.gz
|
||||
/setconf-0.7.7.tar.gz
|
||||
9
setconf-0.7.6-rm_sb.patch
Normal file
9
setconf-0.7.6-rm_sb.patch
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
diff --git a/setconf.py b/setconf.py
|
||||
index 2e57b4e..0c3abf7 100755
|
||||
--- a/setconf.py
|
||||
+++ b/setconf.py
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# setconf
|
||||
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
|
||||
|
||||
138
setconf.spec
Normal file
138
setconf.spec
Normal file
|
|
@ -0,0 +1,138 @@
|
|||
Name: setconf
|
||||
Version: 0.7.7
|
||||
Release: 24%{?dist}
|
||||
Summary: Utility for changing settings in configuration text files
|
||||
|
||||
# Automatically converted from old format: GPLv2 - review is highly recommended.
|
||||
License: GPL-2.0-only
|
||||
URL: http://setconf.roboticoverlords.org/
|
||||
Source0: https://github.com/xyproto/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# Patch#: setconf-version-description.patch
|
||||
Patch0: setconf-0.7.6-rm_sb.patch
|
||||
Patch2: setconf-0.7.7-add_man.patch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Setconf is small utility that can be used for
|
||||
changing settings in configuration text files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%check
|
||||
%{__python3} setconf.py --test
|
||||
awk '/^..\/setconf.py/ { print "%{__python3} " $0; next } { print }' testcases/test.sh >testcases/py3_test.sh
|
||||
chmod a+x testcases/py3_test.sh
|
||||
cd testcases/ && ./py3_test.sh
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info/
|
||||
%{python3_sitelib}/%{name}.py
|
||||
%{python3_sitelib}/__pycache__/%{name}.*.pyc
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 0.7.7-23
|
||||
- Rebuilt for Python 3.15
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.7.7-21
|
||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||
|
||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.7.7-20
|
||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 0.7.7-18
|
||||
- Rebuilt for Python 3.14
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Mon Jul 29 2024 Miroslav Suchý <msuchy@redhat.com> - 0.7.7-16
|
||||
- convert license to SPDX
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.7.7-14
|
||||
- Rebuilt for Python 3.13
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.7.7-11
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.7.7-8
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.7.7-5
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jul 07 2020 Jan Macku <jamacku@redhat.com> - 0.7.7-2
|
||||
- Fix names of patches in spec
|
||||
- Fix Patch1 to match the source
|
||||
|
||||
* Tue Jul 07 2020 Jan Macku <jamacku@redhat.com> - 0.7.7-1
|
||||
- New release - setconf 0.7.7
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.6-6
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7.6-4
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7.6-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Feb 27 2019 Jan Macku <jamacku@redhat.com> - 0.7.6-1
|
||||
- Init setconf package
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (setconf-0.7.7.tar.gz) = 5ada31bbf7abcaf69b0c7759bfb624b985e6482762e84a5eeeac3d3ed022fd88cd4440ebf53454839cf974370df85f73ac1a74ee9b9144c84d4763f537d0f96f
|
||||
Loading…
Add table
Add a link
Reference in a new issue