[packages/readline/df: 6/6] always define patchset, use patchlevel 0 if there are no patches

glen glen at pld-linux.org
Tue Apr 8 22:04:19 CEST 2014


commit c18f9202122289fbaa4824680921ff0c3b3764bc
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Apr 8 23:03:25 2014 +0300

    always define patchset, use patchlevel 0 if there are no patches

 readline.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/readline.spec b/readline.spec
index ce3d02a..a133508 100644
--- a/readline.spec
+++ b/readline.spec
@@ -24,7 +24,7 @@ Patch1:		%{name}-info.patch
 Patch2:		%{name}-header.patch
 Patch3:		%{name}-lfs.patch
 Patch4:		%{name}-tinfo.patch
-%{?patchlevel:%patchset_source -f http://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-%03g 1 %{patchlevel}}
+%patchset_source -f http://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-%03g 1 %{patchlevel}
 URL:		http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -187,7 +187,7 @@ Bibliotecas estáticas para desenvolvimento com readline.
 %prep
 %setup -q -n %{name}-%{ver}
 # official patches
-%{?patchlevel:%patchset_patch -p2 1 %{patchlevel}}
+%patchset_patch -p2 1 %{patchlevel}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/readline.git/commitdiff/c18f9202122289fbaa4824680921ff0c3b3764bc



More information about the pld-cvs-commit mailing list