Blame SOURCES/Do-not-install-systemd-files-in-setup.py.patch

a65f79
From 88da522778fc6a7b256cda7f960912b439290538 Mon Sep 17 00:00:00 2001
a65f79
From: Matt Coleman <matt@datto.com>
a65f79
Date: Fri, 19 Jun 2020 19:06:24 -0400
a65f79
Subject: [PATCH] Do not install systemd files in setup.py
a65f79
a65f79
setuptools should not perform OS-specific actions such as installing systemd units.
a65f79
OS-specific actions should be handled by the package manager.
a65f79
---
a65f79
 setup.py | 1 -
a65f79
 1 file changed, 1 deletion(-)
a65f79
a65f79
diff --git a/setup.py b/setup.py
a65f79
index 4518165..8dff55e 100755
a65f79
--- a/setup.py
a65f79
+++ b/setup.py
a65f79
@@ -34,7 +34,6 @@ setup(
a65f79
                'scripts/targetcli',
a65f79
                'daemon/targetclid'
a65f79
               ],
a65f79
-    data_files = [('/lib/systemd/system', ['systemd/targetclid.socket', 'systemd/targetclid.service'])],
a65f79
     classifiers = [
a65f79
         "Programming Language :: Python",
a65f79
         "Programming Language :: Python :: 3",
a65f79
-- 
a65f79
2.27.0
a65f79