%global debug_package %{nil} Name: openvpn-cred-management Version: 0.0.git.30.4d71fbf2 Release: 1%{?dist} Summary: A wrapper around easy-rsa for personal convenience. License: MIT URL: https://github.com/cyqsimon/openvpn-cred-management VCS: git+https://github.com/cyqsimon/openvpn-cred-management.git#4d71fbf2008bb484e43a9865d4ed569b61882913: Source: openvpn-cred-management-4d71fbf2.tar.gz Requires: easy-rsa BuildRequires: gcc %description A wrapper around easy-rsa for personal convenience. Not tested whatsoever so you probably shouldn't use it. %prep %setup -T -b 0 -q -n openvpn-cred-management # use latest stable version from rustup curl -Lf "https://sh.rustup.rs" | sh -s -- --profile minimal -y %build source ~/.cargo/env cargo build --release %install install -Dpm 755 target/release/%{name} %{buildroot}%{_bindir}/%{name} %files %license LICENSE %{_bindir}/%{name} %changelog