]> git.pld-linux.org Git - packages/dlm.git/commitdiff
Version: 4.0.1 auto/th/dlm-4.0.1-1
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 26 Jul 2013 08:37:50 +0000 (10:37 +0200)
committerJacek Konieczny <jajcus@jajcus.net>
Fri, 26 Jul 2013 08:37:50 +0000 (10:37 +0200)
dlm-perms.patch [deleted file]
dlm.spec

diff --git a/dlm-perms.patch b/dlm-perms.patch
deleted file mode 100644 (file)
index 26208de..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-From f15a2daed7137481c7161e1447b1796c308c7e08 Mon Sep 17 00:00:00 2001
-From: David Teigland <teigland@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@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
index 89212c2245b108a992765af25d8301ca807c46cd..cab6ac544cf1adc9c149da0a56948cd70b868db2 100644 (file)
--- 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} \
This page took 0.082566 seconds and 4 git commands to generate.