[packages/dlm] Version: 4.0.1
jajcus
jajcus at pld-linux.org
Fri Jul 26 10:37:56 CEST 2013
commit 53779e991f14d935575d21221f9a80af2040f782
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Fri Jul 26 10:37:50 2013 +0200
Version: 4.0.1
dlm-perms.patch | 33 ---------------------------------
dlm.spec | 8 +++-----
2 files changed, 3 insertions(+), 38 deletions(-)
---
diff --git a/dlm.spec b/dlm.spec
index 89212c2..cab6ac5 100644
--- a/dlm.spec
+++ b/dlm.spec
@@ -4,17 +4,16 @@
Summary: General-purpose distributed lock manager
Summary(pl.UTF-8): Zarządca rozproszonych blokad ogólnego przeznaczenia
Name: dlm
-Version: 4.0.0
+Version: 4.0.1
Release: 1
License: LGPL v2.1+, GPL v2
Group: Libraries
-Source0: http://people.redhat.com/teigland/%{name}-%{version}.tar.gz
-# Source0-md5: 2db31a9728ede91a202ff6f3e5accf8d
+Source0: https://git.fedorahosted.org/cgit/dlm.git/snapshot/%{name}-%{version}.tar.bz2
+# Source0-md5: 3cd0b0830b1f5fcfdc58c83c5c2ca37b
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}.tmpfiles
Source4: dlm.conf
-Patch0: %{name}-perms.patch
URL: http://sources.redhat.com/cluster/dlm/
BuildRequires: corosync-devel >= 2.0
%{?with_dlm_stonith:BuildRequires: pacemaker-devel >= 1.1}
@@ -65,7 +64,6 @@ Pliki nagłówkowe i dokumentacja programisty dla DLM-a.
%prep
%setup -q
-%patch0 -p1
%build
%{__make} \
diff --git a/dlm-perms.patch b/dlm-perms.patch
deleted file mode 100644
index 26208de..0000000
--- a/dlm-perms.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From f15a2daed7137481c7161e1447b1796c308c7e08 Mon Sep 17 00:00:00 2001
-From: David Teigland <teigland at redhat.com>
-Date: Tue, 06 Nov 2012 21:40:00 +0000
-Subject: dlm_controld: fix modes for run dir and file
-
-dir should be 775 and file 644
-
-Signed-off-by: David Teigland <teigland at redhat.com>
----
-diff --git a/dlm_controld/main.c b/dlm_controld/main.c
-index 91fbc4f..a68e1b8 100644
---- a/dlm_controld/main.c
-+++ b/dlm_controld/main.c
-@@ -1107,7 +1107,7 @@ static int lockfile(const char *dir, const char *name)
- int fd, rv;
-
- old_umask = umask(0022);
-- rv = mkdir(dir, 0777);
-+ rv = mkdir(dir, 0775);
- if (rv < 0 && errno != EEXIST) {
- umask(old_umask);
- return rv;
-@@ -1116,7 +1116,7 @@ static int lockfile(const char *dir, const char *name)
-
- snprintf(path, PATH_MAX, "%s/%s", dir, name);
-
-- fd = open(path, O_CREAT|O_WRONLY|O_CLOEXEC, 0666);
-+ fd = open(path, O_CREAT|O_WRONLY|O_CLOEXEC, 0644);
- if (fd < 0) {
- log_error("lockfile open error %s: %s",
- path, strerror(errno));
---
-cgit v0.9.0.3
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dlm.git/commitdiff/53779e991f14d935575d21221f9a80af2040f782
More information about the pld-cvs-commit
mailing list