mirror of
https://github.com/arabianq/rpmi.git
synced 2026-04-27 22:21:22 +00:00
fix rpmi.spec
This commit is contained in:
@@ -16,13 +16,15 @@ Source: https://github.com/arabianq/rpmi/archive/refs/tags/%{version}.t
|
|||||||
BuildRequires: rust
|
BuildRequires: rust
|
||||||
BuildRequires: cargo
|
BuildRequires: cargo
|
||||||
|
|
||||||
|
%global clean_version %(echo %{version} | sed 's/^v//')
|
||||||
|
|
||||||
%global _description %{expand:
|
%global _description %{expand:
|
||||||
Simple graphical utility that installs/upgrades/removes .rpm files built with Rust and EGUI.}
|
Simple graphical utility that installs/upgrades/removes .rpm files built with Rust and EGUI.}
|
||||||
|
|
||||||
%description %{_description}
|
%description %{_description}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n rpmi-%{version} -p1
|
%autosetup -n rpmi-%{clean_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cargo build --release --locked
|
cargo build --release --locked
|
||||||
@@ -39,4 +41,4 @@ install -Dm644 assets/rpmi.desktop %{buildroot}%{_datadir}/applications/rpmi.des
|
|||||||
%{_datadir}/applications/rpmi.desktop
|
%{_datadir}/applications/rpmi.desktop
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
%autochangelog
|
%autochangelog
|
||||||
|
|||||||
Reference in New Issue
Block a user