Fix up for file moves.

This commit is contained in:
Jesse Keating 2007-12-14 23:14:21 -05:00 committed by Jesse Keating
parent 2cb4e338f7
commit a18974c12c
2 changed files with 8 additions and 4 deletions

View File

@ -33,6 +33,7 @@ rm -rf $RPM_BUILD_ROOT
%{__install} -d $RPM_BUILD_ROOT/var/cache/pungi
%{__install} -d $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
@ -44,7 +45,9 @@ rm -rf $RPM_BUILD_ROOT
%doc Authors Changelog COPYING GPL ToDo doc/README
# For noarch packages: sitelib
%{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
%{_datadir}/pungi
%{_mandir}/man8/pungi.8.gz

View File

@ -6,10 +6,11 @@ setup(name='pungi',
description='Distribution compose tool',
author='Jesse Keating',
author_email='jkeating@redhat.com',
url='http://hosted.fedoraproject.org/projects/pungi',
license='GPL',
url='http://fedorahosted.org/pungi',
license='GPLv2',
package_dir = {'': 'src'},
packages = ['pypungi'],
scripts = ['pungi'],
scripts = ['src/bin/pungi.py'],
data_files=[('/usr/share/pungi', glob.glob('share/*'))]
)