Closed samdoran closed 10 years ago
I'll be honest here, I have no idea what I'm doing when it comes to RPM packaging.
Do you know of a macro or similar I could set that would automatically choose the commit you currently have checked out?
I notice there's also some legacy stuff there that probably needs clearing up (the ISEexchange reference etc) -- perhaps I need to dedicate some time to it!
It looks like Paul Morgan used tito on commit 1112b77780 to update the spec file. That looks like a very robust way to keep the spec file updated as well as generate tar.gz
files or rpms.
The latest commit should grab the latest "master" push from my repo. I try to only ever push stuff that builds -- I've had to slightly break that rule as I don't have a Redhat system to test it on!
Hope that helps!
The
%{commit}
variable inrancid-git.spec
references SHA788157a
, which is from May 2013. I'm not sure if this is intentional, e.g., this is the latest "stable" release. If not, it would be nice if this variable could be updated to a newer commit.I was able to successfully build an RPM from the latest commit (as of this writing) by changing this variable to
6b843b4f74fac89296b9fb325efa5eac1971b284
and exporting an archive.