Skip to content

Commit

Permalink
Default version 1
Browse files Browse the repository at this point in the history
  • Loading branch information
seocam committed Mar 22, 2015
1 parent a82fee7 commit eead475
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/build_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sudo cp ci/softwarepublico.key /tmp/centos-7/etc/yum.repos.d/
# Commands on chroot

sudo chroot /tmp/centos-7/ yum install rpm-build -y --quiet
sudo chroot /tmp/centos-7/ yum-builddep /root/rpmbuild/SPECS/colab.spec
sudo chroot /tmp/centos-7/ yum-builddep /root/rpmbuild/SPECS/colab.spec -y

sudo chroot /tmp/centos-7/ repoquery --repofrompath="$repo,$repo_url" --repoid=$repo colab --info > /tmp/colab-latest-info

Expand Down
3 changes: 2 additions & 1 deletion colab.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
%define name colab
# version must be given from command line
%define default_version 1
%{!?version: %define version %{default_version}}
%define unmangled_version %{version}
%define default_release 1
%{!?release: %define release %{default_release}}
Expand Down

0 comments on commit eead475

Please sign in to comment.