From 006c4eb10513852bc7380bc58a13d5c937de944f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 18 Oct 2015 18:17:10 +0200 Subject: some OBS build fixes and cleanups --- dist/obs/pgfuse.dsc | 9 +++++++++ dist/redhat/pgfuse.spec | 2 +- tools/deploy_to_osc.sh | 18 ------------------ tools/pgfuse.dsc | 9 --------- 4 files changed, 10 insertions(+), 28 deletions(-) create mode 100644 dist/obs/pgfuse.dsc delete mode 100755 tools/deploy_to_osc.sh delete mode 100644 tools/pgfuse.dsc diff --git a/dist/obs/pgfuse.dsc b/dist/obs/pgfuse.dsc new file mode 100644 index 0000000..fc13850 --- /dev/null +++ b/dist/obs/pgfuse.dsc @@ -0,0 +1,9 @@ +Format: 1.0 +Source: pgfuse +Version: 0.0.2 +Binary: pgfuse +Maintainer: Andreas Baumann +Architecture: any +Build-Depends: debhelper (>= 4.1.16), pkg-config, + libpq-dev, libfuse-dev +Files: 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 diff --git a/tools/pgfuse.dsc b/tools/pgfuse.dsc deleted file mode 100644 index a0a3d08..0000000 --- a/tools/pgfuse.dsc +++ /dev/null @@ -1,9 +0,0 @@ -Format: 1.0 -Source: pgfuse -Version: 0.0.1 -Binary: pgfuse -Maintainer: Andreas Baumann -Architecture: any -Build-Depends: debhelper (>= 4.1.16), pkg-config, - libpq-dev, libfuse-dev -Files: -- cgit v1.2.3-54-g00ecf