Blame SOURCES/0001-setup.py-add-the-socket-and-service-files-to-the-dat.patch

a135b2
From 9c4be0387f7ae49a85db2ab3e31eb9d7834dded1 Mon Sep 17 00:00:00 2001
a135b2
From: Maurizio Lombardi <mlombard@redhat.com>
a135b2
Date: Thu, 21 Nov 2019 09:58:55 +0100
a135b2
Subject: [PATCH] setup.py: add the socket and service files to the data_files
a135b2
 section
a135b2
a135b2
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
a135b2
---
a135b2
 setup.py | 1 +
a135b2
 1 file changed, 1 insertion(+)
a135b2
a135b2
diff --git a/setup.py b/setup.py
a135b2
index 8dff55e..4518165 100755
a135b2
--- a/setup.py
a135b2
+++ b/setup.py
a135b2
@@ -34,6 +34,7 @@ setup(
a135b2
                'scripts/targetcli',
a135b2
                'daemon/targetclid'
a135b2
               ],
a135b2
+    data_files = [('/usr/lib/systemd/system', ['systemd/targetclid.socket', 'systemd/targetclid.service'])],
a135b2
     classifiers = [
a135b2
         "Programming Language :: Python",
a135b2
         "Programming Language :: Python :: 3",
a135b2
-- 
a135b2
2.21.0
a135b2