From 921c4b60f20f83c2e30d830a522c6626a2ac3f9f Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Tue, 17 Apr 2012 22:55:13 +0200 Subject: [PATCH] templates: remove Patch0 and %patch0 Signed-off-by: Davide Madrisan --- ChangeLog | 3 +++ templates/kde3 | 2 -- templates/library | 2 -- templates/perl | 2 -- templates/python | 4 +--- templates/standard | 2 -- templates/standard-daemon | 2 -- 7 files changed, 4 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index a2d522e..4ee6ede 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,6 +26,9 @@ Changes in version 1.9.4 - * lib/libnetwork.lib - Davide Madrisan: repository.get_pckname_from_HTML: make package search case insensitive. + * templates/{kde3,library,perl,python,standard{-daemon}} - Davide Madrisan: + Remove 'Patch0' and '#%patch0 -p1' directives. + -------------------------------------------------------------------------------- Changes in version 1.9.3 - April Fools' Day Release diff --git a/templates/kde3 b/templates/kde3 index c79666e..e8c1269 100644 --- a/templates/kde3 +++ b/templates/kde3 @@ -8,7 +8,6 @@ Distribution: @DISTRO@ Packager: $packager_fullname <$packager_email> URL: ... Source: ... -#Patch0: %{name}--.patch License: ... ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. @@ -24,7 +23,6 @@ BuildRoot: @rpm_default_buildroot@ %prep %setup -q -#%patch0 -p1 %build %configure_kde diff --git a/templates/library b/templates/library index f9933fa..0349116 100644 --- a/templates/library +++ b/templates/library @@ -12,7 +12,6 @@ Distribution: @DISTRO@ Packager: @packager_fullname@ <@packager_email@> URL: ... Source: ... -#Patch0: %{name}--.patch License: ... ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. @@ -91,7 +90,6 @@ This package includes the %{name} API documentation. %prep %setup -q -#%patch0 -p1 %build @if:pck_apidocs diff --git a/templates/perl b/templates/perl index 595b07c..9db991f 100644 --- a/templates/perl +++ b/templates/perl @@ -10,7 +10,6 @@ Distribution: @DISTRO@ Packager: @packager_fullname@ <@packager_email@> URL: http://www.cpan.org Source: http://www.cpan.org/modules/by-module/... -#Patch0: %{name}--.patch License: GPL, Artistic ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. @@ -24,7 +23,6 @@ BuildRoot: @rpm_default_buildroot@ %prep %setup -q -#%patch0 -p1 %build %{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" diff --git a/templates/python b/templates/python index bbda03a..7da6709 100644 --- a/templates/python +++ b/templates/python @@ -8,7 +8,6 @@ Distribution: @DISTRO@ Packager: @packager_fullname@ <@packager_email@> URL: ... Source: ... -#Patch0: %{name}--.patch License: ... ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. @@ -18,11 +17,10 @@ Requires: python >= %python_version BuildRoot: @rpm_default_buildroot@ %description -... +%{summary}. %prep %setup -q -#%patch0 -p1 %build CFLAGS="%{optflags}" %{__python} setup.py build diff --git a/templates/standard b/templates/standard index e3f4e3a..631f253 100644 --- a/templates/standard +++ b/templates/standard @@ -8,7 +8,6 @@ Distribution: @DISTRO@ Packager: @packager_fullname@ <@packager_email@> URL: ... Source: ... -#Patch0: %{name}--.patch License: ... ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. @@ -41,7 +40,6 @@ This package includes the %{name} API documentation. %prep %setup -q -#%patch0 -p1 %build @if:pck_apidocs diff --git a/templates/standard-daemon b/templates/standard-daemon index a48d7d4..5855d12 100644 --- a/templates/standard-daemon +++ b/templates/standard-daemon @@ -8,7 +8,6 @@ Distribution: @DISTRO@ Packager: @packager_fullname@ <@packager_email@> URL: ... Source: ... -#Patch0: %{name}--.patch License: ... ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. @@ -41,7 +40,6 @@ This package includes the %{name} API documentation. %prep %setup -q -#%patch0 -p1 %build @if:pck_apidocs