summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordon Messmer <gmessmer@redhat.com>2026-01-23 05:38:44 +0000
committerGordon Messmer <gmessmer@redhat.com>2026-01-23 05:38:44 +0000
commitfa2b023cf9c8fdc88d1a02c53d2cc8516b8cc2e3 (patch)
tree64d50f7bc5c89285dcf4543b6c2593124bf5c20a
parent8a49a7abf0aec800d6aa865752e36dbb09e3060f (diff)
downloadrust-dialoguer-release-0.6.tar.gz
rust-dialoguer-release-0.6.tar.xz
rust-dialoguer-release-0.6.zip
Add rust2rpm output for version 0.6.2release-0.6
-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..de251dc
--- /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.6.2
+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