mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 16:22:55 +00:00
Install config files from spec file, not setup.py
This commit is contained in:
parent
4027252911
commit
8f9bd312e1
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
1
setup.py
1
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']),]
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue