aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-02 09:34:59 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-06-21 12:46:15 +0200
commit83d87c53543c68e3c86619f0cc9275c3805617d0 (patch)
tree37e8cfed32505155d3c9042fe72397461dbd4e3f
parentc71666d376cad7759cb24898ebd93cdc5adec276 (diff)
downloadrpm-setup-83d87c53543c68e3c86619f0cc9275c3805617d0.tar
rpm-setup-83d87c53543c68e3c86619f0cc9275c3805617d0.tar.gz
rpm-setup-83d87c53543c68e3c86619f0cc9275c3805617d0.tar.bz2
rpm-setup-83d87c53543c68e3c86619f0cc9275c3805617d0.tar.xz
rpm-setup-83d87c53543c68e3c86619f0cc9275c3805617d0.zip
kill redondant/unmainted macro (mga#4927)
better use upstream macro
-rw-r--r--NEWS2
-rw-r--r--build.macros.in8
2 files changed, 3 insertions, 7 deletions
diff --git a/NEWS b/NEWS
index f4cc06a..8e1bb88 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- kill redondant/unmainted macro (mga#4927)
+
Version 2.7 - 26 October 2014, by Pascal Terjan
- add support for limiting parallel builds by defining
diff --git a/build.macros.in b/build.macros.in
index 5d2a6fe..68b34e5 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -33,12 +33,6 @@
# (e.g. per-platform, per-system, per-packager, per-package) macros.
#
-%debug_package_and_restore %{debug_package} \
-%package __restore__\
-Summary: %{summary}\
-Group: %{group}\
-%description __restore__
-
%ix86 i386 i486 i586 i686 pentium3 pentium4 athlon k6
%sparc sun4 sun4m sun4c sun4d sun4u sparcv9b sparcv9v2 %{sparcx}
@@ -568,7 +562,7 @@ sed -i -e 's/`git ls-files`/`find -type f`/' \\\
[ %{_with build} -eq 1 ] || exit 0 \
%{nil}
-%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package_and_restore}}}\
+%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
%%install\
[ %{_with install} -eq 1 ] || exit 0 \
%{nil}