From 766a8a42b5a26cf575bf530e30d3f6b7702c6899 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 15:51:13 +0000 Subject: [PATCH 1/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- dist-git.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dist-git.spec b/dist-git.spec index 3229023..fdcce5e 100644 --- a/dist-git.spec +++ b/dist-git.spec @@ -4,7 +4,7 @@ Name: dist-git Version: 1.18 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Package source version control system # upload.cgi uses GPLv1 @@ -254,6 +254,9 @@ fi %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 1.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Sep 27 2024 Pavel Raiskup 1.18-1 - replace test on _selinux_policy_version by macro that does it all - handle situation when _selinux_policy_version is not defined From 337ca362b5b1113585a4f0fa21185e92ef2fcb0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 11 Feb 2025 14:36:25 +0100 Subject: [PATCH 2/8] Add sysusers.d config file to allow rpm to create users/groups automatically See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers. --- dist-git.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/dist-git.spec b/dist-git.spec index fdcce5e..adbd02f 100644 --- a/dist-git.spec +++ b/dist-git.spec @@ -4,7 +4,7 @@ Name: dist-git Version: 1.18 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Package source version control system # upload.cgi uses GPLv1 @@ -26,7 +26,6 @@ Requires: git Requires: git-daemon Requires: mod_ssl Requires: crudini -Requires(pre): shadow-utils Requires: python3-requests Recommends: python3-grokmirror @@ -76,6 +75,11 @@ This package includes SELinux support. %prep %setup -q +# Create a sysusers.d config file +cat >dist-git.sysusers.conf < /dev/null || \ - groupadd -r packager -exit 0 %check @@ -171,6 +168,8 @@ cd - hardlink -cv %{buildroot}%{_datadir}/selinux +install -m0644 -D dist-git.sysusers.conf %{buildroot}%{_sysusersdir}/dist-git.conf + %post selinux for selinuxvariant in %{selinux_variants} do @@ -246,6 +245,7 @@ fi %{_bindir}/mkbranch_branching %{_bindir}/remove_unused_sources %{_bindir}/setup_git_package +%{_sysusersdir}/dist-git.conf %files selinux @@ -254,6 +254,9 @@ fi %changelog +* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 1.18-3 +- Add sysusers.d config file to allow rpm to create users/groups automatically + * Thu Jan 16 2025 Fedora Release Engineering - 1.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 0f86dd65aa58901f8adc49d4e6bfe7dbe286ab65 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 19:19:48 +0000 Subject: [PATCH 3/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- dist-git.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dist-git.spec b/dist-git.spec index adbd02f..a2231bd 100644 --- a/dist-git.spec +++ b/dist-git.spec @@ -4,7 +4,7 @@ Name: dist-git Version: 1.18 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Package source version control system # upload.cgi uses GPLv1 @@ -254,6 +254,9 @@ fi %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 1.18-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 1.18-3 - Add sysusers.d config file to allow rpm to create users/groups automatically From 7adbe05035eb4b544c3017b1179998f68bfe67f2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 06:01:14 +0000 Subject: [PATCH 4/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- dist-git.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dist-git.spec b/dist-git.spec index a2231bd..4c47f7c 100644 --- a/dist-git.spec +++ b/dist-git.spec @@ -4,7 +4,7 @@ Name: dist-git Version: 1.18 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Package source version control system # upload.cgi uses GPLv1 @@ -254,6 +254,9 @@ fi %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 1.18-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Wed Jul 23 2025 Fedora Release Engineering - 1.18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 420f5b354ed5b167786c03185f1beba0b1db296b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 10:02:03 +0000 Subject: [PATCH 5/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- dist-git.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dist-git.spec b/dist-git.spec index 4c47f7c..6ac2459 100644 --- a/dist-git.spec +++ b/dist-git.spec @@ -4,7 +4,7 @@ Name: dist-git Version: 1.18 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Package source version control system # upload.cgi uses GPLv1 @@ -254,6 +254,9 @@ fi %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 1.18-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jan 16 2026 Fedora Release Engineering - 1.18-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From a99d965050d40f9502b0a1748e82492f86ca0490 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 13 Feb 2026 10:44:55 +0100 Subject: [PATCH 6/8] Update dist-git to 1.19-1 --- dist-git.spec | 60 +++++++++++++++++++-------------------------------- sources | 2 +- 2 files changed, 23 insertions(+), 39 deletions(-) diff --git a/dist-git.spec b/dist-git.spec index 6ac2459..9ee160f 100644 --- a/dist-git.spec +++ b/dist-git.spec @@ -3,8 +3,8 @@ %global installdir /var/lib/dist-git Name: dist-git -Version: 1.18 -Release: 6%{?dist} +Version: 1.19 +Release: 1%{?dist} Summary: Package source version control system # upload.cgi uses GPLv1 @@ -26,17 +26,17 @@ Requires: git Requires: git-daemon Requires: mod_ssl Requires: crudini +%if 0%{?rhel} && 0%{?rhel} < 10 +Requires(pre): shadow-utils +%endif Requires: python3-requests Recommends: python3-grokmirror Suggests: python3-fedmsg Suggests: fedora-messaging -%if 0%{?rhel} == 8 -BuildRequires: python3-nose -%else + +BuildRequires: python3-devel BuildRequires: python3-pytest -%endif -BuildRequires: python3-parameterized BuildRequires: python3-requests # this should be Requires but see https://bugzilla.redhat.com/show_bug.cgi?id=1833810 @@ -75,11 +75,6 @@ This package includes SELinux support. %prep %setup -q -# Create a sysusers.d config file -cat >dist-git.sysusers.conf < /dev/null || \ + groupadd -r packager +exit 0 +%endif %check -%if 0%{?rhel} && 0%{?rhel} <= 8 -%if 0%{?rhel} < 8 -nosetests -v . -%else -nosetests-3 -v . -%endif -%else -pytest -vv . -%endif +%pytest -vv . %install @@ -128,6 +123,8 @@ cp -a configs/httpd/dist-git.conf %{buildroot}%{_sysconfdir}/httpd/conf.d/ cp -a configs/httpd/dist-git/* %{buildroot}%{_sysconfdir}/httpd/conf.d/dist-git/ cp -a configs/systemd/* %{buildroot}%{_unitdir}/ +install -m0644 -D configs/sysusers.d/dist-git.conf %{buildroot}%{_sysusersdir}/dist-git.conf + # ------------------------------------------------------------------------------ # /var/lib/ ...... dynamic persistent files # ------------------------------------------------------------------------------ @@ -168,8 +165,6 @@ cd - hardlink -cv %{buildroot}%{_datadir}/selinux -install -m0644 -D dist-git.sysusers.conf %{buildroot}%{_sysusersdir}/dist-git.conf - %post selinux for selinuxvariant in %{selinux_variants} do @@ -245,8 +240,8 @@ fi %{_bindir}/mkbranch_branching %{_bindir}/remove_unused_sources %{_bindir}/setup_git_package -%{_sysusersdir}/dist-git.conf +%{_sysusersdir}/dist-git.conf %files selinux %doc selinux/* @@ -254,21 +249,10 @@ fi %changelog -* Fri Jan 16 2026 Fedora Release Engineering - 1.18-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jan 16 2026 Fedora Release Engineering - 1.18-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Wed Jul 23 2025 Fedora Release Engineering - 1.18-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 1.18-3 +* Fri Feb 13 2026 Pavel Raiskup 1.19-1 +- Avoid using parameterized and nose - Add sysusers.d config file to allow rpm to create users/groups automatically -* Thu Jan 16 2025 Fedora Release Engineering - 1.18-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - * Fri Sep 27 2024 Pavel Raiskup 1.18-1 - replace test on _selinux_policy_version by macro that does it all - handle situation when _selinux_policy_version is not defined diff --git a/sources b/sources index 812f1eb..f8fb236 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dist-git-1.18.tar.gz) = f3c4caa189589d9211fe37703d9eee0b7f03705536d598a955280ef4477095eeb1323c96c550f0b2a951b74c99fcd51b496c47e291c8658192c097d8bae0872d +SHA512 (dist-git-1.19.tar.gz) = bd249d206a73a9869fe30bfe4a992927e8983dc8497f82546ca18b0b771b22780e585198bb1b1e885936cc74b5bc00264491a33bd870d8050276ef34a5f20b5b From 861bf008477d72cc65fd50368934ada690d9b3f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Tue, 7 Jul 2026 12:43:51 +0200 Subject: [PATCH 7/8] Update dist-git to 1.20-1 --- dist-git.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dist-git.spec b/dist-git.spec index 9ee160f..531c3b6 100644 --- a/dist-git.spec +++ b/dist-git.spec @@ -3,7 +3,7 @@ %global installdir /var/lib/dist-git Name: dist-git -Version: 1.19 +Version: 1.20 Release: 1%{?dist} Summary: Package source version control system @@ -249,6 +249,9 @@ fi %changelog +* Tue Jul 07 2026 Miroslav Suchý 1.20-1 +- Fix tests for Python 3.15: replace removed CGIHTTPRequestHandler + * Fri Feb 13 2026 Pavel Raiskup 1.19-1 - Avoid using parameterized and nose - Add sysusers.d config file to allow rpm to create users/groups automatically diff --git a/sources b/sources index f8fb236..02a6f8a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dist-git-1.19.tar.gz) = bd249d206a73a9869fe30bfe4a992927e8983dc8497f82546ca18b0b771b22780e585198bb1b1e885936cc74b5bc00264491a33bd870d8050276ef34a5f20b5b +SHA512 (dist-git-1.20.tar.gz) = f68aa733a2d0e0faa8973ced5260a1c5b0f6892c5ebfca977ac17ca3bfbda33225d866bb1c16abe761452d17594399a75815a49f5d941dd2e0c5404a69a1f3be From 8207b771687523438068e36f94cb9f64f75016b9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 15 Jul 2026 21:49:49 +0000 Subject: [PATCH 8/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- dist-git.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dist-git.spec b/dist-git.spec index 531c3b6..b9bec9d 100644 --- a/dist-git.spec +++ b/dist-git.spec @@ -4,7 +4,7 @@ Name: dist-git Version: 1.20 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Package source version control system # upload.cgi uses GPLv1 @@ -249,6 +249,9 @@ fi %changelog +* Wed Jul 15 2026 Fedora Release Engineering - 1.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Tue Jul 07 2026 Miroslav Suchý 1.20-1 - Fix tests for Python 3.15: replace removed CGIHTTPRequestHandler