summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2018-11-14 11:13:08 +0300
committerSlava Barinov <v.barinov@samsung.com>2018-12-27 14:49:59 +0300
commit5d9c5468fcf90ae255643cd5c7adec048bd0ca0c (patch)
treedb97ca7203d775ae4f5ed65ed0b5f5411a573d54
parent6c595f38457231d53c27dd28446b9bf71bf248af (diff)
downloadrpm-5d9c5468fcf90ae255643cd5c7adec048bd0ca0c.tar.gz
rpm-5d9c5468fcf90ae255643cd5c7adec048bd0ca0c.tar.bz2
rpm-5d9c5468fcf90ae255643cd5c7adec048bd0ca0c.zip
Add default %_buildinfo for packagessubmit/tizen_base/20181228.105429
Change-Id: I99dcdb6bbd713eef5ce2e9c85fa6c532ac45e04a Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r--packaging/rpm-tizen_macros6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/rpm-tizen_macros b/packaging/rpm-tizen_macros
index d4b60c7a6..e720c8fde 100644
--- a/packaging/rpm-tizen_macros
+++ b/packaging/rpm-tizen_macros
@@ -331,3 +331,9 @@ echo "Running %{?-n:%{-n*}}%{!?-n:%{name}%{?1:-%{1}}} %%posttrans script" \
cp %{_debug_manifest} %{_builddir}/%{?buildsubdir}/%{name}-debuginfo.manifest \
cp %{_debug_manifest} %{_builddir}/%{?buildsubdir}/%{name}-debugsource.manifest \
%{nil}
+
+%_buildinfo "Tizen %tizen_full_version"\
+"%_project/%_repository"\
+"%(gcc --version | head -n 1)-%(rpm -q gcc --queryformat \"%{VCS}\" | sed -e 's/.*\#//')"\
+%{?_auxbuildinfo}\
+%{nil}