diff --git a/.gitignore b/.gitignore index 4f66cec..c8658e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/targetcli-fb-2.1.51.tar.gz +SOURCES/targetcli-fb-2.1.53.tar.gz diff --git a/.targetcli.metadata b/.targetcli.metadata index 2a071a5..030fdb9 100644 --- a/.targetcli.metadata +++ b/.targetcli.metadata @@ -1 +1 @@ -3e6f8caa6fc7a2591a97fd8b5c37554c71c1dd52 SOURCES/targetcli-fb-2.1.51.tar.gz +cb06b7dc70606e63974df107d418c2344dcc7d7b SOURCES/targetcli-fb-2.1.53.tar.gz diff --git a/SOURCES/0001-setup.py-add-the-socket-and-service-files-to-the-dat.patch b/SOURCES/0001-setup.py-add-the-socket-and-service-files-to-the-dat.patch index 5087bdb..d850d1c 100644 --- a/SOURCES/0001-setup.py-add-the-socket-and-service-files-to-the-dat.patch +++ b/SOURCES/0001-setup.py-add-the-socket-and-service-files-to-the-dat.patch @@ -1,26 +1,13 @@ -From e1fece46f5f47ef0636132216b9d293e86153193 Mon Sep 17 00:00:00 2001 -From: Maurizio Lombardi -Date: Thu, 21 Nov 2019 09:58:55 +0100 -Subject: [PATCH] setup.py: add the socket and service files to the data_files - section - -Signed-off-by: Maurizio Lombardi ---- - setup.py | 1 + - 1 file changed, 1 insertion(+) - diff --git a/setup.py b/setup.py -index 8dff55e..13152f9 100755 +index 4518165..2ebfc04 100755 --- a/setup.py +++ b/setup.py -@@ -34,6 +34,7 @@ setup( +@@ -34,7 +34,7 @@ setup( 'scripts/targetcli', 'daemon/targetclid' ], +- data_files = [('/lib/systemd/system', ['systemd/targetclid.socket', 'systemd/targetclid.service'])], + data_files = [('/usr/lib/systemd/system', ['systemd/targetclid.socket', 'systemd/targetclid.service'])], classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", --- -2.21.0 - diff --git a/SPECS/targetcli.spec b/SPECS/targetcli.spec index 0cc1197..0afbdf2 100644 --- a/SPECS/targetcli.spec +++ b/SPECS/targetcli.spec @@ -4,10 +4,10 @@ Name: targetcli License: ASL 2.0 Group: System Environment/Libraries Summary: An administration shell for storage targets -Version: 2.1.51 +Version: 2.1.53 Release: 1%{?dist} -URL: https://fedorahosted.org/targetcli-fb/ -Source: https://fedorahosted.org/released/targetcli-fb/%{oname}-%{version}.tar.gz +URL: https://github.com/open-iscsi/%{oname} +Source: %{url}/archive/v%{version}/%{oname}-%{version}.tar.gz Patch0: 0001-setup.py-add-the-socket-and-service-files-to-the-dat.patch BuildArch: noarch BuildRequires: python3-devel, python3-setuptools @@ -33,6 +33,7 @@ gzip --stdout targetclid.8 > targetclid.8.gz mkdir -p %{buildroot}%{_unitdir} %{__python3} setup.py install --skip-build --root %{buildroot} mkdir -p %{buildroot}%{_sysconfdir}/target/backup +mkdir -p %{buildroot}%{_sysconfdir}/target/pr mkdir -p %{buildroot}%{_mandir}/man8/ install -m 644 targetcli.8.gz %{buildroot}%{_mandir}/man8/ install -m 644 targetclid.8.gz %{buildroot}%{_mandir}/man8/ @@ -43,6 +44,7 @@ install -m 644 targetclid.8.gz %{buildroot}%{_mandir}/man8/ %{_bindir}/targetclid %dir %{_sysconfdir}/target %dir %{_sysconfdir}/target/backup +%dir %{_sysconfdir}/target/pr %doc COPYING README.md %{_mandir}/man8/targetcli.8.gz %{_mandir}/man8/targetclid.8.gz @@ -50,6 +52,15 @@ install -m 644 targetclid.8.gz %{buildroot}%{_mandir}/man8/ %{_usr}/lib/systemd/system/targetclid.socket %changelog +* Thu Jun 25 2020 Maurizio Lombardi - 2.1.53-1 +- Update to new upstream version + +* Mon May 11 2020 Maurizio Lombardi - 2.1.52-1 +- Update to new upstream version + +* Fri Dec 06 2019 Maurizio Lombardi - 2.1.51-2 +- Create the target/pr directory when installing the package + * Mon Nov 18 2019 Maurizio Lombardi - 2.1.51-1 - Update to new upstream release