Displaying 2 results from an estimated 2 matches for "centos_vers".
Did you mean:
  centos_ver
  
2011 Jan 03
1
Helper variables like %{rhel} on CentOS
Hello,
I'm trying to use helper variables like %{rhel} in a .SPEC file on 
CentOS (as they are defined in RHEL and Fedora [1]), but it seems they 
are not available.
Is there any way to detect automatically 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
2008 Dec 10
6
Miredo 1.1.5
I found a src.rpm for 1.1.5-1 for fc8 (not rh8!).  I was able to rebuild 
it on my Centos build system.
The rpms are identified as 1.1.5-1.i386.rpm, no el5 or other
identification was placed in the files.  I don't see how to control this 
when you rebuild from an existing src.rpm.  Interestingly the fc8 
designation was lost.
I also rebuild it on my fc10 system.  It worked, and the rpms have