[packages/ocfs2-tools] - updated to 1.8.8

qboosh qboosh at pld-linux.org
Mon Jul 22 19:34:52 CEST 2024


commit e8526986ef74186f4ea879d939581f117e2f8ee3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jul 22 19:16:33 2024 +0200

    - updated to 1.8.8

 ocfs2-tools-tinfo.patch |  9 ++++-----
 ocfs2-tools.spec        | 21 ++++++++++++---------
 2 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/ocfs2-tools.spec b/ocfs2-tools.spec
index 1020c68..e4eb77d 100644
--- a/ocfs2-tools.spec
+++ b/ocfs2-tools.spec
@@ -10,12 +10,13 @@
 Summary:	Tools for the OCFS2 filesystem
 Summary(pl.UTF-8):	Narzędzia dla systemu plików OCFS2
 Name:		ocfs2-tools
-Version:	1.8.6
+Version:	1.8.8
 Release:	1
 License:	GPL v2+
 Group:		Applications/System
+#Source0Download: https://github.com/markfasheh/ocfs2-tools/tags
 Source0:	https://github.com/markfasheh/ocfs2-tools/archive/%{name}-%{version}.tar.gz
-# Source0-md5:	fc64af70a6a2533948f47fa9cb2fc1c4
+# Source0-md5:	a8f4bd190f7b8819ab75b29ee1b57ec0
 Source1:	ocfs2.init
 Source2:	o2cb.init
 Source3:	o2cb.sysconfig
@@ -23,7 +24,7 @@ Patch0:		%{name}-tinfo.patch
 Patch2:		%{name}-linux.patch
 Patch3:		%{name}-format.patch
 Patch4:		%{name}-link.patch
-URL:		http://oss.oracle.com/projects/ocfs2-tools/
+URL:		https://github.com/markfasheh/ocfs2-tools
 BuildRequires:	autoconf >= 2.54
 BuildRequires:	automake
 %{?with_cman:BuildRequires:	cman-devel}
@@ -32,6 +33,7 @@ BuildRequires:	device-mapper-devel
 %{?with_dlm:BuildRequires:	dlm-devel}
 BuildRequires:	e2fsprogs-devel
 BuildRequires:	glib2-devel >= 2.2.3
+BuildRequires:	libaio-devel
 BuildRequires:	libblkid-devel >= 1.36
 BuildRequires:	libcom_err-devel
 BuildRequires:	libuuid-devel
@@ -40,7 +42,7 @@ BuildRequires:	ncurses-devel
 %{?with_pacemaker:BuildRequires:	pacemaker-devel}
 BuildRequires:	pkgconfig
 %{?with_gtk2:BuildRequires:	python-devel >= 1:2.3}
-%{?with_gtk2:BuildRequires:	python-pygtk-gtk}
+%{?with_gtk2:BuildRequires:	python-pygtk-gtk >= 2:2.0}
 BuildRequires:	readline-devel
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.268
@@ -72,7 +74,7 @@ Summary:	GTK+ interface to OCFS2 Tools
 Summary(pl.UTF-8):	Interfejs GTK+ do narzędzi OCFS2
 Group:		X11/Applications
 Requires:	%{name} = %{version}-%{release}
-Requires:	python-pygtk-gtk
+Requires:	python-pygtk-gtk >= 2:2.0
 
 %description gtk
 GTK+ interface to OCFS2 Tools.
@@ -87,7 +89,8 @@ Interfejs GTK+ do narzędzi OCFS2.
 %patch3 -p1
 %patch4 -p1
 
-sed -i -e 's#-Wno-format##g' */Makefile
+%{__sed} -i -e 's#-Wno-format##g' */Makefile
+%{__sed} -i -e '1s,/usr/bin/python ,%{__python} ,' ocfs2console/ocfs2console
 
 %build
 %{__aclocal} -I .
@@ -99,9 +102,9 @@ sed -i -e 's#-Wno-format##g' */Makefile
 	%{!?with_dlm:ac_cv_lib_dlmcontrol_dlmc_fs_connect=no} \
 	%{!?with_openais:ac_cv_header_openais_saCkpt_h=no} \
 	%{!?with_pacemaker:ac_cv_lib_crmcluster_crm_get_peer=no} \
-	--enable-dynamic-fsck=yes \
-	--enable-dynamic-ctl=yes \
-	%{?with_gtk2:--enable-ocfs2console=yes}
+	--enable-dynamic-fsck \
+	--enable-dynamic-ctl \
+	%{?with_gtk2:--enable-ocfs2console}
 
 %{__make} -j1
 
diff --git a/ocfs2-tools-tinfo.patch b/ocfs2-tools-tinfo.patch
index 55ff67c..ebc79a2 100644
--- a/ocfs2-tools-tinfo.patch
+++ b/ocfs2-tools-tinfo.patch
@@ -1,8 +1,7 @@
-diff -urN ocfs2-tools-1.2.2.org/configure.in ocfs2-tools-1.2.2/configure.in
---- ocfs2-tools-1.2.2.org/configure.in	2006-10-19 19:10:53.000000000 +0200
-+++ ocfs2-tools-1.2.2/configure.in	2007-01-04 20:31:15.826232250 +0100
-@@ -98,6 +98,7 @@
- AC_SUBST(UUID_LIBS)
+--- ocfs2-tools-ocfs2-tools-1.8.8/configure.in.orig	2024-07-22 08:38:57.069461675 +0200
++++ ocfs2-tools-ocfs2-tools-1.8.8/configure.in	2024-07-22 18:13:33.396020729 +0200
+@@ -124,6 +124,7 @@ AC_CHECK_HEADER(libaio.h, :,
+ AC_SUBST(AIO_LIBS)
  
  NCURSES_LIBS=
 +AC_CHECK_LIB(tinfo, tgetstr, NCURSES_LIBS=-ltinfo)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocfs2-tools.git/commitdiff/e8526986ef74186f4ea879d939581f117e2f8ee3



More information about the pld-cvs-commit mailing list