The aim is to have skeleton spec fun.spec.skel
file which contains placeholders for Version
, Release
and that kind of things.
For the sake of simplicity I try to make a build target which updates those variables such that I transform the fun.spec.skel
to fun.spec
which I can then commit in my github repo. This is done such that rpmbuild -ta fun.tar
does work nicely and no manual modifications of fun.spec.skel are required (people tend to forget to bump the version in the spec file, but not in the buildsystem).