Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
907cf67e48 | ||
|
|
b01e3c9b65 |
1 changed files with 14 additions and 7 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
Name: ec2-hibinit-agent
|
||||
Version: 1.0.9
|
||||
Release: 6%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: Hibernation setup utility for Amazon EC2
|
||||
|
||||
License: Apache-2.0
|
||||
|
|
@ -26,6 +26,7 @@ Patch2: 0002-rhel-fix-swapoff-breaks-hibernate-process.patch
|
|||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
|
@ -33,9 +34,9 @@ BuildRequires: selinux-policy
|
|||
BuildRequires: selinux-policy-devel
|
||||
|
||||
%{?selinux_requires}
|
||||
Requires: acpid
|
||||
Requires: grubby
|
||||
Requires: systemd
|
||||
Requires: acpid
|
||||
Requires: grubby
|
||||
Requires: systemd
|
||||
Requires: tuned
|
||||
|
||||
%description
|
||||
|
|
@ -46,11 +47,11 @@ An EC2 agent that creates a setup for instance hibernation
|
|||
# Fix build with setuptools 62.1
|
||||
# https://github.com/aws/amazon-ec2-hibinit-agent/issues/24
|
||||
sed -i "20i packages=[]," setup.py
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
# Makefile generates pp.bz2 from .tt file.
|
||||
# Makefile generates pp.bz2 from .tt file.
|
||||
# Generating tt file https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/selinux_users_and_administrators_guide/security-enhanced_linux-the-sepolicy-suite-sepolicy_generate
|
||||
make -C %{_builddir}/%{project}-%{version}/packaging/rhel/ec2hibernatepolicy
|
||||
|
||||
|
|
@ -59,7 +60,7 @@ make -C %{_builddir}/%{project}-%{version}/packaging/rhel/ec2hibernatepolicy
|
|||
|
||||
mkdir -p %{buildroot}%{python3_sitelib}
|
||||
mkdir -p "%{buildroot}%{_unitdir}"
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/acpi/events
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/acpi/events
|
||||
mkdir -p %{buildroot}%{_sharedstatedir}/hibinit-agent
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/acpi/actions
|
||||
|
||||
|
|
@ -148,6 +149,12 @@ fi
|
|||
%selinux_relabel_post -s %{selinuxtype}
|
||||
|
||||
%changelog
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 1.0.9-7
|
||||
- Rebuilt for Python 3.14
|
||||
|
||||
* Tue Mar 18 2025 Frank Liang <xiliang@redhat.com> - 1.0.9-6
|
||||
- Include upstream Patch to fix swapoff breaks hibernate process
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue