fixed lang_package
authorAnas Nashif <anas.nashif@intel.com>
Fri, 14 Dec 2012 16:57:50 +0000 (08:57 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Sun, 3 Feb 2013 00:44:44 +0000 (16:44 -0800)
packaging/rpm-tizen_macros

index f67af70..78e38dc 100644 (file)
   %{__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 --}
         && 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}\