Changeset 956 for branches/1.1/pkg


Ignore:
Timestamp:
03/05/14 19:28:38 (10 years ago)
Author:
olahaye
Message:

[jobmonarch.spec] Fix --with values dash-to-underscore unwanted translation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/pkg/rpm/jobmonarch.spec

    r954 r956  
    2323
    2424# Read the provided --with tags if any (overriding default values).
    25 %{?_with_httpd_user:%define httpd_user %(set -- %{_with_httpd_user}; echo $1 | grep -v with | sed 's/=//')}
    26 %{?_with_httpd_group:%define httpd_group %(set -- %{_with_httpd_group}; echo $1 | grep -v with | sed 's/=//')}
    27 %{?_with_httpd_user:%define ganglia_user %(set -- %{_with_ganglia_user}; echo $1 | grep -v with | sed 's/=//')}
    28 %{?_with_httpd_group:%define ganglia_group %(set -- %{_with_ganglia_group}; echo $1 | grep -v with | sed 's/=//')}
    29 %{?_with_web_prefixdir:%define web_prefixdir %(set -- %{_with_web_prefixdir}; echo $1 | grep -v with | sed 's/=//')}
     25%{?_with_httpd_user:%define httpd_user %(set -- %{_with_httpd_user}; echo $2 | cut -d= -f2)}
     26%{?_with_httpd_group:%define httpd_group %(set -- %{_with_httpd_group}; echo $2 | cut -d= -f2)}
     27%{?_with_httpd_user:%define ganglia_user %(set -- %{_with_ganglia_user}; echo $2 | cut -d= -f2)}
     28%{?_with_httpd_group:%define ganglia_group %(set -- %{_with_ganglia_group}; echo $2 | cut -d= -f2)}
     29%{?_with_web_prefixdir:%define web_prefixdir %(set -- %{_with_web_prefixdir}; echo $2 | cut -d= -f2)}
    3030
    3131# Don't need debuginfo RPM
Note: See TracChangeset for help on using the changeset viewer.