diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-28 15:17:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-28 15:17:09 +0000 |
commit | 2a83ce178f15f19ed83b846be40f92ac51436315 (patch) | |
tree | 8414bcf9b452985bbb0adc746d461feded630f6b | |
parent | e78b5929ff1a3d9b70b9b8e0f841dd6c769f15ff (diff) | |
download | rpm-setup-2a83ce178f15f19ed83b846be40f92ac51436315.tar rpm-setup-2a83ce178f15f19ed83b846be40f92ac51436315.tar.gz rpm-setup-2a83ce178f15f19ed83b846be40f92ac51436315.tar.bz2 rpm-setup-2a83ce178f15f19ed83b846be40f92ac51436315.tar.xz rpm-setup-2a83ce178f15f19ed83b846be40f92ac51436315.zip |
ensure %debug_package doesn't modify %{summary} in %install section
(ie restore it via a fake __restore__ subpackage)
(I suggested it on cooker and got no answer...)
-rw-r--r-- | macros.in | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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} |