diff --git a/hardware/disk/libblockdev/actions.py b/hardware/disk/libblockdev/actions.py
index e2e369e7b6..4364a659af 100644
--- a/hardware/disk/libblockdev/actions.py
+++ b/hardware/disk/libblockdev/actions.py
@@ -9,21 +9,19 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
-shelltools.export("PYTHON", "/usr/bin/python3")
+shelltools.export("python2", "/usr/bin/python2.7")
def setup():
# shelltools.system("sed 's/g_memdup/&2/' -i \
# src/lib/plugin_apis/vdo.{c,api} \
# src/plugins/vdo.c")
- # shelltools.system("sh ./autogen.sh")
- autotools.autoreconf("-ivf")
- # shelltools.system("sed -i 's|python2-config|python2.7-config|g' configure")
+ shelltools.system("sh ./autogen.sh")
+ shelltools.system("sed -i 's|python2-config|python2.7-config|g' configure")
autotools.configure("--without-gtk-doc \
--without-nvdimm \
- --with-python3 \
--without-dm")
-
+
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
@@ -31,7 +29,7 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
-
+
#pisitools.domove("/gi/overrides/BlockDev.py", "/usr/lib/python2.7/site-packages/gi/overrides")
#pisitools.removeDir("/gi")
diff --git a/hardware/disk/libblockdev/pspec.xml b/hardware/disk/libblockdev/pspec.xml
index 05cf635a91..0529f61be5 100644
--- a/hardware/disk/libblockdev/pspec.xml
+++ b/hardware/disk/libblockdev/pspec.xml
@@ -12,7 +12,7 @@
app
A library for manipulating block devices
Blok cihazlarını değiştirmek için bir kütüphane
- https://github.com/storaged-project/libblockdev/archive/refs/tags/3.0.2-1.tar.gz
+ https://github.com/storaged-project/libblockdev/archive/refs/tags/2.28-1.tar.gz
nss-devel
mdadm
@@ -80,6 +80,13 @@
+
+ 2023-08-01
+ 2.28
+ Reverty.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2023-07-22
3.0.2