libblockdev-2.28
This commit is contained in:
@@ -9,21 +9,19 @@ from pisi.actionsapi import pisitools
|
|||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import shelltools
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
shelltools.export("PYTHON", "/usr/bin/python3")
|
shelltools.export("python2", "/usr/bin/python2.7")
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
# shelltools.system("sed 's/g_memdup/&2/' -i \
|
# shelltools.system("sed 's/g_memdup/&2/' -i \
|
||||||
# src/lib/plugin_apis/vdo.{c,api} \
|
# src/lib/plugin_apis/vdo.{c,api} \
|
||||||
# src/plugins/vdo.c")
|
# src/plugins/vdo.c")
|
||||||
|
|
||||||
# shelltools.system("sh ./autogen.sh")
|
shelltools.system("sh ./autogen.sh")
|
||||||
autotools.autoreconf("-ivf")
|
shelltools.system("sed -i 's|python2-config|python2.7-config|g' configure")
|
||||||
# shelltools.system("sed -i 's|python2-config|python2.7-config|g' configure")
|
|
||||||
autotools.configure("--without-gtk-doc \
|
autotools.configure("--without-gtk-doc \
|
||||||
--without-nvdimm \
|
--without-nvdimm \
|
||||||
--with-python3 \
|
|
||||||
--without-dm")
|
--without-dm")
|
||||||
|
|
||||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
@@ -31,7 +29,7 @@ def build():
|
|||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
#pisitools.domove("/gi/overrides/BlockDev.py", "/usr/lib/python2.7/site-packages/gi/overrides")
|
#pisitools.domove("/gi/overrides/BlockDev.py", "/usr/lib/python2.7/site-packages/gi/overrides")
|
||||||
#pisitools.removeDir("/gi")
|
#pisitools.removeDir("/gi")
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<IsA>app</IsA>
|
<IsA>app</IsA>
|
||||||
<Summary>A library for manipulating block devices</Summary>
|
<Summary>A library for manipulating block devices</Summary>
|
||||||
<Description>Blok cihazlarını değiştirmek için bir kütüphane</Description>
|
<Description>Blok cihazlarını değiştirmek için bir kütüphane</Description>
|
||||||
<Archive sha1sum="1d766253ddeec149071b80a21d7a1ecbcf901e52" type="targz">https://github.com/storaged-project/libblockdev/archive/refs/tags/3.0.2-1.tar.gz</Archive>
|
<Archive sha1sum="1b4f4214ad7a0c221aa09e8020158c4e8ccaa419" type="targz">https://github.com/storaged-project/libblockdev/archive/refs/tags/2.28-1.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>nss-devel</Dependency>
|
<Dependency>nss-devel</Dependency>
|
||||||
<Dependency>mdadm</Dependency>
|
<Dependency>mdadm</Dependency>
|
||||||
@@ -80,6 +80,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="8">
|
||||||
|
<Date>2023-08-01</Date>
|
||||||
|
<Version>2.28</Version>
|
||||||
|
<Comment>Reverty.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="9">
|
<Update release="9">
|
||||||
<Date>2023-07-22</Date>
|
<Date>2023-07-22</Date>
|
||||||
<Version>3.0.2</Version>
|
<Version>3.0.2</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user