Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
9620ea6821
!20 [sync] PR-19: Add cache and hosts directories
From: @openeuler-sync-bot 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
2023-12-06 09:43:48 +00:00
lyn1001
55cf72e2d8 Add cache and hosts directories
(cherry picked from commit 634301916b70a4f8f4ff178f963853d96518817c)
2023-12-06 17:15:30 +08:00
openeuler-ci-bot
629d4e93ce
!12 Bring source file into correspondence with described in spec file
From: @wang--ge 
Reviewed-by: @caodongxia, @gitee-cmd 
Signed-off-by: @caodongxia, @gitee-cmd
2022-11-23 08:36:37 +00:00
wang--ge
266df6d4c8 Bring source file into correpondence with described in spec file 2022-11-22 16:38:43 +08:00
openeuler-ci-bot
21697e5821
!11 [sync] PR-10: Package upgrade
From: @openeuler-sync-bot 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
2022-10-13 10:30:45 +00:00
starlet-dx
3f93b14b26 Package upgrade
(cherry picked from commit 78426de26d19f58f0fb16cd308efff8cfeffcb9c)
2022-10-13 16:44:40 +08:00
openeuler-ci-bot
6677304640 !8 remove useless comments
From: @xinghe_1
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-12-17 17:28:12 +08:00
markeryang
0e6064b092 remove useless comments 2020-12-17 16:48:54 +08:00
openeuler-ci-bot
8cd0b2779b !3 remove python2 support
Merge pull request !3 from 桐小哥/master
2020-08-08 15:51:00 +08:00
桐小哥
e9062b2867 remove python2 support 2020-08-08 10:23:27 +08:00
3 changed files with 26 additions and 29 deletions

Binary file not shown.

BIN
boom-1.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,33 +1,25 @@
Name: boom-boot
Version: 0.9
Release: 5
Version: 1.3
Release: 3
Summary: libraries and files for helping boot loger entries
License: GPLv2
License: GPL-2.0-only
URL: https://github.com/bmr-cymru/boom
Source0: https://github.com/bmr-cymru/boom/archive/%{version}/boom-%{version}.tar.gz
Source0: https://github.com/snapshotmanager/boom/archive/%{version}/boom-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-setuptools python3-setuptools python2-devel python3-devel python2-sphinx python3-sphinx
BuildRequires: python3-setuptools python3-devel python3-sphinx
Patch9000: fix-compile-error-about-sphinx-build.patch
Requires: python3-boom %{name}-conf
%package -n python2-boom
Summary: libraries and files for helping boot loger entries
%{?python_provide:%python_provide python2-boom}
Requires: python2
Recommends: lvm2 %{name}-conf
%package -n python3-boom
Summary: libraries and files for helping boot loger entries
%{?python_provide:%python_provide python3-boom}
Requires: python3
Recommends: lvm2 %{name}-conf
# The python3-boom and no boom only here to tell boom package in fedora and
# boom package in copr apart
Conflicts: boom
%package conf
@ -44,16 +36,6 @@ Boom requires a BLS-compatible boot loader to run:
systemd-boot project or Grub2 with BLS patch (Red Hat Grub2 build
(This support is included in both Red Hat Enterprise Linux 7 and Fedora).
%description -n python2-boom
In Linux systems, there is a boot manager that support BootLoader Specification
for boot entry configuration, that is Boom.
Boom requires a BLS-compatible boot loader to run:
systemd-boot project or Grub2 with BLS patch (Red Hat Grub2 build
(This support is included in both Red Hat Enterprise Linux 7 and Fedora).
This package contains python2 boom module
%description -n python3-boom
In Linux systems, there is a boot manager that support BootLoader Specification
for boot entry configuration, that is Boom.
@ -99,11 +81,9 @@ rm doc/_build/html/.buildinfo
mv doc/_build/html doc/html
rm -r doc/_build
%py2_build
%py3_build
%install
%py2_install
%py3_install
# Install Grub2 integration scripts
@ -115,8 +95,11 @@ install -m 644 etc/default/boom ${RPM_BUILD_ROOT}/etc/default
# Make configuration directories
# mode 0700 - in line with /boot/grub2 directory:
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/profiles
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/hosts
install -d -m 700 ${RPM_BUILD_ROOT}/boot/loader/entries
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/cache
install -m 644 examples/boom.conf ${RPM_BUILD_ROOT}/boot/boom
install -m 644 examples/profiles/*.profile ${RPM_BUILD_ROOT}/boot/boom/profiles
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man8
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man5
@ -135,10 +118,6 @@ rm doc/Makefile doc/conf.py
%{_bindir}/boom
%doc %{_mandir}/man*/boom.*
%files -n python2-boom
%license COPYING
%{python2_sitelib}/*
%files -n python3-boom
%license COPYING
%{python3_sitelib}/*
@ -147,6 +126,9 @@ rm doc/Makefile doc/conf.py
%license COPYING
%dir /boot/boom
%config(noreplace) /boot/boom/boom.conf
%config(noreplace) /boot/boom/profiles/*
%dir /boot/boom/hosts
%dir /boot/boom/cache
%dir /boot/boom/profiles
%dir /boot/loader/entries
@ -163,5 +145,20 @@ rm doc/Makefile doc/conf.py
%doc README.md
%changelog
* Wed Dec 6 2023 liyanan <liyanan61@h-partners.com> - 1.3-3
- Add cache and hosts directories
* Tue Nov 22 2022 Ge Wang <wangge20@h-partners.com> - 1.3-2
- Bring source file into correspondence with described in spec file
* Wed Jun 15 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.3-1
- Upgrade to version 1.3
* Thu Dec 17 2020 xinghe <xinghe1@huawei.com> - 0.9-7
- remove useless comments
* Sat Aug 8 2020 shixuantong <shixuantong@huawei.com> - 0.9-6
- remove python2 support
* Wed Feb 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.9-5
- Package init