/[smeserver]/builds_bin/macros
ViewVC logotype

Diff of /builds_bin/macros

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by slords, Sat Dec 2 17:19:10 2006 UTC Revision 1.2 by slords, Thu Dec 7 03:10:26 2006 UTC
# Line 1  Line 1 
 # Developer environment  
 # This gets symlinked into /etc/rpm/macros  
   
1  ## Build directory  ## Build directory
2  %_topdir %(echo $HOME)/rpms  %_topdir %(echo $HOME)/rpms
3    
# Line 18  Line 15 
15    
16  %distversion %(rpm -qf --qf='%{VERSION}' /etc/redhat-release)  %distversion %(rpm -qf --qf='%{VERSION}' /etc/redhat-release)
17  %distname %(grep -i fedora /etc/redhat-release >/dev/null && echo "Fedora Core" || echo "Red Hat Linux")  %distname %(grep -i fedora /etc/redhat-release >/dev/null && echo "Fedora Core" || echo "Red Hat Linux")
18  %disttag el%{distversion}  %distver el%{distversion}
19  %dist .2.%disttag.sme  %disttag .%{distver}.sme
20  %smerelease() %{?1}%{?dist}  %smerelease() %(echo "%{?1}%{?disttag}.%{?2}" | sed -e's|\\.$||')
21    
22  #---------------------------------------------------------------------  #---------------------------------------------------------------------
23    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed