summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordon Messmer <gmessmer@redhat.com>2026-01-23 05:38:45 +0000
committerGordon Messmer <gmessmer@redhat.com>2026-01-23 05:38:45 +0000
commit522e185a3c98fc6d45aae44de1057644d3b06964 (patch)
treea49f163096153e3e6be49be33017cb317a711aea
parent8a49a7abf0aec800d6aa865752e36dbb09e3060f (diff)
downloadrust-dialoguer-release-0.7.tar.gz
rust-dialoguer-release-0.7.tar.xz
rust-dialoguer-release-0.7.zip
Add rust2rpm output for version 0.7.1release-0.7
-rw-r--r--rust-dialoguer.spec69
1 files changed, 69 insertions, 0 deletions
diff --git a/rust-dialoguer.spec b/rust-dialoguer.spec
new file mode 100644
index 0000000..6f7df06
--- /dev/null
+++ b/rust-dialoguer.spec
@@ -0,0 +1,69 @@
+# Generated by rust2rpm 27
+%bcond check 1
+%global debug_package %{nil}
+
+%global crate dialoguer
+
+Name: rust-dialoguer
+Version: 0.7.1
+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}/CHANGELOG.md
+%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