git is required for the build (gemspecs contain git launch).
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 14 Mar 2014 12:41:06 +0000 (13:41 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 14 Mar 2014 13:45:14 +0000 (14:45 +0100)
rocci-api/debian/control
rocci-api/gen-rocci-api.sh
rocci-cli/debian/control
rocci-cli/gen-rocci-cli.sh
rocci-core/debian/control
rocci-core/gen-rocci-core.sh

index 8befe1a..dcd2379 100644 (file)
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: František Dvořák <valtri@civ.zcu.cz>
 Standards-Version: 3.9.5
 Build-Depends:
- debhelper (>= 8), gem2deb
+ debhelper (>= 8), gem2deb, git
 Vcs-Browser: https://github.com/EGI-FCTF/rOCCI-api
 Vcs-Git: git://github.com/EGI-FCTF/rOCCI-api.git
 XS-Ruby-Versions: all
index b46e90f..33c98f6 100755 (executable)
@@ -31,7 +31,7 @@ p_name="ruby-occi-api"
 if [ -n "$tag" ]; then
        git checkout "$tag"
 fi
-tar -cf - --exclude .gitignore --exclude .git ../rOCCI-api | gzip --best > ../${p_name}_$ver.orig.tar.gz
+tar -cf - --exclude .gitignore ../rOCCI-api | gzip --best > ../${p_name}_$ver.orig.tar.gz
 
 cp -rp ../debian .
 cat <<EOF > debian/changelog
index 8a94e14..e4942a7 100644 (file)
@@ -2,7 +2,7 @@ Source: rocci-cli
 Section: ruby
 Priority: optional
 Maintainer: František Dvořák <valtri@civ.zcu.cz>
-Build-Depends: debhelper (>= 8), gem2deb
+Build-Depends: debhelper (>= 8), gem2deb, git
 Standards-Version: 3.9.5
 Vcs-Browser: https://github.com/EGI-FCTF/rOCCI-cli
 Vcs-Git: git://github.com/EGI-FCTF/rOCCI-cli.git
index 42a5fdd..460e7c8 100755 (executable)
@@ -31,7 +31,7 @@ p_name="rocci-cli"
 if [ -n "$tag" ]; then
        git checkout "$tag"
 fi
-tar -cf - --exclude .gitignore --exclude .git ../rOCCI-cli | gzip --best > ../${p_name}_$ver.orig.tar.gz
+tar -cf - --exclude .gitignore ../rOCCI-cli | gzip --best > ../${p_name}_$ver.orig.tar.gz
 
 cp -rp ../debian .
 cat <<EOF > debian/changelog
index a313f4a..1f30969 100644 (file)
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: František Dvořák <valtri@civ.zcu.cz>
 Standards-Version: 3.9.5
 Build-Depends:
-    debhelper (>= 8), gem2deb
+    debhelper (>= 8), gem2deb, git
 Vcs-Browser: https://github.com/EGI-FCTF/rOCCI-core
 Vcs-Git: git://github.com/EGI-FCTF/rOCCI-core.git
 XS-Ruby-Versions: all
index 0a804f8..963b7e9 100755 (executable)
@@ -31,7 +31,7 @@ p_name="ruby-occi-core"
 if [ -n "$tag" ]; then
        git checkout "$tag"
 fi
-tar -cf - --exclude .gitignore --exclude .git ../rOCCI-core | gzip --best > ../${p_name}_$ver.orig.tar.gz
+tar -cf - --exclude .gitignore ../rOCCI-core | gzip --best > ../${p_name}_$ver.orig.tar.gz
 
 cp -rp ../debian .
 if [ x"$tag" = x"v4.2.10" ]; then