[Rpm-metadata] createrepo.spec genpkgmetadata.py

Seth Vidal skvidal at linux.duke.edu
Mon Jan 7 16:13:45 UTC 2008


 createrepo.spec   |    2 +-
 genpkgmetadata.py |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d34dc9f2a1cd63fc90d6c06aef030ff095f37c24
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Mon Jan 7 11:12:17 2008 -0500

    - make rpmbuild work
    - mark a fixme

diff --git a/createrepo.spec b/createrepo.spec
index 969ad95..73949d5 100644
--- a/createrepo.spec
+++ b/createrepo.spec
@@ -22,7 +22,7 @@ rpm packages
 
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-%makeinstall
+make DESTDIR=$RPM_BUILD_ROOT install
 
 %clean
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
diff --git a/genpkgmetadata.py b/genpkgmetadata.py
index 6e43aa6..6b3bd7f 100755
--- a/genpkgmetadata.py
+++ b/genpkgmetadata.py
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 # Copyright 2004 Duke University
-
+# Portions Copyright 2007  Red Hat, Inc - written by seth vidal skvidal at fedoraproject.org
 
 import os
 import sys
@@ -148,7 +148,7 @@ def parseArgs(args, conf):
 def main(args):
     conf = createrepo.MetaDataConfig()
     conf = parseArgs(args, conf)
-        
+    # FIXME - some of these should be moved into the module and out of the cli routines        
     testdir = os.path.realpath(os.path.join(conf.basedir, conf.directory))
     # start the sanity/stupidity checks
     if not os.path.exists(testdir):



More information about the Rpm-metadata mailing list