public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Pavel Raiskup <praiskup@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/distgen] epel10.3: new upstream release
Date: Mon, 14 Sep 2026 12:38:07 GMT [thread overview]
Message-ID: <178938948730.1.14274394826016706240.rpms-distgen-16e6b8871f24@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/distgen
Branch : epel10.3
Commit : 16e6b8871f2496d3ace03b81dbda20d95dc5c082
Author : Pavel Raiskup <praiskup@redhat.com>
Date : 2019-09-24T11:21:58+02:00
Stats : +6/-57 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/distgen/c/16e6b8871f2496d3ace03b81dbda20d95dc5c082?branch=epel10.3
Log:
new upstream release
Adding F31 configs.
Version: 1.4-1
---
diff --git a/0001-Use-distro-module-instead-of-platform.patch b/0001-Use-distro-module-instead-of-platform.patch
deleted file mode 100644
index bd4fc14..0000000
--- a/0001-Use-distro-module-instead-of-platform.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 0ede6d839982c2bc2e0f79da6ac3aafa02f04f76 Mon Sep 17 00:00:00 2001
-From: Pavel Raiskup <praiskup@redhat.com>
-Date: Thu, 2 May 2019 01:04:20 +0200
-Subject: [PATCH] Use distro module instead of platform
-
-Per rhbz#1705262
----
- distgen/distro_version.py | 4 ++--
- tests/unittests/test_distro_detection.py | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/distgen/distro_version.py b/distgen/distro_version.py
-index 421c4be..6208216 100644
---- a/distgen/distro_version.py
-+++ b/distgen/distro_version.py
-@@ -1,9 +1,9 @@
--import platform
-+import distro
- import subprocess
-
-
- def detect_default_distro():
-- os, version, name = platform.dist()
-+ os, version, name = distro.linux_distribution(full_distribution_name=True)
- os = os.lower()
-
- if os == 'fedora':
-diff --git a/tests/unittests/test_distro_detection.py b/tests/unittests/test_distro_detection.py
-index 27966d3..842a5fb 100644
---- a/tests/unittests/test_distro_detection.py
-+++ b/tests/unittests/test_distro_detection.py
-@@ -15,7 +15,7 @@ class TestDistroDetection(object):
- ('rhel', 7, 'sth', 7),
- ])
- @patch('subprocess.check_output')
-- @patch('platform.dist')
-+ @patch('distro.linux_distribution')
- def test_rpm(self, pdist, sp_co, distro, version, name, cversion, arch):
- sp_co.return_value = arch
- pdist.return_value = (distro, version, name)
-@@ -25,7 +25,7 @@ class TestDistroDetection(object):
- )
-
-
-- @patch('platform.dist')
-+ @patch('distro.linux_distribution')
- def test_others(self, dist):
- dist.return_value = ('debian', 1, 'something')
- assert detect_default_distro() == None
---
-2.20.1
-
diff --git a/distgen.spec b/distgen.spec
index ebfd944..d024715 100644
--- a/distgen.spec
+++ b/distgen.spec
@@ -4,8 +4,8 @@
Name: distgen
Summary: Templating system/generator for distributions
-Version: 1.3
-Release: 4%{?dist}
+Version: 1.4
+Release: 1%{?dist}
License: GPLv2+
URL: https://github.com/devexp-db/distgen
BuildArch: noarch
@@ -27,8 +27,6 @@ BuildRequires: %{pypkg}-six
Source0: https://pypi.org/packages/source/d/%name/%name-%version.tar.gz
-Patch0: 0001-Use-distro-module-instead-of-platform.patch
-
%description
Based on given template specification (configuration for template), template
file and preexisting distribution metadata generate output file.
@@ -64,6 +62,9 @@ make PYTHON=%{pybin} check
%changelog
+* Tue Sep 24 2019 Pavel Raiskup <praiskup@redhat.com> - 1.4-1
+- new upstream release (f31 configs)
+
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3-4
- Rebuilt for Python 3.8
diff --git a/sources b/sources
index 4fc15fe..d370eb4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (distgen-1.3.tar.gz) = b631f662a7a3de4fb172e077ae4b38ec3d55bf55a287fbaa6e9f54cc4978e7efe015163eec77096e3b2c02f9a3d36f4c968770f46d55174241d188b7dd7ac117
+SHA512 (distgen-1.4.tar.gz) = 011c923e36ed745fc88f6a0b18d395ea88904050b778cfcdd8b9823003959131052606c88643802f2d7d35016f99cc6e00c59966f505f06c97e1c6d21cdb8f4b
next reply other threads:[~2026-09-14 12:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-14 12:38 Pavel Raiskup [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-09-14 12:38 [rpms/distgen] epel10.3: New upstream release Zuzana Miklankova
2026-09-14 12:38 Zuzana Miklankova
2026-09-14 12:38 Zuzana Miklankova
2026-09-14 12:38 Zuzana Miklankova
2026-09-14 12:38 Zuzana Miklankova
2026-09-14 12:38 Zuzana Miklankova
2026-09-14 12:38 Zuzana Miklankova
2026-09-14 12:38 [rpms/distgen] epel10.3: new " Pavel Raiskup
2026-09-14 12:38 [rpms/distgen] epel10.3: New " Pavel Raiskup
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178938948730.1.14274394826016706240.rpms-distgen-16e6b8871f24@fedoraproject.org \
--to=praiskup@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox