aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2020-01-22 21:07:51 +0200
committerJani Välimaa <wally@mageia.org>2020-01-22 21:07:51 +0200
commite7ad7ac38f9d0e3f12aefe8631fdc424b924b991 (patch)
tree71868089b5b2038dd015fa712eda5d5d1fdd4e0f
parentd541619759f2d6ab0f05bcee94a9314aa5f95242 (diff)
downloadrpm-setup-e7ad7ac38f9d0e3f12aefe8631fdc424b924b991.tar
rpm-setup-e7ad7ac38f9d0e3f12aefe8631fdc424b924b991.tar.gz
rpm-setup-e7ad7ac38f9d0e3f12aefe8631fdc424b924b991.tar.bz2
rpm-setup-e7ad7ac38f9d0e3f12aefe8631fdc424b924b991.tar.xz
rpm-setup-e7ad7ac38f9d0e3f12aefe8631fdc424b924b991.zip
build.macros: drop unused _package_i18n() macro
-rw-r--r--NEWS3
-rw-r--r--build.macros.in13
2 files changed, 3 insertions, 13 deletions
diff --git a/NEWS b/NEWS
index 75e6df5..653eee9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- build.macros: drop unused macros
+ - _package_i18n()
+
Version 2.50 - 16 January 2020, by Jani Välimaa
- build.macros: add mistakenly removed --prefix= back to configure macro
diff --git a/build.macros.in b/build.macros.in
index 015563b..1ecedcd 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -328,19 +328,6 @@ Provides: %{1} = %{?epoch:%epoch}%{?!epoch:0}:%{version}-%{release}
%_with() %{expand: %%{?_with_%1:1} %%{!?_with_%1: %%{?_without_%1:0} %%{!?_without_%1: %%{?with_%1:%%{with_%1}} %%{!?with_%1: %%{?without_%1:!%%{without_%1}} %%{!?without_%1: %%{?2:%%2} %%{!?2:1} } } } } }
%_without() !%{expand: %%{with %1 %{?2:%2}}}
-%_package_i18n(g:f:) \
-%%package -n %{?1:%{1}}%{?!1:%{name}}-i18n\
-Summary: Internationalization and locale data for %{?1:%{1}}%{?!1:%{name}}\
-License: %{license}\
-Group: %{?-g:%{-g*}}%{?!-g:%{group}}\
-\
-%%description -n %{?1:%{1}}%{?!1:%{name}}-i18n\
-Internationalization and locale data for %{?1:%{1}}%{?!1:%{name}}\
-\
-%%files -n %{?1:%{1}}%{?!1:%{name}}-i18n %{?-f:%{-f}}%{?!-f:-f %{?1:%{1}}%{?!1:%{name}}.lang}\
-%{nil}
-
-
#------------------------------------------------------------------------------
# Python specific macros