From c56454ace516549661cdc7fe857921573ebc5c3a Mon Sep 17 00:00:00 2001 From: Rmys Date: Tue, 1 Aug 2023 19:38:26 +0300 Subject: [PATCH] libblockdev-2.28 --- hardware/disk/libblockdev/actions.py | 12 +++++------- hardware/disk/libblockdev/pspec.xml | 9 ++++++++- 2 files changed, 13 insertions(+), 8 deletions(-) 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