- Create repoview content in the tree
This commit is contained in:
parent
f074a600de
commit
ee22bb65ae
@ -1,3 +1,6 @@
|
|||||||
|
* Fri Sep 14 2007 Jesse Keating <jkeating@redhat.com>
|
||||||
|
- Create repoview content in the tree
|
||||||
|
|
||||||
* Wed Sep 12 2007 Jesse Keating <jkeating@redhat.com>
|
* Wed Sep 12 2007 Jesse Keating <jkeating@redhat.com>
|
||||||
- Remove python2.5 needs (Mark McLoughlin)
|
- Remove python2.5 needs (Mark McLoughlin)
|
||||||
- Consolidate the download code for easier maint. (Mark McLoughlin)
|
- Consolidate the download code for easier maint. (Mark McLoughlin)
|
||||||
|
@ -10,7 +10,7 @@ License: GPLv2
|
|||||||
URL: http://hosted.fedoraproject.org/projects/pungi
|
URL: http://hosted.fedoraproject.org/projects/pungi
|
||||||
Source0: http://linux.duke.edu/projects/%{name}/release/%{name}-%{version}.tar.gz
|
Source0: http://linux.duke.edu/projects/%{name}/release/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: anaconda-runtime, yum => 3.0.3, pykickstart => 1.13
|
Requires: anaconda-runtime, yum => 3.0.3, repoview
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
@ -83,7 +83,27 @@ class Pungi(pypungi.PungiBase):
|
|||||||
createrepo.append(self.topdir)
|
createrepo.append(self.topdir)
|
||||||
|
|
||||||
# run the command
|
# run the command
|
||||||
pypungi._doRunCommand(createrepo, self.logger, rundir=self.topdir)
|
pypungi._doRunCommand(createrepo, self.logger)
|
||||||
|
|
||||||
|
# setup the repoview call
|
||||||
|
repoview = ['/usr/bin/repoview']
|
||||||
|
repoview.append('--quiet')
|
||||||
|
repoview.append('--title')
|
||||||
|
if self.config.get('default', 'flavor'):
|
||||||
|
repoview.append('%s %s: %s - %s' % (self.config.get('default', 'name'),
|
||||||
|
self.config.get('default', 'version'),
|
||||||
|
self.config.get('default', 'flavor'),
|
||||||
|
self.config.get('default', 'arch')))
|
||||||
|
else:
|
||||||
|
repoview.append('%s %s - %s' % (self.config.get('default', 'name'),
|
||||||
|
self.config.get('default', 'version'),
|
||||||
|
self.config.get('default', 'arch')))
|
||||||
|
|
||||||
|
repoview.append(self.topdir)
|
||||||
|
|
||||||
|
# run the command
|
||||||
|
pypungi._doRunCommand(repoview, self.logger)
|
||||||
|
|
||||||
|
|
||||||
def doBuildinstall(self):
|
def doBuildinstall(self):
|
||||||
"""Run anaconda-runtime's buildinstall on the tree."""
|
"""Run anaconda-runtime's buildinstall on the tree."""
|
||||||
|
Loading…
Reference in New Issue
Block a user