From e1f60daadcdfa686821dcaf04b875e7e1b11e981 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 21:16:18 +0200 Subject: [PATCH 01/23] Rebuilt for Python 3.10 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 7d68f25..08a2ffd 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Jun 04 2021 Python Maint - 0.10.0-2 +- Rebuilt for Python 3.10 + * Tue Apr 06 2021 Tony Asleson - 0.10.0-1 - New upstream release From f3d845825f654cbc83faf45530e566440060f877 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 18:52:59 +0000 Subject: [PATCH 02/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 08a2ffd..f7d2ebc 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 0.10.0-2 - Rebuilt for Python 3.10 From 3ef5914de0c3ce84c8fc342606da812776573ab3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 02:18:10 +0000 Subject: [PATCH 03/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index f7d2ebc..ad9cb90 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 0.10.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 3f11aaba730fcb5843d3278b304f6dab3e232ec1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 15:39:00 +0200 Subject: [PATCH 04/23] Rebuilt for Python 3.11 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index ad9cb90..05a1894 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Jun 13 2022 Python Maint - 0.10.0-5 +- Rebuilt for Python 3.11 + * Sat Jan 22 2022 Fedora Release Engineering - 0.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 3ea1df8553b97a05b3f6a4e14d111e86fc41e3da Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 10:05:22 +0000 Subject: [PATCH 05/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 05a1894..cec7663 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 5%{?dist} +Release: 6%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.10.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 0.10.0-5 - Rebuilt for Python 3.11 From da0315635988da39ccbd3ee46407d9e2765bfbd0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 04:39:14 +0000 Subject: [PATCH 06/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index cec7663..5477eb6 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 6%{?dist} +Release: 7%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.10.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.10.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From a27b1af0496c3441e75e26ec339ee1e789d5470f Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 20:59:34 +0200 Subject: [PATCH 07/23] Rebuilt for Python 3.12 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 5477eb6..511002a 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 7%{?dist} +Release: 8%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Jun 13 2023 Python Maint - 0.10.0-8 +- Rebuilt for Python 3.12 + * Sat Jan 21 2023 Fedora Release Engineering - 0.10.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 7a77963ca8c2dad0c5126ec2919d67708fcec0a3 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Thu, 15 Jun 2023 16:32:31 -0500 Subject: [PATCH 08/23] Update to version 0.10.1 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 9 ++++++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 220dfa1..adb023a 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /targetd-0.9.0.tar.gz /targetd-0.9.1.tar.gz /targetd-0.10.0.tar.gz +/targetd-0.10.1.tar.gz diff --git a/sources b/sources index 1938296..f4c2e4f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.10.0.tar.gz) = 42f9c04a14efacd50bcb500c804d4e4b9c00584ce8327b68775fb3249c97514cdf0c1be9bab2a7c5f00f6421559dd6fc8bf2eaccea70c1d3f5d67ea81df1c20c +SHA512 (targetd-0.10.1.tar.gz) = 49f58ff3deb77e59a55718bc2294a10b2c1f9ee618a0c9c5ca3b8f401e5c317f949d0e26eac35a343327f8d81947e830f33e0e6791f560973a6c47f59e1814d0 diff --git a/targetd.spec b/targetd.spec index 511002a..49755f2 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,14 +1,14 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.10.0 -Release: 8%{?dist} +Version: 0.10.1 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service BuildArch: noarch BuildRequires: systemd-rpm-macros -BuildRequires: python3-devel +BuildRequires: python3-devel python3-setuptools Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore Requires: nfs-utils, btrfs-progs, python3-blockdev, libblockdev-lvm @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Thu Jun 15 2023 Tony Asleson - 0.10.1-1 +- New upstream release which includes a fix for python 3.12 + * Tue Jun 13 2023 Python Maint - 0.10.0-8 - Rebuilt for Python 3.12 From 58e8aa09ea34fad50d85a7a43d27dcf9faad036b Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Sat, 24 Jun 2023 12:06:33 -0500 Subject: [PATCH 09/23] Update to version 0.10.2 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index adb023a..0d43e96 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /targetd-0.9.1.tar.gz /targetd-0.10.0.tar.gz /targetd-0.10.1.tar.gz +/targetd-0.10.2.tar.gz diff --git a/sources b/sources index f4c2e4f..320f858 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.10.1.tar.gz) = 49f58ff3deb77e59a55718bc2294a10b2c1f9ee618a0c9c5ca3b8f401e5c317f949d0e26eac35a343327f8d81947e830f33e0e6791f560973a6c47f59e1814d0 +SHA512 (targetd-0.10.2.tar.gz) = 0ca6d233c5e601553fe3f4cb50d8c7d3eabfacbd355dac819a642136d9ce6baf84c00cca8ffaed1134d2778af2774d21edc4afe114445decafbb25c645fa3be8 diff --git a/targetd.spec b/targetd.spec index 49755f2..e999088 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,7 +1,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.10.1 +Version: 0.10.2 Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jun 24 2023 Tony Asleson - 0.10.2-1 +- New upstream release which adds libblockdev 3.0 support + * Thu Jun 15 2023 Tony Asleson - 0.10.1-1 - New upstream release which includes a fix for python 3.12 From a6e8111420a857a543216e3ec7cbdf5a192896c1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 26 Jun 2023 13:59:23 +0200 Subject: [PATCH 10/23] Rebuilt for Python 3.12 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index e999088..160391d 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.2 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Jun 26 2023 Python Maint - 0.10.2-2 +- Rebuilt for Python 3.12 + * Sat Jun 24 2023 Tony Asleson - 0.10.2-1 - New upstream release which adds libblockdev 3.0 support From 35dda3a4d1fd646f7cf97aa02746407393a73d23 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Fri, 21 Jul 2023 09:33:57 -0500 Subject: [PATCH 11/23] Migrated to SPDX license Signed-off-by: Tony Asleson --- targetd.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/targetd.spec b/targetd.spec index 160391d..9b69722 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd -License: GPLv3 +License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.2 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Jul 21 2023 Tony Asleson - 0.10.2-3 +- migrated to SPDX license + * Mon Jun 26 2023 Python Maint - 0.10.2-2 - Rebuilt for Python 3.12 From d57637c3a84d6b386878e8dda6cae192be6d2913 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Mon, 11 Dec 2023 17:31:01 -0600 Subject: [PATCH 12/23] Update to version 0.10.3 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0d43e96..21cad5e 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /targetd-0.10.0.tar.gz /targetd-0.10.1.tar.gz /targetd-0.10.2.tar.gz +/targetd-0.10.3.tar.gz diff --git a/sources b/sources index 320f858..d13bb73 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.10.2.tar.gz) = 0ca6d233c5e601553fe3f4cb50d8c7d3eabfacbd355dac819a642136d9ce6baf84c00cca8ffaed1134d2778af2774d21edc4afe114445decafbb25c645fa3be8 +SHA512 (targetd-0.10.3.tar.gz) = aac2b1f35662fcdefc02be05997c90aa4a0593bc309d451d2e1a69eb63bc3436a919a8c9d6d71cbcd6a5b81a78a4d16f4a8859f3d13f13c14c9ce9bc5ef95340 diff --git a/targetd.spec b/targetd.spec index 9b69722..200bdce 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable -Version: 0.10.2 -Release: 3%{?dist} +Version: 0.10.3 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Dec 11 2023 Tony Asleson - 0.10.3-1 +- New upstream release + * Fri Jul 21 2023 Tony Asleson - 0.10.2-3 - migrated to SPDX license From c13d4e9a257de3d99ace140bf23d18a4d6e9af6a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 05:22:53 +0000 Subject: [PATCH 13/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 200bdce..6c075cb 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.3 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 0.10.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Dec 11 2023 Tony Asleson - 0.10.3-1 - New upstream release From 12807aa48a08f273c350ff17bc02d98aa45ccb53 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Tue, 12 Mar 2024 15:40:05 -0500 Subject: [PATCH 14/23] Update to version 0.10.4 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 21cad5e..9e74667 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /targetd-0.10.1.tar.gz /targetd-0.10.2.tar.gz /targetd-0.10.3.tar.gz +/targetd-0.10.4.tar.gz diff --git a/sources b/sources index d13bb73..4dee891 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.10.3.tar.gz) = aac2b1f35662fcdefc02be05997c90aa4a0593bc309d451d2e1a69eb63bc3436a919a8c9d6d71cbcd6a5b81a78a4d16f4a8859f3d13f13c14c9ce9bc5ef95340 +SHA512 (targetd-0.10.4.tar.gz) = 3394b0ee2226a4fb7e5f93f1c4e3f7aeeb5a023351b8be3d33f7d5201da4ca4c906cacb437327ceb2fe81c509f654f2fc142457896f8fc43188de8a62af6dcb8 diff --git a/targetd.spec b/targetd.spec index 6c075cb..3d750c6 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable -Version: 0.10.3 -Release: 2%{?dist} +Version: 0.10.4 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Mar 12 2024 Tony Asleson - 0.10.4-1 +- New upstream release + * Sat Jan 27 2024 Fedora Release Engineering - 0.10.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 910eb4709b00e7eed1c5fd1b9ec6cdda9505fb39 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 09:11:47 +0200 Subject: [PATCH 15/23] Rebuilt for Python 3.13 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 3d750c6..44c4f8f 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Jun 07 2024 Python Maint - 0.10.4-2 +- Rebuilt for Python 3.13 + * Tue Mar 12 2024 Tony Asleson - 0.10.4-1 - New upstream release From b849ff31970ad558d2d1ef0c69d1a6c72e591993 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 07:04:03 +0000 Subject: [PATCH 16/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 44c4f8f..e56534d 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 0.10.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 0.10.4-2 - Rebuilt for Python 3.13 From a004f49bea127f5f22c352b77991ace5d04decf4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 12:21:43 +0000 Subject: [PATCH 17/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index e56534d..7de4ce9 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 0.10.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 0.10.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From c020a9c3058bc9a210a26ed2ee8f8c4eabfc0340 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 20:53:06 +0200 Subject: [PATCH 18/23] Rebuilt for Python 3.14 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 7de4ce9..f6bb1a7 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Jun 02 2025 Python Maint - 0.10.4-5 +- Rebuilt for Python 3.14 + * Sun Jan 19 2025 Fedora Release Engineering - 0.10.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From b15ea2340e221f02e67333004157af6bfcdb88ed Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Mon, 9 Jun 2025 12:51:28 -0500 Subject: [PATCH 19/23] Use pyproject macros Needed to add some of the runtime dependencies to build for the import checks. Signed-off-by: Tony Asleson --- targetd.spec | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/targetd.spec b/targetd.spec index f6bb1a7..bb69b38 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,15 +2,15 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 5%{?dist} +Release: 6%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service BuildArch: noarch BuildRequires: systemd-rpm-macros -BuildRequires: python3-devel python3-setuptools +BuildRequires: python3-devel python3-gobject-base python3-blockdev libblockdev-lvm Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore -Requires: nfs-utils, btrfs-progs, python3-blockdev, libblockdev-lvm +Requires: nfs-utils, btrfs-progs, python3-blockdev, libblockdev-lvm %description targetd turns the machine into a remotely-configurable storage appliance. @@ -21,8 +21,11 @@ those volumes over iSCSI. %prep %setup -q +%generate_buildrequires +%pyproject_buildrequires + %build -%py3_build +%pyproject_wheel %install mkdir -p %{buildroot}%{_mandir}/man8/ @@ -33,7 +36,11 @@ install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/targetd.service install -m 644 targetd.yaml %{buildroot}%{_sysconfdir}/target/targetd.yaml install -m 644 targetd.8 %{buildroot}%{_mandir}/man8/ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ -%py3_install +%pyproject_install +%pyproject_save_files -l targetd + +%check +%pyproject_check_import %post %systemd_post targetd.service @@ -44,18 +51,18 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %postun %systemd_postun_with_restart targetd.service -%files +%files -f %{pyproject_files} %{_bindir}/targetd %{_unitdir}/targetd.service -%{python3_sitelib}/targetd/ -%{python3_sitelib}/*.egg-info -%license LICENSE %doc README.md API.md client %{_mandir}/man8/targetd.8* %{_mandir}/man5/targetd.yaml.5* %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Jun 09 2025 Tony Asleson - 0.10.4-6 +- Use pyproject macros + * Mon Jun 02 2025 Python Maint - 0.10.4-5 - Rebuilt for Python 3.14 From 63bde938dac096efb9bb9294dd7c03bd12614153 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 9 Jun 2025 22:37:50 +0200 Subject: [PATCH 20/23] Rebuilt for Python 3.14 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index bb69b38..f6f635f 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 6%{?dist} +Release: 7%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -60,6 +60,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Jun 09 2025 Python Maint - 0.10.4-7 +- Rebuilt for Python 3.14 + * Mon Jun 09 2025 Tony Asleson - 0.10.4-6 - Use pyproject macros From 3dfee18d289af4ffc0e35cbb239c4e2a4f26defa Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Thu, 24 Jul 2025 16:24:47 -0500 Subject: [PATCH 21/23] Move to tmt test Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2383084 Signed-off-by: Tony Asleson --- .fmf/version | 1 + 0001_rtslib_fb_api_fix.patch | 23 +++++++++++++++++ {tests => plans}/ci_test.sh | 13 ++++++++-- plans/tests.fmf | 50 ++++++++++++++++++++++++++++++++++++ targetd.spec | 9 +++++-- tests/tests.yml | 22 ---------------- 6 files changed, 92 insertions(+), 26 deletions(-) create mode 100644 .fmf/version create mode 100644 0001_rtslib_fb_api_fix.patch rename {tests => plans}/ci_test.sh (84%) create mode 100644 plans/tests.fmf delete mode 100644 tests/tests.yml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/0001_rtslib_fb_api_fix.patch b/0001_rtslib_fb_api_fix.patch new file mode 100644 index 0000000..887fd2d --- /dev/null +++ b/0001_rtslib_fb_api_fix.patch @@ -0,0 +1,23 @@ +diff --git a/targetd/block.py b/targetd/block.py +index b7b03f0..edd47ec 100644 +--- a/targetd/block.py ++++ b/targetd/block.py +@@ -26,10 +26,17 @@ from rtslib_fb import ( + LUN, + MappedLUN, + RTSLibError, +- RTSLibNotInCFS, + NodeACLGroup, + ) + ++# This commit https://github.com/open-iscsi/rtslib-fb/commit/fdd69b1984bac6a6c3f08890bc22267b848a26ac ++# renamed a number of error classes which causes us to do the following ++try: ++ from rtslib_fb import RTSLibNotInCFS ++except ImportError: ++ from rtslib_fb import RTSLibNotInCFSError as RTSLibNotInCFS ++ ++ + from targetd.backends import lvm, zfs + from targetd.main import TargetdError + from targetd.utils import ignored, name_check diff --git a/tests/ci_test.sh b/plans/ci_test.sh similarity index 84% rename from tests/ci_test.sh rename to plans/ci_test.sh index 8d0a9e4..8d8bc63 100755 --- a/tests/ci_test.sh +++ b/plans/ci_test.sh @@ -18,7 +18,12 @@ function _chk fi } -SOURCE_DIR="targetd_src" +if [ "$#" -ne 1 ]; then + echo "Usage: $0 source directory" + exit 1 +fi + +SOURCE_DIR="$1" BASE=$PWD # TODO REMOVE THIS WHEN RAWHIDE PICKS UP @@ -32,6 +37,10 @@ _chk ./test/test.sh setup # Pick up new changes from setup _chk systemctl restart targetd +# Make sure nfs stuff is ok +_chk systemctl start rpcbind +_chk systemctl start nfs-server + # Try stopping the firewall, but don't fail if this fails systemctl stop firewalld @@ -44,6 +53,6 @@ netstat -anp | grep LISTEN | grep 18700 # Go back to start directory and run unit test. _chk cd $BASE -SRC="$BASE/$SOURCE_DIR" +SRC="$SOURCE_DIR" _chk TARGETD_UT_CERTFILE=/etc/target/targetd_cert.pem PYTHONPATH=$SRC python3 $SRC/test/targetd_test.py -v exit 0 \ No newline at end of file diff --git a/plans/tests.fmf b/plans/tests.fmf new file mode 100644 index 0000000..6775fd6 --- /dev/null +++ b/plans/tests.fmf @@ -0,0 +1,50 @@ +summary: targetd gating tests + +provision: + how: virtual + image: fedora + +prepare: + how: install + package: + - targetd + - util-linux + - lvm2 + - procps-ng + - coreutils + - openssl + - btrfs-progs + - audit + - python3-requests + - net-tools-2.0 + - nfs-utils + +discover: + how: shell + dist-git-source: true + dist-git-install-builddeps: true + tests: + - name: upstream test suite + test: | + set -x + if [ -z "$PKG_VER" ]; then + PKG_VER=`rpmspec -q --srpm --qf "%{version}" targetd.spec` + fi + if [ -z "$PKG_VER" ]; then + echo "Error: Unable to extract package version" + exit 1 + fi + + export SRC="$TMT_SOURCE_DIR/targetd-${PKG_VER}" + echo "Source is located: $SRC" + + echo "We are $PWD" + ls -lh + + echo "TMT_SOURCE_DIR is ($TMT_SOURCE_DIR)" + + ./plans/ci_test.sh "$SRC" + +execute: + - how: tmt + diff --git a/targetd.spec b/targetd.spec index f6f635f..3d9fd01 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,10 +2,11 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 7%{?dist} +Release: 8%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service +Patch1: 0001_rtslib_fb_api_fix.patch BuildArch: noarch BuildRequires: systemd-rpm-macros BuildRequires: python3-devel python3-gobject-base python3-blockdev libblockdev-lvm @@ -19,7 +20,7 @@ administrator allocate volumes from an LVM volume group, and export those volumes over iSCSI. %prep -%setup -q +%autosetup -p1 %generate_buildrequires %pyproject_buildrequires @@ -60,6 +61,10 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Thu Jul 24 2025 Tony Asleson - 0.10.4-8 +- Workaround for: https://github.com/open-iscsi/rtslib-fb/issues/220 +- Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2383084 + * Mon Jun 09 2025 Python Maint - 0.10.4-7 - Rebuilt for Python 3.14 diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 428377f..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,22 +0,0 @@ -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - tests: - - simple: - dir: . - run: ./ci_test.sh - required_packages: - - targetd - - util-linux - - lvm2 - - procps-ng - - coreutils - - openssl - - btrfs-progs - - audit - - python3-requests - repositories: - - repo: "https://github.com/open-iscsi/targetd.git" - dest: "targetd_src" From 5e910170d6f705adf486040b765d406dfd10a4e4 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 15:19:49 +0200 Subject: [PATCH 22/23] Rebuilt for Python 3.14.0rc2 bytecode --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 3d9fd01..4c6a4aa 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 8%{?dist} +Release: 9%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -61,6 +61,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Aug 15 2025 Python Maint - 0.10.4-9 +- Rebuilt for Python 3.14.0rc2 bytecode + * Thu Jul 24 2025 Tony Asleson - 0.10.4-8 - Workaround for: https://github.com/open-iscsi/rtslib-fb/issues/220 - Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2383084 From 5d6134befb033603f88ebc711e8daa4c7d369fa4 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 14:59:09 +0200 Subject: [PATCH 23/23] Rebuilt for Python 3.14.0rc3 bytecode --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 4c6a4aa..7634f2c 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 9%{?dist} +Release: 10%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -61,6 +61,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Sep 19 2025 Python Maint - 0.10.4-10 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 0.10.4-9 - Rebuilt for Python 3.14.0rc2 bytecode