templates: remove Patch0 and %patch0

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-04-17 22:55:13 +02:00
parent 463df99f6c
commit 921c4b60f2
7 changed files with 4 additions and 13 deletions

View File

@ -26,6 +26,9 @@ Changes in version 1.9.4 -
* lib/libnetwork.lib - Davide Madrisan: * lib/libnetwork.lib - Davide Madrisan:
repository.get_pckname_from_HTML: make package search case insensitive. 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 Changes in version 1.9.3 - April Fools' Day Release

View File

@ -8,7 +8,6 @@ Distribution: @DISTRO@
Packager: $packager_fullname <$packager_email> Packager: $packager_fullname <$packager_email>
URL: ... URL: ...
Source: ... Source: ...
#Patch0: %{name}-<pck-version>-<patch-description>.patch
License: ... License: ...
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements.
@ -24,7 +23,6 @@ BuildRoot: @rpm_default_buildroot@
%prep %prep
%setup -q %setup -q
#%patch0 -p1
%build %build
%configure_kde %configure_kde

View File

@ -12,7 +12,6 @@ Distribution: @DISTRO@
Packager: @packager_fullname@ <@packager_email@> Packager: @packager_fullname@ <@packager_email@>
URL: ... URL: ...
Source: ... Source: ...
#Patch0: %{name}-<pck-version>-<patch-description>.patch
License: ... License: ...
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. ## 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 %prep
%setup -q %setup -q
#%patch0 -p1
%build %build
@if:pck_apidocs @if:pck_apidocs

View File

@ -10,7 +10,6 @@ Distribution: @DISTRO@
Packager: @packager_fullname@ <@packager_email@> Packager: @packager_fullname@ <@packager_email@>
URL: http://www.cpan.org URL: http://www.cpan.org
Source: http://www.cpan.org/modules/by-module/... Source: http://www.cpan.org/modules/by-module/...
#Patch0: %{name}-<pck-version>-<patch-description>.patch
License: GPL, Artistic License: GPL, Artistic
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. ## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements.
@ -24,7 +23,6 @@ BuildRoot: @rpm_default_buildroot@
%prep %prep
%setup -q %setup -q
#%patch0 -p1
%build %build
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"

View File

@ -8,7 +8,6 @@ Distribution: @DISTRO@
Packager: @packager_fullname@ <@packager_email@> Packager: @packager_fullname@ <@packager_email@>
URL: ... URL: ...
Source: ... Source: ...
#Patch0: %{name}-<pck-version>-<patch-description>.patch
License: ... License: ...
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. ## 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@ BuildRoot: @rpm_default_buildroot@
%description %description
... %{summary}.
%prep %prep
%setup -q %setup -q
#%patch0 -p1
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} setup.py build

View File

@ -8,7 +8,6 @@ Distribution: @DISTRO@
Packager: @packager_fullname@ <@packager_email@> Packager: @packager_fullname@ <@packager_email@>
URL: ... URL: ...
Source: ... Source: ...
#Patch0: %{name}-<pck-version>-<patch-description>.patch
License: ... License: ...
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. ## 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 %prep
%setup -q %setup -q
#%patch0 -p1
%build %build
@if:pck_apidocs @if:pck_apidocs

View File

@ -8,7 +8,6 @@ Distribution: @DISTRO@
Packager: @packager_fullname@ <@packager_email@> Packager: @packager_fullname@ <@packager_email@>
URL: ... URL: ...
Source: ... Source: ...
#Patch0: %{name}-<pck-version>-<patch-description>.patch
License: ... License: ...
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements. ## 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 %prep
%setup -q %setup -q
#%patch0 -p1
%build %build
@if:pck_apidocs @if:pck_apidocs