diff options
author | UkJung Kim <ujkim@samsung.com> | 2017-03-28 10:13:30 +0900 |
---|---|---|
committer | park <sk7.park@samsung.com> | 2017-04-18 21:31:18 -0700 |
commit | 9ae4711ac53e224310aee10bfa7034d2a337f934 (patch) | |
tree | c58681890323bb8dbedb8df59c4e8f29434f6dac | |
parent | a950e65724d282f43fb31e06ccebe2411053ecf1 (diff) | |
download | rpm-9ae4711ac53e224310aee10bfa7034d2a337f934.tar.gz rpm-9ae4711ac53e224310aee10bfa7034d2a337f934.tar.bz2 rpm-9ae4711ac53e224310aee10bfa7034d2a337f934.zip |
Added %posttrans log message for verbose information
It takes long time when running %posttrans scripts of packages but there is no way to know what is urunning.
This change adds log message before running each %posttrans script.
Change-Id: I774d1dd28ab6a81ea40da392f293f5a86fa69e43
-rw-r--r-- | packaging/rpm-tizen_macros | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/rpm-tizen_macros b/packaging/rpm-tizen_macros index 94824bb3e..21fa6fd41 100644 --- a/packaging/rpm-tizen_macros +++ b/packaging/rpm-tizen_macros @@ -321,3 +321,7 @@ This package provides header files and other developer releated files for packag %devel_desc This package contains all necessary include files and libraries needed \ to develop applications that require %{name}.\ %{nil} + +%posttrans(n:) %%posttrans %{?-n:-n %{-n*}}%{*} \ +echo "Running %{?-n:%{-n*}}%{!?-n:%{name}%{?1:-%{1}}} %%posttrans script" \ +%{nil} |