]> git.pld-linux.org Git - packages/cman.git/commitdiff
- workaround for -Werror combined with unused variable auto/th/cman-2_03_10-2 auto/ti/cman-2.03.10-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 22 May 2011 15:44:21 +0000 (15:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 2

Changed files:
    cman.spec -> 1.27

cman.spec

index bbf2c2160ee74c40624c0774ad803c3a68969f32..bdddd5011d6063ec94fa27913635fb35b5dbb019 100644 (file)
--- a/cman.spec
+++ b/cman.spec
@@ -6,7 +6,7 @@ Summary:        General-purpose symmetric cluster manager
 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
@@ -95,6 +95,9 @@ Biblioteka statyczna CMAN.
 %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}" \
@@ -146,8 +149,11 @@ fi
 %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*
This page took 0.069423 seconds and 4 git commands to generate.