From 49ae2f41acc4f52c7f53950cdbf56cd1fb41cd64 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Fri, 13 Apr 2012 22:45:47 +0200 Subject: [PATCH] templates: Move %debug_package macro after all %description blocks Signed-off-by: Davide Madrisan --- ChangeLog | 2 +- templates/gnome | 8 ++++---- templates/kde3 | 6 +++--- templates/library | 8 ++++---- templates/standard | 8 ++++---- templates/standard-daemon | 8 ++++---- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5027446..d5b90bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,7 +6,7 @@ Changes in version 1.9.4 - Several minor fixes and improvements. + bugfix - * templates/kde4 - Davide Madrisan: + * templates/{gnome,kde*,library,standard,standard-daemon} - Davide Madrisan: Move %debug_package macro after all %description blocks. -------------------------------------------------------------------------------- diff --git a/templates/gnome b/templates/gnome index 1b5d869..0283820 100644 --- a/templates/gnome +++ b/templates/gnome @@ -22,10 +22,6 @@ License: GPL BuildRequires: gtk-doc BuildRoot: @rpm_default_buildroot@ -@if:debug_package -%debug_package -@fi:debug_package - %description ... @@ -39,6 +35,10 @@ Requires: gtk-doc %{pkgname} API documentation. @fi:library_apidocs +@if:debug_package +%debug_package +@fi:debug_package + %prep %setup -q -n %{pkgname}-%{version} diff --git a/templates/kde3 b/templates/kde3 index 113a108..c79666e 100644 --- a/templates/kde3 +++ b/templates/kde3 @@ -15,13 +15,13 @@ License: ... ## AUTOBUILDREQ-END BuildRoot: @rpm_default_buildroot@ +%description +... + @if:debug_package %debug_package @fi:debug_package -%description -... - %prep %setup -q #%patch0 -p1 diff --git a/templates/library b/templates/library index 2cdd088..f9933fa 100644 --- a/templates/library +++ b/templates/library @@ -28,10 +28,6 @@ Requires(post): %{__install_info} @fi:infopages BuildRoot: @rpm_default_buildroot@ -@if:debug_package -%debug_package -@fi:debug_package - %description ... @@ -89,6 +85,10 @@ Requires: gtk-doc This package includes the %{name} API documentation. @fi:pck_apidocs +@if:debug_package +%debug_package +@fi:debug_package + %prep %setup -q #%patch0 -p1 diff --git a/templates/standard b/templates/standard index d7d6750..e3f4e3a 100644 --- a/templates/standard +++ b/templates/standard @@ -21,10 +21,6 @@ Requires(post): %{__install_info} @fi:infopages BuildRoot: @rpm_default_buildroot@ -@if:debug_package -%debug_package -@fi:debug_package - %description ... @@ -39,6 +35,10 @@ Requires: gtk-doc This package includes the %{name} API documentation. @fi:pck_apidocs +@if:debug_package +%debug_package +@fi:debug_package + %prep %setup -q #%patch0 -p1 diff --git a/templates/standard-daemon b/templates/standard-daemon index 0aa5844..a48d7d4 100644 --- a/templates/standard-daemon +++ b/templates/standard-daemon @@ -21,10 +21,6 @@ Requires(post): %{__install_info} @fi:infopages BuildRoot: @rpm_default_buildroot@ -@if:debug_package -%debug_package -@fi:debug_package - %description ... @@ -39,6 +35,10 @@ Requires: gtk-doc This package includes the %{name} API documentation. @fi:pck_apidocs +@if:debug_package +%debug_package +@fi:debug_package + %prep %setup -q #%patch0 -p1