Displaying 1 result from an estimated 1 matches for "dkgug".
Did you mean:
degug
2011 Jan 03
1
Helper variables like %{rhel} on CentOS
...ically CentOS release from a .SPEC
file in a RPM build process?
As a workaround, I use this hack:
%if 0%{?rhel} >= 5
(..)
%endif
And when calling rpmbuild I use a conditional build, like:
$ rpmbuild -ba --clean --define "rhel 5"
Regards,
[1] http://goo.gl/dkGUg
--
Santi Saez