Group :: Sistema/Servidores
RPM: pve-ha-manager
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%global _unpackaged_files_terminate_build 1
%set_perl_req_method relaxed
Name: pve-ha-manager
Summary: Proxmox VE HA Manager
Version: 3.6.0
Release: alt1
License: AGPL-3.0+
Group: System/Servers
Url: https://www.proxmox.com
Vcs: git://git.proxmox.com/git/pve-ha-manager.git
Source: %name-%version.tar
ExclusiveArch: x86_64 aarch64
# from debian/control
Conflicts: watchdog
Requires: libpve-cluster-perl pve-cluster
BuildRequires: pve-access-control libpve-cluster-perl pve-common pve-cluster pve-doc-generator
BuildRequires: libpve-rs-perl >= 0.7.3
%description
%summary.
%package -n pve-ha-simulator
Summary: PVE HA Simulator
Group: System/Servers
%description -n pve-ha-simulator
%summary.
This is a simple GUI to simulate the behavior of a Proxmox VE HA cluster.
%prep
%setup
%build
%make_build -C src
%install
%makeinstall_std -C src
mkdir -p %buildroot{%_unitdir,%_sysconfdir/sysconfig}
install -m0644 debian/*.service %buildroot%_unitdir/
install -m0644 debian/pve-ha-manager.default %buildroot%_sysconfdir/sysconfig/pve-ha-manager
%post
%post_service pve-ha-lrm
%post_service pve-ha-crm
%preun
%preun_service pve-ha-crm
%preun_service pve-ha-lrm
%files
%config(noreplace) %_sysconfdir/sysconfig/pve-ha-manager
%_datadir/bash-completion/completions/*
%_datadir/zsh/vendor-completions/*
%_unitdir/*
%_sbindir/*
%_man1dir/*
%_man8dir/*
%perl_vendor_privlib/PVE/API2/HA
%perl_vendor_privlib/PVE/CLI/*
%perl_vendor_privlib/PVE/HA
%perl_vendor_privlib/PVE/Service/*
%files -n pve-ha-simulator
%_bindir/pve-ha-simulator
%_datadir/pve-ha-simulator
%changelog
…
Todas as alterações você pod ver aqui
%set_perl_req_method relaxed
Name: pve-ha-manager
Summary: Proxmox VE HA Manager
Version: 3.6.0
Release: alt1
License: AGPL-3.0+
Group: System/Servers
Url: https://www.proxmox.com
Vcs: git://git.proxmox.com/git/pve-ha-manager.git
Source: %name-%version.tar
ExclusiveArch: x86_64 aarch64
# from debian/control
Conflicts: watchdog
Requires: libpve-cluster-perl pve-cluster
BuildRequires: pve-access-control libpve-cluster-perl pve-common pve-cluster pve-doc-generator
BuildRequires: libpve-rs-perl >= 0.7.3
%description
%summary.
%package -n pve-ha-simulator
Summary: PVE HA Simulator
Group: System/Servers
%description -n pve-ha-simulator
%summary.
This is a simple GUI to simulate the behavior of a Proxmox VE HA cluster.
%prep
%setup
%build
%make_build -C src
%install
%makeinstall_std -C src
mkdir -p %buildroot{%_unitdir,%_sysconfdir/sysconfig}
install -m0644 debian/*.service %buildroot%_unitdir/
install -m0644 debian/pve-ha-manager.default %buildroot%_sysconfdir/sysconfig/pve-ha-manager
%post
%post_service pve-ha-lrm
%post_service pve-ha-crm
%preun
%preun_service pve-ha-crm
%preun_service pve-ha-lrm
%files
%config(noreplace) %_sysconfdir/sysconfig/pve-ha-manager
%_datadir/bash-completion/completions/*
%_datadir/zsh/vendor-completions/*
%_unitdir/*
%_sbindir/*
%_man1dir/*
%_man8dir/*
%perl_vendor_privlib/PVE/API2/HA
%perl_vendor_privlib/PVE/CLI/*
%perl_vendor_privlib/PVE/HA
%perl_vendor_privlib/PVE/Service/*
%files -n pve-ha-simulator
%_bindir/pve-ha-simulator
%_datadir/pve-ha-simulator
%changelog
…
Todas as alterações você pod ver aqui