aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/macros.in b/macros.in
index 486c8a7..ee53095 100644
--- a/macros.in
+++ b/macros.in
@@ -68,7 +68,13 @@
%debugcflags %{?_enable_debug_packages:-g}
-%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
+%debug_package_and_restore %{debug_package} \
+%package __restore__\
+Summary: %{summary}\
+Group: %{group}\
+%description __restore__
+
+%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package_and_restore}}}\
%%install\
%{nil}
@@ -656,7 +662,7 @@ Requires: python >= %minver, python < %maxver
[ %{_with build} -eq 1 ] || exit 0 \
%{nil}
-%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
+%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package_and_restore}}}\
%%install\
[ %{_with install} -eq 1 ] || exit 0 \
%{nil}