diff options
author | Nikolai Merinov <n.merinov@samsung.com> | 2019-02-04 15:32:50 +0300 |
---|---|---|
committer | Nikolai Merinov <n.merinov@samsung.com> | 2019-02-05 16:53:18 +0300 |
commit | 9c1546ad56c8e6e56b1e5163df340573b9eaf793 (patch) | |
tree | 76542d81a5fb4b230219f6c8483b2d0d533892ba | |
parent | 318764763e5c25fcabfd977b6fb16d4bdc7dbebc (diff) | |
download | rpm-sandbox/nmerinov/llvm.tar.gz rpm-sandbox/nmerinov/llvm.tar.bz2 rpm-sandbox/nmerinov/llvm.zip |
Use %__cc to define package versionsandbox/nmerinov/llvm
-rw-r--r-- | packaging/rpm-tizen_macros | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/rpm-tizen_macros b/packaging/rpm-tizen_macros index fbb84856c..23e267b51 100644 --- a/packaging/rpm-tizen_macros +++ b/packaging/rpm-tizen_macros @@ -347,6 +347,6 @@ echo "Running %{?-n:%{-n*}}%{!?-n:%{name}%{?1:-%{1}}} %%posttrans script" \ %_buildinfo "Tizen %tizen_full_version"\ "%_project/%_repository"\ -"%(gcc --version | head -n 1)-%(rpm -q gcc --queryformat \"%{VCS}\" | sed -e 's/.*\#//')"\ +"%(%__cc --version | head -n 1)-%(rpm -q %(echo %cc | sed 's/ .*$//') --queryformat \"%{VCS}\" | sed -e 's/.*\#//')"\ %{?_auxbuildinfo}\ %{nil} |