From 8f9bd312e1f708b2e5ff4b1883c7248441e26c9a Mon Sep 17 00:00:00 2001 From: Carl George Date: Mar 25 2021 15:52:28 +0000 Subject: Install config files from spec file, not setup.py --- diff --git a/centpkg.spec b/centpkg.spec index 2babd65..be1d243 100644 --- a/centpkg.spec +++ b/centpkg.spec @@ -49,6 +49,8 @@ Provides the centpkg-sig command for working with dist-git. %install %py_install +install -D -p -m 0644 src/centpkg.conf %{buildroot}%{_sysconfdir}/rpkg/centpkg.conf +install -D -p -m 0644 src/centpkg-sig.conf %{buildroot}%{_sysconfdir}/rpkg/centpkg-sig.conf %files diff --git a/setup.py b/setup.py index f5191c0..124edcc 100644 --- a/setup.py +++ b/setup.py @@ -41,5 +41,4 @@ setup( packages=['centpkg'], install_requires=get_requirements(), scripts=['src/bin/centpkg', 'src/bin/centpkg-sig'], - data_files=[('/etc/rpkg',['src/centpkg.conf', 'src/centpkg-sig.conf']),] )