[packages/morfeusz-SGJP] - stop g++ from complaining about narrowing constants - rel 5

baggins baggins at pld-linux.org
Sun Oct 20 19:32:20 CEST 2019


commit 30780180849d686ed7b8bbe7a666c4b9f729e72d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Oct 20 19:30:54 2019 +0200

    - stop g++ from complaining about narrowing constants
    - rel 5

 morfeusz-SGJP.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/morfeusz-SGJP.spec b/morfeusz-SGJP.spec
index a9e32b5..f15be7a 100644
--- a/morfeusz-SGJP.spec
+++ b/morfeusz-SGJP.spec
@@ -2,7 +2,7 @@ Summary:	Morfeusz morphological analyzer
 Summary(pl.UTF-8):	Analizator morfologiczny Morfeusz
 Name:		morfeusz-SGJP
 Version:	20110416
-Release:	4
+Release:	5
 License:	BSD
 Group:		Applications/Dictionaries
 Source0:	http://sgjp.pl/morfeusz/download/%{name}-src-%{version}.tar.bz2
@@ -40,17 +40,17 @@ Pliki do tworzenia aplikacji wykorzystujących Morfeusza.
 %patch0 -p1
 
 %build
-mkdir build
+mkdir -p build
 cd build
 %ifarch %{x8664}
-ln -s ../Makefile.linux64 Makefile
+ln -sf ../Makefile.linux64 Makefile
 %else
-ln -s ../Makefile.linux32 Makefile
+ln -sf ../Makefile.linux32 Makefile
 %endif
 
 %{__make} -j1 \
 	LDFLAGS="%{rpmldflags}" \
-	OPT="%{rpmcppflags} %{rpmcflags} -Wno-error"
+	OPT="%{rpmcppflags} %{rpmcflags} -Wno-error -Wno-narrowing"
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/morfeusz-SGJP.git/commitdiff/30780180849d686ed7b8bbe7a666c4b9f729e72d



More information about the pld-cvs-commit mailing list