- make rpmbuild work
authorSeth Vidal <skvidal@fedoraproject.org>
Mon, 7 Jan 2008 16:12:17 +0000 (11:12 -0500)
committerSeth Vidal <skvidal@fedoraproject.org>
Mon, 7 Jan 2008 16:12:17 +0000 (11:12 -0500)
- mark a fixme

createrepo.spec
genpkgmetadata.py

index 969ad9515b57049907a362874e5a8dfbc90bd743..73949d5af198e659ee56bc4504f40e7355af3904 100644 (file)
@@ -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
index 6e43aa6d2fa957d275aa06d53fb9d6e4be9d8b2c..6b3bd7f2fac604c8a8b5178999d426ac27da44a6 100755 (executable)
@@ -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):