diff options
| author | Gordon Messmer <gmessmer@redhat.com> | 2026-01-23 05:38:43 +0000 |
|---|---|---|
| committer | Gordon Messmer <gmessmer@redhat.com> | 2026-01-23 05:38:43 +0000 |
| commit | 99a9f0b2924f9dd13b87f420873c5c06068c3c33 (patch) | |
| tree | f6d3c9ad82595f8c572e9507a9d8c49f740ac0b5 | |
| parent | 8a49a7abf0aec800d6aa865752e36dbb09e3060f (diff) | |
| download | rust-dialoguer-release-0.4.tar.gz rust-dialoguer-release-0.4.tar.xz rust-dialoguer-release-0.4.zip | |
Add rust2rpm output for version 0.4.0release-0.4
| -rw-r--r-- | rust-dialoguer.spec | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/rust-dialoguer.spec b/rust-dialoguer.spec new file mode 100644 index 0000000..3e9b0f0 --- /dev/null +++ b/rust-dialoguer.spec @@ -0,0 +1,68 @@ +# Generated by rust2rpm 27 +%bcond check 1 +%global debug_package %{nil} + +%global crate dialoguer + +Name: rust-dialoguer +Version: 0.4.0 +Release: %autorelease +Summary: Command line prompting library + +License: MIT +URL: https://crates.io/crates/dialoguer +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A command line prompting library.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog |
