summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-10-18 18:17:10 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2015-10-18 18:17:10 +0200
commit006c4eb10513852bc7380bc58a13d5c937de944f (patch)
tree7f9de808e6a5eda90dccb6b64c473ea4441cf790
parent7661324c01829a795e8c75390257ebefc8a2e517 (diff)
downloadpgfuse-006c4eb10513852bc7380bc58a13d5c937de944f.tar.gz
pgfuse-006c4eb10513852bc7380bc58a13d5c937de944f.tar.bz2
some OBS build fixes and cleanups
-rw-r--r--dist/obs/pgfuse.dsc (renamed from tools/pgfuse.dsc)2
-rw-r--r--dist/redhat/pgfuse.spec2
-rwxr-xr-xtools/deploy_to_osc.sh18
3 files changed, 2 insertions, 20 deletions
diff --git a/tools/pgfuse.dsc b/dist/obs/pgfuse.dsc
index a0a3d08..fc13850 100644
--- a/tools/pgfuse.dsc
+++ b/dist/obs/pgfuse.dsc
@@ -1,6 +1,6 @@
Format: 1.0
Source: pgfuse
-Version: 0.0.1
+Version: 0.0.2
Binary: pgfuse
Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
Architecture: any
diff --git a/dist/redhat/pgfuse.spec b/dist/redhat/pgfuse.spec
index e0f9842..3618f5a 100644
--- a/dist/redhat/pgfuse.spec
+++ b/dist/redhat/pgfuse.spec
@@ -118,7 +118,7 @@ Release: 0.1
License: GPLv3
Group: System/Filesystems
-Source: %{name}_%{version}.tar.gz
+Source: %{name}_%{main_version}.tar.gz
URL: https://github.com/andreasbaumann/pgfuse
diff --git a/tools/deploy_to_osc.sh b/tools/deploy_to_osc.sh
deleted file mode 100755
index 075b2d8..0000000
--- a/tools/deploy_to_osc.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-PACKAGE_NAME=pgfuse
-PACKAGE_VERSION=0.0.1
-OSC_HOME=$HOME/home:andreas_baumann/$PACKAGE_NAME
-
-rm -f ${PACKAGE_NAME}-${PACKAGE_VERSION}.tar.gz
-make dist-gz
-cp ${PACKAGE_NAME}-${PACKAGE_VERSION}.tar.gz $OSC_HOME/${PACKAGE_NAME}_${PACKAGE_VERSION}.tar.gz
-cp redhat/$PACKAGE_NAME.spec $OSC_HOME/$PACKAGE_NAME.spec
-
-SIZE=`stat -c '%s' $OSC_HOME/${PACKAGE_NAME}_${PACKAGE_VERSION}.tar.gz`
-CHKSUM=`md5sum $OSC_HOME/${PACKAGE_NAME}_${PACKAGE_VERSION}.tar.gz | cut -f 1 -d' '`
-
-cat tools/$PACKAGE_NAME.dsc > $OSC_HOME/$PACKAGE_NAME.dsc
-echo " $CHKSUM $SIZE ${PACKAGE_NAME}_${PACKAGE_VERSION}.tar.gz" >> $OSC_HOME/$PACKAGE_NAME.dsc
-
-echo "md5sums=('$CHKSUM')" >> $OSC_HOME/PKGBUILD