Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Commit

Permalink
Add git branch information to the RPM Release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jtikalsky committed Jun 30, 2014
1 parent 2f7bf50 commit 85a87ae
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sysmgr.spec
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
%define commit %(git log HEAD^..HEAD --format=format:%H)
%define shortcommit %(git log HEAD^..HEAD --format=format:%h)

Summary: University of Wisconsin IPMI MicroTCA System Manager
Name: sysmgr
Version: 1.0.0
Release: 1%{?dist}
Release: 1%{?dist}.%(git branch | grep \* | cut -d\ -f2)
Packager: Jesra Tikalsky
#BuildArch: %{_buildarch}
License: Reserved
Group: Applications/XDAQ
#Source: https://github.com/uwcms/sysmgr/archive/master.zip
#Source: http://github.com/uwcms/sysmgr/archive/%{commit}/sysmgr-%{commit}.tar.gz
URL: https://github.com/uwcms/sysmgr
BuildRoot: %{PWD}/rpm/buildroot
Requires: freeipmi >= 1.2.1, libconfuse >= 2.7
Expand Down

0 comments on commit 85a87ae

Please sign in to comment.