packages: cman/cman.spec - workaround for -Werror combined with unused vari...
qboosh
qboosh at pld-linux.org
Sun May 22 17:44:26 CEST 2011
Author: qboosh Date: Sun May 22 15:44:26 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- workaround for -Werror combined with unused variable
- release 2
---- Files affected:
packages/cman:
cman.spec (1.26 -> 1.27)
---- Diffs:
================================================================
Index: packages/cman/cman.spec
diff -u packages/cman/cman.spec:1.26 packages/cman/cman.spec:1.27
--- packages/cman/cman.spec:1.26 Sun May 22 17:13:52 2011
+++ packages/cman/cman.spec Sun May 22 17:44:21 2011
@@ -7,7 +7,7 @@
Summary(pl.UTF-8): Zarządca symetrycznych klastrów ogólnego przeznaczenia
Name: cman
Version: 2.03.10
-Release: 1
+Release: 2
License: GPL v2
Group: Applications/System
Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
@@ -96,6 +96,9 @@
%prep
%setup -q -n cluster-%{version}
+# there are warnings caused by some unused variables
+%{__sed} -i -e 's/-Werror //' %{name}/qdisk/Makefile
+
%build
./configure \
--cc="%{__cc}" \
@@ -147,8 +150,11 @@
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
%attr(754,root,root) /etc/rc.d/init.d/%{name}
+# TODO: PLDify
#%attr(754,root,root) /etc/rc.d/init.d/qdiskd
-%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_sbindir}/cman_tool
+%attr(755,root,root) %{_sbindir}/mkqdisk
+%attr(755,root,root) %{_sbindir}/qdiskd
%attr(755,root,root) %{_libdir}/lcrso/service_cman.lcrso
%{_mandir}/man5/cman.5*
%{_mandir}/man5/qdisk.5*
@@ -177,6 +183,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.27 2011/05/22 15:44:21 qboosh
+- workaround for -Werror combined with unused variable
+- release 2
+
Revision 1.26 2011/05/22 15:13:52 qboosh
- updated configure options/optflags passing
- package ghost soname symlink
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cman/cman.spec?r1=1.26&r2=1.27&f=u
More information about the pld-cvs-commit
mailing list