From 32a3e8aee82ad46bc5e6f62925300f9f66f3036e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 17 Oct 2024 06:14:18 +0000 Subject: [PATCH] Unretirement Releng Request: https://pagure.io/releng/issue/12399 Signed-off-by: Fedora Release Engineering --- .gitignore | 1 + README.md | 3 ++ dead.package | 1 - rust-inflate.spec | 82 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 5 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 README.md delete mode 100644 dead.package create mode 100644 rust-inflate.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1b00a3c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/inflate-0.4.5.crate diff --git a/README.md b/README.md new file mode 100644 index 0000000..e04640c --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# rust-inflate + +The rust-inflate package \ No newline at end of file diff --git a/dead.package b/dead.package deleted file mode 100644 index 6393b9f..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -unused leaf package for more than two release cycles diff --git a/rust-inflate.spec b/rust-inflate.spec new file mode 100644 index 0000000..940539c --- /dev/null +++ b/rust-inflate.spec @@ -0,0 +1,82 @@ +# Generated by rust2rpm 22 +%bcond_without check +%global debug_package %{nil} + +%global crate inflate + +Name: rust-inflate +Version: 0.4.5 +Release: %autorelease +Summary: DEFLATE decoding + +License: MIT +URL: https://crates.io/crates/inflate +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +DEFLATE decoding.} + +%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 + +%package -n %{name}+unstable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..af0e608 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (inflate-0.4.5.crate) = 1392402f72a8463dc5cdaf815d8933e8dfcc914fb3a91e69c38e54deb7d55b5211e157b640b7cfa999400fb4d2e233a4a1a678147594dfa0be300894126d17f2