|
# Developer environment |
|
|
# This gets symlinked into /etc/rpm/macros |
|
|
|
|
1 |
## Build directory |
## Build directory |
2 |
%_topdir %(echo $HOME)/rpms |
%_topdir %(echo $HOME)/rpms |
3 |
|
|
14 |
%_smp_mflags -j5 |
%_smp_mflags -j5 |
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") |
%dist .el%{distversion}.sme |
18 |
%disttag el%{distversion} |
%smerelease() %(echo "%{?1}%{?dist}.%{?2}" | sed -e's|\\.$||') |
|
%dist .2.%disttag.sme |
|
|
%smerelease() %{?1}%{?dist} |
|
19 |
|
|
20 |
#--------------------------------------------------------------------- |
#--------------------------------------------------------------------- |
21 |
|
|