[packages/patch] - up to 2.7; tests use some bashizms so BR bash

arekm arekm at pld-linux.org
Wed Sep 12 22:21:31 CEST 2012


commit 3df2e1a97295232b02c9892b8c913b4ab021e090
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Sep 12 22:21:28 2012 +0200

    - up to 2.7; tests use some bashizms so BR bash

 patch.spec | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/patch.spec b/patch.spec
index 6068915..c575f44 100644
--- a/patch.spec
+++ b/patch.spec
@@ -7,17 +7,20 @@ Summary(ru.UTF-8):	Утилита GNU patch, для модификации/ап
 Summary(tr.UTF-8):	GNU yama yardımcı programları
 Summary(uk.UTF-8):	Утиліта GNU patch, для модифікації/апгрейду файлів
 Name:		patch
-Version:	2.6.1
+Version:	2.7
 Release:	1
 License:	GPL v2+
 Group:		Applications/Text
 Source0:	http://ftp.gnu.org/gnu/patch/%{name}-%{version}.tar.bz2
-# Source0-md5:	0818d1763ae0c4281bcdc63cdac0b2c0
+# Source0-md5:	1f3a075ea06705f194a2a4ce7045f072
 Source1:	%{name}.1.pl
 URL:		http://www.gnu.org/software/patch/
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
-%{?with_tests:BuildRequires:	ed}
+%if %{with tests}
+BuildRequires:	bash
+BuildRequires:	ed
+%endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -69,16 +72,20 @@ Patch - це програма, яка допомогає в модифікаці
 %setup -q
 
 %build
-%{__aclocal} -I m4 -I gl/m4
+%{__aclocal} -I m4
 %{__autoconf}
 %configure \
 %ifarch sparc sparc64
-	--disable-largefile
+	--disable-largefile \
 %endif
+	--disable-silent-rules
 
 %{__make}
 
-%{?with_tests:%{__make} check}
+%if %{with tests}
+%{__make} check \
+	SHELL=/bin/bash
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/patch.git/commitdiff/3df2e1a97295232b02c9892b8c913b4ab021e090



More information about the pld-cvs-commit mailing list