mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Anda is out of sync on EL10 and can't update due to the specs being different, this should allow us to normalize them.
(cherry picked from commit bc53eb5445)
Signed-off-by: Gilver <rockgrub@disroot.org>
Signed-off-by: RockGrub <RockGrub@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
%global crate anda
|
||||
|
||||
Name: rust-anda
|
||||
Version: 0.4.9
|
||||
Version: 0.4.12
|
||||
Release: 1%?dist
|
||||
Summary: Andaman Build toolchain
|
||||
|
||||
@@ -18,6 +18,9 @@ ExclusiveArch: %{rust_arches}
|
||||
BuildRequires: rust-packaging >= 21
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: openssl-devel
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: openssl-devel-engine
|
||||
%endif
|
||||
BuildRequires: git-core
|
||||
BuildRequires: libgit2-devel
|
||||
BuildRequires: libssh2-devel
|
||||
@@ -41,6 +44,7 @@ Summary: %{summary}
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE.dependencies LICENSE.md
|
||||
%{_bindir}/anda
|
||||
%{_mandir}/man1/anda*.1*
|
||||
%config %{_sysconfdir}/bash_completion.d/anda.bash
|
||||
@@ -52,12 +56,13 @@ Summary: %{summary}
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
# %%cargo_build
|
||||
%cargo_build
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
cargo run --release -p xtask -- manpage
|
||||
cargo run --release -p xtask -- completion
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
install -Dpm755 target/rpm/anda -t %buildroot%_bindir/
|
||||
|
||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user