]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
takora: build with tito
authorKen Dreyer <kdreyer@redhat.com>
Thu, 27 Aug 2015 22:23:15 +0000 (16:23 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 27 Aug 2015 22:25:34 +0000 (16:25 -0600)
(untested, just rm'ing the python stuff, since that's obviously wrong
for takora)

takora/build/build

index 7863b173ddbea83228de6bd52cc4ddfa015ef0dd..9ff263806a34219a86bfdfbde287333e6a0f0f22 100644 (file)
@@ -14,15 +14,8 @@ fi
 if [ $DEBIAN = 1 ] ; then
     dpkg-buildpackage -us -uc
 else
-    python ./setup.py sdist
-
-    RPMBUILD=$WORKSPACE/rpmbuild
-    mkdir -p $RPMBUILD/{SOURCES,SRPMS,SPECS,RPMS,BUILD}
-    cp -a dist/takora*.tar.gz  $RPMBUILD/SOURCES/.
-    cp -a takora.spec $RPMBUILD/SPECS/.
-
-    cd $RPMBUILD
-    rpmbuild -ba --define "_topdir $RPMBUILD" SPECS/takora.spec
+    # FIXME: is this the correct tito command?
+    tito rpm
 fi
 
 cd $WORKSPACE