Install the man page in the spec file
reference new README location
This commit is contained in:
parent
33d983e8b6
commit
e7779582c3
@ -2,8 +2,8 @@ include Authors
|
|||||||
include Changelog
|
include Changelog
|
||||||
include COPYING
|
include COPYING
|
||||||
include GPL
|
include GPL
|
||||||
include README
|
|
||||||
include TESTING
|
include TESTING
|
||||||
include ToDo
|
include ToDo
|
||||||
include pungi.spec
|
include pungi.spec
|
||||||
include share/*
|
include share/*
|
||||||
|
include doc/*
|
||||||
|
@ -31,6 +31,8 @@ A tool to create anaconda based installation trees/isos of a set of rpms.
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
%{__python} setup.py install -O1 --skip-build --root $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} doc/pungi.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -39,11 +41,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Authors Changelog COPYING GPL README ToDo
|
%doc Authors Changelog COPYING GPL ToDo doc/README
|
||||||
# For noarch packages: sitelib
|
# For noarch packages: sitelib
|
||||||
%{python_sitelib}/pypungi
|
%{python_sitelib}/pypungi
|
||||||
%{_bindir}/pungi
|
%{_bindir}/pungi
|
||||||
%{_datadir}/pungi
|
%{_datadir}/pungi
|
||||||
|
%{_mandir}/man8/pungi.8.gz
|
||||||
/var/cache/pungi
|
/var/cache/pungi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user