summaryrefslogtreecommitdiff
path: root/packaging/rpm-tizen_macros
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-12-14 08:57:50 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-02 16:44:44 -0800
commitbb4e47476f293438cbcc0ebe775b43a6cb063929 (patch)
treedff951c2769503ac556f4f0face502b70f4e8ae3 /packaging/rpm-tizen_macros
parentf3b2c505df12fc7121e5950803fd42db1acb92c9 (diff)
downloadlibrpm-tizen-bb4e47476f293438cbcc0ebe775b43a6cb063929.tar.gz
librpm-tizen-bb4e47476f293438cbcc0ebe775b43a6cb063929.tar.bz2
librpm-tizen-bb4e47476f293438cbcc0ebe775b43a6cb063929.zip
fixed lang_package
Diffstat (limited to 'packaging/rpm-tizen_macros')
-rw-r--r--packaging/rpm-tizen_macros14
1 files changed, 1 insertions, 13 deletions
diff --git a/packaging/rpm-tizen_macros b/packaging/rpm-tizen_macros
index f67af70a0..78e38dc94 100644
--- a/packaging/rpm-tizen_macros
+++ b/packaging/rpm-tizen_macros
@@ -185,7 +185,7 @@
%{__make} \\\
DESTDIR=%{?buildroot:%{buildroot}} \\\
INSTALL_ROOT=%{?buildroot:%{buildroot}} \\\
- install \
+ install %* \
rm -f %{?buildroot:%{buildroot}}%{_infodir}/dir \
find %{?buildroot:%{buildroot}} -regex ".*\\.la$" | xargs rm -f -- \
%{!?keepstatic:find %{?buildroot:%{buildroot}} -regex ".*\\.a$" | xargs rm -f --}
@@ -194,18 +194,6 @@
&& RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\
[ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS")
-# Template for lang sub-package.
-%lang_package(n:) \
-%package %{-n:-n %{-n*}-}lang \
-Summary: Languages for package %{name} \
-Group: System/Localization \
-Requires: %{-n:%{-n*}}%{!-n:%{name}} = %{version} \
-Provides: %{-n:%{-n*}}%{!-n:%{name}}-lang-all = %{version} \
-Supplements: packageand(bundle-lang-other:%{-n:%{-n*}}%{!-n:%{name}}) \
-BuildArch: noarch \
-%description %{-n:-n %{-n*}-}lang \
-Provides translations to the package %{name}
-
%lang_package(n:f:) \
%package %{-n:-n %{-n*}-}locale \
Summary: Translations and Locale for package %{name}\