Fix up for file moves.
This commit is contained in:
parent
2cb4e338f7
commit
a18974c12c
@ -33,6 +33,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{__install} -d $RPM_BUILD_ROOT/var/cache/pungi
|
%{__install} -d $RPM_BUILD_ROOT/var/cache/pungi
|
||||||
%{__install} -d $RPM_BUILD_ROOT/%{_mandir}/man8
|
%{__install} -d $RPM_BUILD_ROOT/%{_mandir}/man8
|
||||||
%{__install} doc/pungi.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
|
%{__install} doc/pungi.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
|
||||||
|
%{__mv} $RPM_BUILD_ROOT/%{_bindir}/pungi.py $RPM_BUILD_ROOT/%{_bindir}/pungi
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -44,7 +45,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc Authors Changelog COPYING GPL ToDo doc/README
|
%doc Authors Changelog COPYING GPL ToDo doc/README
|
||||||
# For noarch packages: sitelib
|
# For noarch packages: sitelib
|
||||||
%{python_sitelib}/pypungi
|
%{python_sitelib}/pypungi
|
||||||
%{python_sitelib}/%{name}-%{version}-py2.5.egg-info
|
%if 0%{?fedora} >= 9
|
||||||
|
%{python_sitelib}/%{name}-%{version}-py2.5.egg-info
|
||||||
|
%endif
|
||||||
%{_bindir}/pungi
|
%{_bindir}/pungi
|
||||||
%{_datadir}/pungi
|
%{_datadir}/pungi
|
||||||
%{_mandir}/man8/pungi.8.gz
|
%{_mandir}/man8/pungi.8.gz
|
||||||
|
7
setup.py
7
setup.py
@ -6,10 +6,11 @@ setup(name='pungi',
|
|||||||
description='Distribution compose tool',
|
description='Distribution compose tool',
|
||||||
author='Jesse Keating',
|
author='Jesse Keating',
|
||||||
author_email='jkeating@redhat.com',
|
author_email='jkeating@redhat.com',
|
||||||
url='http://hosted.fedoraproject.org/projects/pungi',
|
url='http://fedorahosted.org/pungi',
|
||||||
license='GPL',
|
license='GPLv2',
|
||||||
|
package_dir = {'': 'src'},
|
||||||
packages = ['pypungi'],
|
packages = ['pypungi'],
|
||||||
scripts = ['pungi'],
|
scripts = ['src/bin/pungi.py'],
|
||||||
data_files=[('/usr/share/pungi', glob.glob('share/*'))]
|
data_files=[('/usr/share/pungi', glob.glob('share/*'))]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user