From cdd2d29bdf00030bd0ff2a490a3655a99c574d29 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Wed, 3 May 2017 14:52:38 -0500 Subject: [PATCH 01/41] Correct dependencies Signed-off-by: Tony Asleson --- targetd.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/targetd.spec b/targetd.spec index a4a813c..6df82a3 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,15 +3,15 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.6 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service Source2: targetd.yaml BuildArch: noarch BuildRequires: systemd, python3-devel -Requires: python3-PyYAML python3-setproctitle python3-rtslib -Requires: lvm2-python-libs >= 2.02.99, nfs-utils, btrfs-progs +Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore +Requires: lvm2-python3-libs >= 2.02.99, nfs-utils, btrfs-progs Requires(post): systemd Requires(preun): systemd Requires(postun): systemd @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Wed May 3 2017 Tony Asleson 0.8.6-2 +- Add and correct dependencies + * Thu Apr 27 2017 Tony Asleson 0.8.6-1 - New upstream version, bug fixes From 820e4db0d7c3ba6c0ca0fee0ae3b5600f6787ab7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 19:58:16 +0000 Subject: [PATCH 02/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 6df82a3..9506593 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.6 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 0.8.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Wed May 3 2017 Tony Asleson 0.8.6-2 - Add and correct dependencies From 4e2992b92d4e472d9b56c5b346bf351736b626c3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 18:30:17 +0000 Subject: [PATCH 03/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_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 9506593..908e5b1 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.6 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.8.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 0.8.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From db2371f05383e35e9407d00e6f2995766ee26dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 19 Jun 2018 11:28:18 +0200 Subject: [PATCH 04/41] Rebuilt for Python 3.7 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 908e5b1..e7ec394 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.6 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Jun 19 2018 Miro Hrončok - 0.8.6-5 +- Rebuilt for Python 3.7 + * Fri Feb 09 2018 Fedora Release Engineering - 0.8.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 518ff1f9df99a4634cc00838e2403b6f0341da96 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Wed, 20 Jun 2018 17:19:25 -0500 Subject: [PATCH 05/41] Dependency has been deprecated, no updates planned --- .gitignore | 16 ----- dead.package | 1 + sources | 1 - targetd.service | 11 ---- targetd.spec | 167 ------------------------------------------------ targetd.yaml | 22 ------- 6 files changed, 1 insertion(+), 217 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 targetd.service delete mode 100644 targetd.spec delete mode 100644 targetd.yaml diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 06e65af..0000000 --- a/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -/targetd-0.2.2.tar.gz -/targetd-0.2.3.tar.gz -/targetd-0.2.4.tar.gz -/targetd-0.3.tar.gz -/targetd-0.3.1.tar.gz -/targetd-0.6.tar.gz -/targetd-0.6.1.tar.gz -/targetd-0.7.tar.gz -/targetd-0.7.1.tar.gz -/targetd-0.7.2.tar.gz -/targetd-0.8.tar.gz -/targetd-0.8.1.tar.gz -/targetd-0.8.2.tar.gz -/targetd-0.8.3.tar.gz -/targetd-0.8.5.tar.gz -/targetd-0.8.6.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..0095bfd --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Dependency has been deprecated, no updates planned diff --git a/sources b/sources deleted file mode 100644 index 8ca51d8..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (targetd-0.8.6.tar.gz) = 91c2c05545b89f330f63454620a9b812e54f67d760c135141cdd4be7ef364a537896ad6c3af1f3651f120ae88bc5626a7dd835217cc30ac568d9248166fcf096 diff --git a/targetd.service b/targetd.service deleted file mode 100644 index a4cf4e9..0000000 --- a/targetd.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=targetd storage array API daemon -Requires=target.service -After=target.service - -[Service] -ExecStart=/usr/bin/targetd - -[Install] -WantedBy=multi-user.target - diff --git a/targetd.spec b/targetd.spec deleted file mode 100644 index e7ec394..0000000 --- a/targetd.spec +++ /dev/null @@ -1,167 +0,0 @@ -Name: targetd -License: GPLv3 -Group: System Environment/Libraries -Summary: Service to make storage remotely configurable -Version: 0.8.6 -Release: 5%{?dist} -URL: https://github.com/open-iscsi/targetd -Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz -Source1: targetd.service -Source2: targetd.yaml -BuildArch: noarch -BuildRequires: systemd, python3-devel -Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore -Requires: lvm2-python3-libs >= 2.02.99, nfs-utils, btrfs-progs -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - - -%description -targetd turns the machine into a remotely-configurable storage appliance. -It supports an HTTP/jsonrpc-2.0 interface to let a remote -administrator allocate volumes from an LVM volume group, and export -those volumes over iSCSI. - -%prep -%setup -q - -%build -%{__python3} setup.py build -gzip --stdout targetd.8 > targetd.8.gz - -%install -mkdir -p %{buildroot}%{_mandir}/man8/ -mkdir -p %{buildroot}%{_unitdir} -mkdir -p %{buildroot}%{_sysconfdir}/target/ -install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/targetd.service -install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/target/targetd.yaml -install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ -%{__python3} setup.py install --skip-build --root %{buildroot} - -%post -%systemd_post targetd.service - -%preun -%systemd_preun targetd.service - -%postun -%systemd_postun_with_restart targetd.service - -%files -%{_bindir}/targetd -%{_unitdir}/targetd.service -%{python3_sitelib}/* -%doc LICENSE README.md API.md client -%{_mandir}/man8/targetd.8.gz -%config(noreplace) %{_sysconfdir}/target/targetd.yaml - -%changelog -* Tue Jun 19 2018 Miro Hrončok - 0.8.6-5 -- Rebuilt for Python 3.7 - -* Fri Feb 09 2018 Fedora Release Engineering - 0.8.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.8.6-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed May 3 2017 Tony Asleson 0.8.6-2 -- Add and correct dependencies - -* Thu Apr 27 2017 Tony Asleson 0.8.6-1 -- New upstream version, bug fixes - -* Thu Feb 16 2017 Tony Asleson 0.8.5-1 -- New upstream version which has python3 support - -* Sat Feb 11 2017 Fedora Release Engineering - 0.8.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 19 2016 Fedora Release Engineering - 0.8.3-3 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Fri Feb 05 2016 Fedora Release Engineering - 0.8.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Aug 12 2015 Andy Grover 0.8.3-1 -- New upstream version - -* Tue Jun 23 2015 Andy Grover 0.8.2-1 -- New upstream version - -* Fri Jun 19 2015 Fedora Release Engineering - 0.8.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Wed Feb 11 2015 Andy Grover 0.8.1-1 -- New upstream version - -* Tue Feb 10 2015 Andy Grover 0.8-1 -- New upstream version - -* Sun Jun 08 2014 Fedora Release Engineering - 0.7.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Fri Mar 14 2014 Andy Grover 0.7.2-1 -- New upstream version - -* Mon Feb 10 2014 Andy Grover 0.7.1-1 -- New upstream version - -* Mon Nov 25 2013 Andy Grover 0.7-2 -- Fix service file for new ktarget service name -- Add python-rtslib to requires - -* Fri Nov 8 2013 Andy Grover 0.7-1 -- New upstream version -- Use systemd spec macros - -* Thu Aug 8 2013 Andy Grover 0.6.1-1 -- Update to latest version, make needed changes -- Drop patches: - * require-password.patch - * use-std-ssl.patch -- Change requires from python-lvm to lvm2-python-libs - -* Mon Aug 5 2013 Peter Robinson 0.3.1-7 -- Add systemd to BuildReq to fix FTBFS - -* Sun Aug 04 2013 Fedora Release Engineering - 0.3.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Tue Apr 16 2013 Andy Grover - 0.3.1-5 -- Update require-password.patch -- Change target.yaml to not include a commented-out default password - -* Tue Apr 16 2013 Andy Grover - 0.3.1-4 -- Remove dependency on python-tlslite - -* Mon Apr 15 2013 Andy Grover - 0.3.1-3 -- Add patch - * use-std-ssl.patch - * require-password.patch - -* Fri Feb 15 2013 Fedora Release Engineering - 0.3.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Oct 17 2012 Andy Grover - 0.3.1-1 -- New upstream version - -* Mon Sep 24 2012 Andy Grover - 0.3-1 -- New upstream version - -* Fri Sep 7 2012 Andy Grover - 0.2.4-1 -- New upstream version - -* Tue Aug 28 2012 Andy Grover - 0.2.3-1 -- New upstream version -- Add new dependency python-tlslite - -* Sat Jul 21 2012 Fedora Release Engineering - 0.2.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Mon Jun 25 2012 Andy Grover - 0.2.2-2 -- Add proper pkg requires - -* Mon Jun 25 2012 Andy Grover - 0.2.2-1 -- Initial packaging diff --git a/targetd.yaml b/targetd.yaml deleted file mode 100644 index 61c534a..0000000 --- a/targetd.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# See http://www.yaml.org/spec/1.2/spec.html for more on YAML. -# -# A sample /etc/target/targetd.yaml file. -# - -# No default password, please pick a good one. - -password: - -# defaults below; uncomment and edit -#block_pools: [vg-targetd/thin_pool] # just 1 by default, but can be more -#fs_pools: [] # Path to btrfs FS, eg. /my_btrfs_mount -#user: admin -#target_name: iqn.2003-01.org.example.mach1:1234 - -# log level (debug, info, warning, error, critical) -#log_level: info - -#ssl: false -# if ssl is activated: -#ssl_cert: /etc/target/targetd_cert.pem -#ssl_key: /etc/target/targetd_key.pem From af89d4f3a027b4a962b1a21d76d4dfd7e28aaf7d Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Mon, 25 Nov 2019 15:21:31 -0500 Subject: [PATCH 06/41] Unretirement for https://pagure.io/releng/issue/9049 Revert "Dependency has been deprecated, no updates planned" This reverts commit 518ff1f9df99a4634cc00838e2403b6f0341da96. --- .gitignore | 16 +++++ dead.package | 1 - sources | 1 + targetd.service | 11 ++++ targetd.spec | 167 ++++++++++++++++++++++++++++++++++++++++++++++++ targetd.yaml | 22 +++++++ 6 files changed, 217 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 sources create mode 100644 targetd.service create mode 100644 targetd.spec create mode 100644 targetd.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..06e65af --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +/targetd-0.2.2.tar.gz +/targetd-0.2.3.tar.gz +/targetd-0.2.4.tar.gz +/targetd-0.3.tar.gz +/targetd-0.3.1.tar.gz +/targetd-0.6.tar.gz +/targetd-0.6.1.tar.gz +/targetd-0.7.tar.gz +/targetd-0.7.1.tar.gz +/targetd-0.7.2.tar.gz +/targetd-0.8.tar.gz +/targetd-0.8.1.tar.gz +/targetd-0.8.2.tar.gz +/targetd-0.8.3.tar.gz +/targetd-0.8.5.tar.gz +/targetd-0.8.6.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 0095bfd..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Dependency has been deprecated, no updates planned diff --git a/sources b/sources new file mode 100644 index 0000000..8ca51d8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (targetd-0.8.6.tar.gz) = 91c2c05545b89f330f63454620a9b812e54f67d760c135141cdd4be7ef364a537896ad6c3af1f3651f120ae88bc5626a7dd835217cc30ac568d9248166fcf096 diff --git a/targetd.service b/targetd.service new file mode 100644 index 0000000..a4cf4e9 --- /dev/null +++ b/targetd.service @@ -0,0 +1,11 @@ +[Unit] +Description=targetd storage array API daemon +Requires=target.service +After=target.service + +[Service] +ExecStart=/usr/bin/targetd + +[Install] +WantedBy=multi-user.target + diff --git a/targetd.spec b/targetd.spec new file mode 100644 index 0000000..e7ec394 --- /dev/null +++ b/targetd.spec @@ -0,0 +1,167 @@ +Name: targetd +License: GPLv3 +Group: System Environment/Libraries +Summary: Service to make storage remotely configurable +Version: 0.8.6 +Release: 5%{?dist} +URL: https://github.com/open-iscsi/targetd +Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz +Source1: targetd.service +Source2: targetd.yaml +BuildArch: noarch +BuildRequires: systemd, python3-devel +Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore +Requires: lvm2-python3-libs >= 2.02.99, nfs-utils, btrfs-progs +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd + + +%description +targetd turns the machine into a remotely-configurable storage appliance. +It supports an HTTP/jsonrpc-2.0 interface to let a remote +administrator allocate volumes from an LVM volume group, and export +those volumes over iSCSI. + +%prep +%setup -q + +%build +%{__python3} setup.py build +gzip --stdout targetd.8 > targetd.8.gz + +%install +mkdir -p %{buildroot}%{_mandir}/man8/ +mkdir -p %{buildroot}%{_unitdir} +mkdir -p %{buildroot}%{_sysconfdir}/target/ +install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/targetd.service +install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/target/targetd.yaml +install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ +%{__python3} setup.py install --skip-build --root %{buildroot} + +%post +%systemd_post targetd.service + +%preun +%systemd_preun targetd.service + +%postun +%systemd_postun_with_restart targetd.service + +%files +%{_bindir}/targetd +%{_unitdir}/targetd.service +%{python3_sitelib}/* +%doc LICENSE README.md API.md client +%{_mandir}/man8/targetd.8.gz +%config(noreplace) %{_sysconfdir}/target/targetd.yaml + +%changelog +* Tue Jun 19 2018 Miro Hrončok - 0.8.6-5 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.8.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.8.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed May 3 2017 Tony Asleson 0.8.6-2 +- Add and correct dependencies + +* Thu Apr 27 2017 Tony Asleson 0.8.6-1 +- New upstream version, bug fixes + +* Thu Feb 16 2017 Tony Asleson 0.8.5-1 +- New upstream version which has python3 support + +* Sat Feb 11 2017 Fedora Release Engineering - 0.8.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jul 19 2016 Fedora Release Engineering - 0.8.3-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Fri Feb 05 2016 Fedora Release Engineering - 0.8.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Aug 12 2015 Andy Grover 0.8.3-1 +- New upstream version + +* Tue Jun 23 2015 Andy Grover 0.8.2-1 +- New upstream version + +* Fri Jun 19 2015 Fedora Release Engineering - 0.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Feb 11 2015 Andy Grover 0.8.1-1 +- New upstream version + +* Tue Feb 10 2015 Andy Grover 0.8-1 +- New upstream version + +* Sun Jun 08 2014 Fedora Release Engineering - 0.7.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Mar 14 2014 Andy Grover 0.7.2-1 +- New upstream version + +* Mon Feb 10 2014 Andy Grover 0.7.1-1 +- New upstream version + +* Mon Nov 25 2013 Andy Grover 0.7-2 +- Fix service file for new ktarget service name +- Add python-rtslib to requires + +* Fri Nov 8 2013 Andy Grover 0.7-1 +- New upstream version +- Use systemd spec macros + +* Thu Aug 8 2013 Andy Grover 0.6.1-1 +- Update to latest version, make needed changes +- Drop patches: + * require-password.patch + * use-std-ssl.patch +- Change requires from python-lvm to lvm2-python-libs + +* Mon Aug 5 2013 Peter Robinson 0.3.1-7 +- Add systemd to BuildReq to fix FTBFS + +* Sun Aug 04 2013 Fedora Release Engineering - 0.3.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Apr 16 2013 Andy Grover - 0.3.1-5 +- Update require-password.patch +- Change target.yaml to not include a commented-out default password + +* Tue Apr 16 2013 Andy Grover - 0.3.1-4 +- Remove dependency on python-tlslite + +* Mon Apr 15 2013 Andy Grover - 0.3.1-3 +- Add patch + * use-std-ssl.patch + * require-password.patch + +* Fri Feb 15 2013 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Oct 17 2012 Andy Grover - 0.3.1-1 +- New upstream version + +* Mon Sep 24 2012 Andy Grover - 0.3-1 +- New upstream version + +* Fri Sep 7 2012 Andy Grover - 0.2.4-1 +- New upstream version + +* Tue Aug 28 2012 Andy Grover - 0.2.3-1 +- New upstream version +- Add new dependency python-tlslite + +* Sat Jul 21 2012 Fedora Release Engineering - 0.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 25 2012 Andy Grover - 0.2.2-2 +- Add proper pkg requires + +* Mon Jun 25 2012 Andy Grover - 0.2.2-1 +- Initial packaging diff --git a/targetd.yaml b/targetd.yaml new file mode 100644 index 0000000..61c534a --- /dev/null +++ b/targetd.yaml @@ -0,0 +1,22 @@ +# See http://www.yaml.org/spec/1.2/spec.html for more on YAML. +# +# A sample /etc/target/targetd.yaml file. +# + +# No default password, please pick a good one. + +password: + +# defaults below; uncomment and edit +#block_pools: [vg-targetd/thin_pool] # just 1 by default, but can be more +#fs_pools: [] # Path to btrfs FS, eg. /my_btrfs_mount +#user: admin +#target_name: iqn.2003-01.org.example.mach1:1234 + +# log level (debug, info, warning, error, critical) +#log_level: info + +#ssl: false +# if ssl is activated: +#ssl_cert: /etc/target/targetd_cert.pem +#ssl_key: /etc/target/targetd_key.pem From 5de190b6ef675190923597eceeaa346472acbc33 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Mon, 25 Nov 2019 15:45:18 -0600 Subject: [PATCH 07/41] Update to version 0.8.9 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 37 ++++++++++++++++++------------------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 06e65af..517f376 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /targetd-0.8.3.tar.gz /targetd-0.8.5.tar.gz /targetd-0.8.6.tar.gz +/targetd-0.8.9.tar.gz diff --git a/sources b/sources index 8ca51d8..257bbc6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.8.6.tar.gz) = 91c2c05545b89f330f63454620a9b812e54f67d760c135141cdd4be7ef364a537896ad6c3af1f3651f120ae88bc5626a7dd835217cc30ac568d9248166fcf096 +SHA512 (targetd-0.8.9.tar.gz) = fab95aaab899c682fa0db0a8132ec6eca6776ecba8604c1a4cadabbb7cf8895ae0faca36cd5ee0fe62d64d66de207cbf0b239ce98e3a4338331746f14d96962c diff --git a/targetd.spec b/targetd.spec index e7ec394..25cc941 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,21 +1,16 @@ Name: targetd License: GPLv3 -Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.8.6 -Release: 5%{?dist} +Version: 0.8.9 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd -Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz +Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service -Source2: targetd.yaml BuildArch: noarch -BuildRequires: systemd, python3-devel +BuildRequires: systemd-rpm-macros +BuildRequires: python3-devel Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore -Requires: lvm2-python3-libs >= 2.02.99, nfs-utils, btrfs-progs -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - +Requires: nfs-utils, btrfs-progs, python3-blockdev, libblockdev-lvm %description targetd turns the machine into a remotely-configurable storage appliance. @@ -27,17 +22,16 @@ those volumes over iSCSI. %setup -q %build -%{__python3} setup.py build -gzip --stdout targetd.8 > targetd.8.gz +%py3_build %install mkdir -p %{buildroot}%{_mandir}/man8/ mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_sysconfdir}/target/ install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/targetd.service -install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/target/targetd.yaml -install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ -%{__python3} setup.py install --skip-build --root %{buildroot} +install -m 644 targetd.yaml %{buildroot}%{_sysconfdir}/target/targetd.yaml +install -m 644 targetd.8 %{buildroot}%{_mandir}/man8/ +%py3_install %post %systemd_post targetd.service @@ -51,12 +45,17 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %files %{_bindir}/targetd %{_unitdir}/targetd.service -%{python3_sitelib}/* -%doc LICENSE README.md API.md client -%{_mandir}/man8/targetd.8.gz +%{python3_sitelib}/targetd/ +%{python3_sitelib}/*.egg-info +%license LICENSE +%doc README.md API.md client +%{_mandir}/man8/targetd.8* %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Nov 25 2019 Tony Asleson - 0.8.9-1 +* Revive package and update to latest upstream release. + * Tue Jun 19 2018 Miro Hrončok - 0.8.6-5 - Rebuilt for Python 3.7 From dddae5e1e97b98454b88ad9a80c2ffc7f125f436 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 01:05:28 +0000 Subject: [PATCH 08/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_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 25cc941..bffb755 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.8.9 -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 @@ -53,6 +53,9 @@ install -m 644 targetd.8 %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 0.8.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Mon Nov 25 2019 Tony Asleson - 0.8.9-1 * Revive package and update to latest upstream release. From d8cabd2e760ff91a76d0f8972d3fcb0f6e432ffb Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Tue, 25 Feb 2020 15:48:15 -0600 Subject: [PATCH 09/41] Update to version 0.8.11 Signed-off-by: Tony Asleson --- .gitignore | 2 ++ sources | 2 +- targetd.spec | 11 +++++++++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 517f376..73ff2e3 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ /targetd-0.8.5.tar.gz /targetd-0.8.6.tar.gz /targetd-0.8.9.tar.gz +/targetd-0.8.10.tar.gz +/targetd-0.8.11.tar.gz diff --git a/sources b/sources index 257bbc6..3a0d63c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.8.9.tar.gz) = fab95aaab899c682fa0db0a8132ec6eca6776ecba8604c1a4cadabbb7cf8895ae0faca36cd5ee0fe62d64d66de207cbf0b239ce98e3a4338331746f14d96962c +SHA512 (targetd-0.8.11.tar.gz) = 829891252d58785560fe58a7b64a2e2007235f431fe2f2d5d9e6a0bb78c8c95ff7ed3f52e878b56331a149b78af4fd864a22c0f6bad14bcb0c78a8565d3e5d7e diff --git a/targetd.spec b/targetd.spec index bffb755..4114351 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.8.9 -Release: 2%{?dist} +Version: 0.8.11 +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 @@ -26,11 +26,13 @@ those volumes over iSCSI. %install mkdir -p %{buildroot}%{_mandir}/man8/ +mkdir -p %{buildroot}%{_mandir}/man5/ mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_sysconfdir}/target/ 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 %post @@ -50,9 +52,14 @@ install -m 644 targetd.8 %{buildroot}%{_mandir}/man8/ %license LICENSE %doc README.md API.md client %{_mandir}/man8/targetd.8* +%{_mandir}/man5/targetd.yaml.5* %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Feb 25 2020 Tony Asleson - 0.8.11-1 +- New upstream release +- Add man page for targetd.yaml.8 + * Fri Jan 31 2020 Fedora Release Engineering - 0.8.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 9f796a0d815d10c12f9ea3fda52dff6cfacbbc2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 03:51:38 +0200 Subject: [PATCH 10/41] Rebuilt for Python 3.9 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 4114351..fcb1e4c 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.8.11 -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 +* Tue May 26 2020 Miro Hrončok - 0.8.11-2 +- Rebuilt for Python 3.9 + * Tue Feb 25 2020 Tony Asleson - 0.8.11-1 - New upstream release - Add man page for targetd.yaml.8 From 47a3b88d642bc487e788d65ec40ac59807b3b6fe Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Wed, 15 Jul 2020 08:22:39 -0500 Subject: [PATCH 11/41] Update to version 0.8.12 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 7 +++++-- targetd.yaml | 4 ++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 73ff2e3..50112b2 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /targetd-0.8.9.tar.gz /targetd-0.8.10.tar.gz /targetd-0.8.11.tar.gz +/targetd-0.8.12.tar.gz diff --git a/sources b/sources index 3a0d63c..d95f744 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.8.11.tar.gz) = 829891252d58785560fe58a7b64a2e2007235f431fe2f2d5d9e6a0bb78c8c95ff7ed3f52e878b56331a149b78af4fd864a22c0f6bad14bcb0c78a8565d3e5d7e +SHA512 (targetd-0.8.12.tar.gz) = 06f4e12393c2264cfa4402911d788e011aa15a24d95ef9b8501fe476737a752e3be8c3f7e66edac4a221eb4f9b134cc229c4cbebaa83f4a1fd5140d62fccb252 diff --git a/targetd.spec b/targetd.spec index fcb1e4c..b03a009 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.8.11 -Release: 2%{?dist} +Version: 0.8.12 +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 +* Wed Jul 15 2020 Tony Asleson - 0.8.12-1 +- New upstream release + * Tue May 26 2020 Miro Hrončok - 0.8.11-2 - Rebuilt for Python 3.9 diff --git a/targetd.yaml b/targetd.yaml index 61c534a..d12a833 100644 --- a/targetd.yaml +++ b/targetd.yaml @@ -9,6 +9,10 @@ password: # defaults below; uncomment and edit #block_pools: [vg-targetd/thin_pool] # just 1 by default, but can be more + +#zfs_block_pools: [] # you can also use zfs as backend +#zfs_enable_copy: true # Enable if you want copy support, default is false + #fs_pools: [] # Path to btrfs FS, eg. /my_btrfs_mount #user: admin #target_name: iqn.2003-01.org.example.mach1:1234 From 443ea8ab7abc166aa3df87f9c0c70d5ce1faaa60 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 12:06:05 +0000 Subject: [PATCH 12/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_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 b03a009..ae4bd89 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.8.12 -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 +* Wed Jul 29 2020 Fedora Release Engineering - 0.8.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jul 15 2020 Tony Asleson - 0.8.12-1 - New upstream release From 540e1672e41a3d18714865b275ae4d9016e5db08 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Thu, 10 Sep 2020 15:59:54 -0500 Subject: [PATCH 13/41] Update to version 0.9.0 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 8 ++++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 50112b2..06debd5 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /targetd-0.8.10.tar.gz /targetd-0.8.11.tar.gz /targetd-0.8.12.tar.gz +/targetd-0.9.0.tar.gz diff --git a/sources b/sources index d95f744..f705572 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.8.12.tar.gz) = 06f4e12393c2264cfa4402911d788e011aa15a24d95ef9b8501fe476737a752e3be8c3f7e66edac4a221eb4f9b134cc229c4cbebaa83f4a1fd5140d62fccb252 +SHA512 (targetd-0.9.0.tar.gz) = 4d3fdbba5264d77b8ba202e37038d45255493e8c41092f43abf50250b6b13bb0d3b6b3a811daedaa8826d91b837502c8944065c9fe1fe844fd7e142e6791ce07 diff --git a/targetd.spec b/targetd.spec index ae4bd89..785aa0e 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.8.12 -Release: 2%{?dist} +Version: 0.9.0 +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 @@ -48,6 +48,7 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %{_bindir}/targetd %{_unitdir}/targetd.service %{python3_sitelib}/targetd/ +%{python3_sitelib}/targetd/backends/ %{python3_sitelib}/*.egg-info %license LICENSE %doc README.md API.md client @@ -56,6 +57,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Thu Sep 10 2020 Tony Asleson - 0.9.0-1 +- New upstream release + * Wed Jul 29 2020 Fedora Release Engineering - 0.8.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 4461102e42c4e56701962d5a1582a2dc504fef91 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Tue, 1 Dec 2020 10:42:52 -0600 Subject: [PATCH 14/41] Update to version 0.9.1 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 06debd5..1da4105 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /targetd-0.8.11.tar.gz /targetd-0.8.12.tar.gz /targetd-0.9.0.tar.gz +/targetd-0.9.1.tar.gz diff --git a/sources b/sources index f705572..a168451 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.9.0.tar.gz) = 4d3fdbba5264d77b8ba202e37038d45255493e8c41092f43abf50250b6b13bb0d3b6b3a811daedaa8826d91b837502c8944065c9fe1fe844fd7e142e6791ce07 +SHA512 (targetd-0.9.1.tar.gz) = b6b758c9af4588f795358a87afed3fd3730afcdff2bb25312fdfe3893126090e8e3361c4720c849d1243fa3b93cb3794e9cf674c6b254ab263a60130f265be96 diff --git a/targetd.spec b/targetd.spec index 785aa0e..1af237c 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,7 +1,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.9.0 +Version: 0.9.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 @@ -57,6 +57,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Dec 1 2020 Tony Asleson - 0.9.1-1 +- New upstream release + * Thu Sep 10 2020 Tony Asleson - 0.9.0-1 - New upstream release From 706d98cbc604a27d843c6b8ecf3c8f2ec21996d3 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Mon, 30 Nov 2020 16:50:32 -0600 Subject: [PATCH 15/41] Enable CI tests using the Standard Test Interface Adding initial set of basic functionality tests for targetd according to the Standard Test Interface. Ref. https://docs.fedoraproject.org/en-US/ci Signed-off-by: Tony Asleson --- tests/ci_test.sh | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/tests.yml | 22 ++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100755 tests/ci_test.sh create mode 100644 tests/tests.yml diff --git a/tests/ci_test.sh b/tests/ci_test.sh new file mode 100755 index 0000000..8d0a9e4 --- /dev/null +++ b/tests/ci_test.sh @@ -0,0 +1,49 @@ +#!/usr/bin/bash + +function _chk +{ + echo "executing: $@" + eval "$@" + local rc=$? + if [ $rc -ne 0 ]; then + echo "Failed: $rc" + # Dump log for targetd + echo "journalctl -u targetd" + journalctl -u targetd + + # On failure dump the audit logs + echo "ausearch ..." + ausearch -i -m avc,user_avc,selinux_err,user_selinux_err -ts recent + exit 1 + fi +} + +SOURCE_DIR="targetd_src" +BASE=$PWD + +# TODO REMOVE THIS WHEN RAWHIDE PICKS UP +# https://github.com/fedora-selinux/selinux-policy-contrib/pull/334 +_chk setenforce 0 + +# Run the upstream setup script +_chk cd $SOURCE_DIR +_chk ./test/test.sh setup + +# Pick up new changes from setup +_chk systemctl restart targetd + +# Try stopping the firewall, but don't fail if this fails +systemctl stop firewalld + +# Give the service a moment to start up. +_chk sleep 10 + +# See if the daemon is up and accepting ... +netstat -anp | grep LISTEN | grep 18700 + +# Go back to start directory and run unit test. +_chk cd $BASE + +SRC="$BASE/$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/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..428377f --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,22 @@ +- 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 9fed749d8e539af4141a0a9c598d81ed2c00327c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 21:36:41 +0000 Subject: [PATCH 16/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_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 1af237c..4e0fc87 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.9.1 -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 @@ -57,6 +57,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Dec 1 2020 Tony Asleson - 0.9.1-1 - New upstream release From 9a6468fff031a9aa45ecbab603a700748ebfb897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 2 Mar 2021 16:12:11 +0100 Subject: [PATCH 17/41] Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. --- targetd.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 4e0fc87..5a710f7 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.9.1 -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 @@ -57,6 +57,10 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.9.1-3 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + * Wed Jan 27 2021 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 96eb81b6f15f4c637c4a836ba8268e08c03647ea Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Tue, 6 Apr 2021 15:26:08 -0500 Subject: [PATCH 18/41] Update to version 0.10.0 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 8 +++++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 1da4105..220dfa1 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /targetd-0.8.12.tar.gz /targetd-0.9.0.tar.gz /targetd-0.9.1.tar.gz +/targetd-0.10.0.tar.gz diff --git a/sources b/sources index a168451..1938296 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.9.1.tar.gz) = b6b758c9af4588f795358a87afed3fd3730afcdff2bb25312fdfe3893126090e8e3361c4720c849d1243fa3b93cb3794e9cf674c6b254ab263a60130f265be96 +SHA512 (targetd-0.10.0.tar.gz) = 42f9c04a14efacd50bcb500c804d4e4b9c00584ce8327b68775fb3249c97514cdf0c1be9bab2a7c5f00f6421559dd6fc8bf2eaccea70c1d3f5d67ea81df1c20c diff --git a/targetd.spec b/targetd.spec index 5a710f7..7d68f25 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.9.1 -Release: 3%{?dist} +Version: 0.10.0 +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 @@ -48,7 +48,6 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %{_bindir}/targetd %{_unitdir}/targetd.service %{python3_sitelib}/targetd/ -%{python3_sitelib}/targetd/backends/ %{python3_sitelib}/*.egg-info %license LICENSE %doc README.md API.md client @@ -57,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Apr 06 2021 Tony Asleson - 0.10.0-1 +- New upstream release + * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.9.1-3 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. From e1f60daadcdfa686821dcaf04b875e7e1b11e981 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 21:16:18 +0200 Subject: [PATCH 19/41] 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 20/41] - 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 21/41] - 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 22/41] 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 23/41] 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 24/41] 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 25/41] 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 26/41] 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 27/41] 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 28/41] 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 29/41] 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 30/41] 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 31/41] 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 32/41] 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 33/41] 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 34/41] 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 35/41] 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 36/41] 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 37/41] 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 38/41] 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 39/41] 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 40/41] 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 41/41] 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