diff --git a/ceph-iscsi-3.0+1547720996.tar.gz b/ceph-iscsi-3.0+1547720996.tar.gz new file mode 100644 index 0000000..2cd8f60 --- /dev/null +++ b/ceph-iscsi-3.0+1547720996.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e3f80e3e2688eb2cdbfb2e1e3d3431b78a7a0ba766669c8ce2d8152ecb051ec +size 118518 diff --git a/ceph-iscsi-3.0.tar.gz b/ceph-iscsi-3.0.tar.gz deleted file mode 100644 index 20410d1..0000000 --- a/ceph-iscsi-3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b0a68d067b51e1f9e23fcb4071edc6af426204c1427f8729bb61dda53c18c90f -size 118493 diff --git a/ceph-iscsi.changes b/ceph-iscsi.changes index 0440f03..d4751a7 100644 --- a/ceph-iscsi.changes +++ b/ceph-iscsi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/ceph-iscsi.spec b/ceph-iscsi.spec index 1c77fa4..28ed99f 100644 --- a/ceph-iscsi.spec +++ b/ceph-iscsi.spec @@ -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 diff --git a/checkin.sh b/checkin.sh index 0f77811..b52f48a 100644 --- a/checkin.sh +++ b/checkin.sh @@ -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"