From fdb95be350c91f19b1714b45761c79f4509db8e5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 14 2020 22:46:13 +0000 Subject: import targetcli-2.1.52-1.el8 --- diff --git a/.gitignore b/.gitignore index 4f66cec..0f5b8c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/targetcli-fb-2.1.51.tar.gz +SOURCES/targetcli-fb-2.1.52.tar.gz diff --git a/.targetcli.metadata b/.targetcli.metadata index 2a071a5..6c2417c 100644 --- a/.targetcli.metadata +++ b/.targetcli.metadata @@ -1 +1 @@ -3e6f8caa6fc7a2591a97fd8b5c37554c71c1dd52 SOURCES/targetcli-fb-2.1.51.tar.gz +0b09499167b2be66fee72aafd6dd4fde2453f8df SOURCES/targetcli-fb-2.1.52.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..0e59c62 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.52 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,12 @@ install -m 644 targetclid.8.gz %{buildroot}%{_mandir}/man8/ %{_usr}/lib/systemd/system/targetclid.socket %changelog +* 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