Accepting request 666655 from filesystems:ceph

checkin.sh: ensure tarballs are uniquely named (forwarded request 666653 from smithfarm)

OBS-URL: https://build.opensuse.org/request/show/666655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ceph-iscsi?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2019-01-21 09:58:55 +00:00 committed by Git OBS Bridge
commit 5ee3def555
5 changed files with 17 additions and 5 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e3f80e3e2688eb2cdbfb2e1e3d3431b78a7a0ba766669c8ce2d8152ecb051ec
size 118518

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4e0898eba3c1ab9a16501e6039a1ead9e9f837ef3e6943a62624efbbd269176
size 112785

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Jan 17 10:30:29 UTC 2019 - ncutler@suse.com
- checkin.sh: ensure tarballs are uniquely named
-------------------------------------------------------------------
Wed Jan 16 11:44:12 UTC 2019 - ncutler@suse.com
- multiple iSCSI target support (Ricardo Marques)
-------------------------------------------------------------------
Fri Dec 7 15:48:40 UTC 2018 - ncutler@suse.com

View File

@ -19,7 +19,7 @@
%endif
Name: ceph-iscsi
Version: 3.0
Version: 3.0+1547720996
Release: 1%{?dist}
Group: System/Filesystems
Summary: Python modules for Ceph iSCSI gateway configuration management

View File

@ -93,8 +93,10 @@ if [ ! -d .git ]; then
exit 1
fi
echo "Extracting spec file"
cp $PROJECT.spec $THIS_DIR
VERSION=$(grep ^Version *spec | sed -r "s/^Version:\s+//")
VERSION="${VERSION}+$(date +%s)"
sed -i -e 's/^Version:.*/Version: '$VERSION'/' $PROJECT.spec
cp $PROJECT.spec $THIS_DIR
echo "Version number is ->$VERSION<-"
cd ..
mv clone "$PROJECT-$VERSION"