Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37503958
en ru br
Репозитории ALT

Группа :: Система/Ядро и оборудование
Пакет: blocks

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: blocks-0.1.4-alt.patch
Скачать


 .gear/blocks.spec  | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 .gear/rules        |  3 +++
 .gear/tags/list    |  1 +
 blocks/__main__.py |  6 +++---
 4 files changed, 70 insertions(+), 3 deletions(-)
diff --git a/.gear/blocks.spec b/.gear/blocks.spec
new file mode 100644
index 0000000..48e3623
--- /dev/null
+++ b/.gear/blocks.spec
@@ -0,0 +1,63 @@
+
+Name: blocks
+Version: 0.1.4
+Release: alt2.3
+
+Summary: Conversion tools to enable bcache or LVM on existing block devices
+License: GPLv3
+Group: System/Kernel and hardware
+Url: https://github.com/g2p/blocks
+BuildArch: noarch
+
+Source0: %name-%version.tar
+Patch0: %name-%version-alt.patch
+
+BuildRequires(pre): rpm-build-python3
+BuildPreReq: python3-module-setuptools
+Requires: python3-module-maintboot
+
+%py3_requires augeas parted
+
+
+%description
+Conversion tools for block devices.
+
+Convert between raw partitions, logical volumes, and bcache devices
+without moving data. blocks shuffles blocks and sprouts superblocks.
+
+%prep
+%setup
+%patch0 -p1
+
+%build
+%python3_build
+
+%install
+%python3_install
+
+install -d %buildroot%_sbindir
+mv %buildroot{%_bindir,%_sbindir}/%name
+
+%files
+%_sbindir/%name
+%python3_sitelibdir/%name
+%python3_sitelibdir/%name-%version-py*.egg-info
+%doc README.md
+
+%changelog
+* Mon May 28 2018 Andrey Bychkov <mrdrew@altlinux.org> 0.1.4-alt2.3
+- fixed requires
+
+* Wed May 16 2018 Andrey Bychkov <mrdrew@altlinux.org> 0.1.4-alt2.2
+- (NMU) rebuild with python3.6
+
+* Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.1.4-alt2.1
+- (NMU) rebuild with rpm-build-python3-0.1.9
+  (for common python3/site-packages/ and auto python3.3-ABI dep when needed)
+
+* Sat Oct 11 2014 Terechkov Evgenii <evg@altlinux.org> 0.1.4-alt2
+- Drop maintboot requires
+
+
+* Sat Oct 11 2014 Terechkov Evgenii <evg@altlinux.org> 0.1.4-alt1
+- Initial build for ALT Linux Sisyphus
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..c1a13f3
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,3 @@
+tar: @version@:. name=@name@-@version@
+diff: @version@:. . name=@name@-@version@-alt.patch
+spec: .gear/blocks.spec
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..ca10821
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+07137704a394ad539ca0ca116fd9f07f6f5e6ecc 0.1.4
diff --git a/blocks/__main__.py b/blocks/__main__.py
index 5248d77..7618663 100644
--- a/blocks/__main__.py
+++ b/blocks/__main__.py
@@ -1772,9 +1772,9 @@ def call_maintboot(device, command, **args):
             command=command, device=fsuuid, **args)))
         subprocess.check_call(
             ['maintboot', '--pkgs']
-            + 'python3-blocks util-linux dash mount base-files libc-bin'
-            '  nilfs-tools reiserfsprogs xfsprogs e2fsprogs btrfs-tools'
-            '  lvm2 cryptsetup-bin bcache-tools'.split()
+            + 'blocks util-linux sh mount filesystem glibc-core'
+            '  nilfs-utils reiserfsprogs xfsprogs e2fsprogs btrfs-progs'
+            '  lvm2 cryptsetup bcache-tools'.split()
             + ['--initscript', pkg_resources.resource_filename(
                 'blocks', 'maintboot.init')]
             + ['--append', 'BLOCKS_ARGS=' + encoded])
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin