summaryrefslogtreecommitdiff
path: root/packaging/rpm-tizen_macros
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/rpm-tizen_macros')
-rw-r--r--packaging/rpm-tizen_macros29
1 files changed, 14 insertions, 15 deletions
diff --git a/packaging/rpm-tizen_macros b/packaging/rpm-tizen_macros
index d20c04d66..94824bb3e 100644
--- a/packaging/rpm-tizen_macros
+++ b/packaging/rpm-tizen_macros
@@ -21,23 +21,23 @@
%kernel_release %(/bin/rpm -q --queryformat '%{RPMTAG_VERSION}-%{RPMTAG_RELEASE}' $(/bin/rpm -q --whatprovides kernel))
%kernel_name %(/bin/rpm -q --queryformat '%{RPMTAG_NAME}' $(/bin/rpm -q --whatprovides kernel))
-# this script calls all scripts in /usr/lib/rpm/brp-tizen.d
-%__arch_install_post /usr/lib/rpm/check-buildroot
+# this script calls all scripts in %{_rpmconfigdir}/brp-tizen.d
+%__arch_install_post %{_rpmconfigdir}/check-buildroot
%__strip_install_post \
- %{!?__debug_package:/usr/lib/rpm/brp-strip %{__strip}} \
- /usr/lib/rpm/brp-strip-static-archive %{__strip} \
-# /usr/lib/rpm/brp-strip-comment-note %{__strip} %{__objdump} \
+ %{!?__debug_package:%{_rpmconfigdir}/brp-strip %{__strip}} \
+ %{_rpmconfigdir}/brp-strip-static-archive %{__strip} \
+# %{_rpmconfigdir}/brp-strip-comment-note %{__strip} %{__objdump} \
%{nil}
%__os_install_post \
- /usr/lib/rpm//brp-compress \
+ %{_rpmconfigdir}//brp-compress \
%{!?_rpm_strip_disable:%{__strip_install_post}}\
- /usr/lib/rpm/brp-python-hardlink \
- %{!?disable_docs_package:/usr/lib/rpm/tizen/find-docs.sh %{buildroot}} \
+ %{_rpmconfigdir}/brp-python-hardlink \
+ %{!?disable_docs_package:%{_rpmconfigdir}/tizen/find-docs.sh %{buildroot}} \
%{nil}
-# /usr/lib/rpm/tizen/brp-implant-ident-static
+# %{_rpmconfigdir}/tizen/brp-implant-ident-static
%__spec_install_post\
%{?__debug_package:%{__debug_install_post}}\
@@ -65,7 +65,7 @@
if test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then \
/sbin/install-info "${ALL_ARGS[@]}" \
fi \
- fi ;
+ fi ;
%install_info_delete(:-:) \
ALL_ARGS=(%{**}) \
@@ -74,7 +74,7 @@
if ! test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then \
/sbin/install-info --quiet --delete "${ALL_ARGS[@]}" \
fi ; \
- fi ;
+ fi ;
# find-supplements.ksyms parses this macro directly out of the spec file:
%supplements_kernel_module() \
@@ -237,8 +237,8 @@ mkdir -p %{?buildroot:%{buildroot}} \
rm -rf %{?buildroot:%{buildroot}} \
%{nil}
-%find_lang /usr/lib/rpm/find-lang.sh %{buildroot}
-%find_docs /usr/lib/rpm/tizen/find-docs.sh %{buildroot}
+%find_lang %{_rpmconfigdir}/find-lang.sh %{buildroot}
+%find_docs %{_rpmconfigdir}/tizen/find-docs.sh %{buildroot}
@@ -275,7 +275,7 @@ rm -rf %{?buildroot:%{buildroot}} \
# actually set up the filtering bits
%filter_setup %{expand: \
%global _use_internal_dependency_generator 0 \
-%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u \
+%global __deploop() while read FILE; do %{_rpmconfigdir}/rpmdeps -%{1} ${FILE}; done | /bin/sort -u \
%global __find_provides /bin/sh -c "%{?__filter_prov_cmd} %{__deploop P} %{?__filter_from_prov}" \
%global __find_requires /bin/sh -c "%{?__filter_req_cmd} %{__deploop R} %{?__filter_from_req}" \
}
@@ -321,4 +321,3 @@ 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}
-