diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6e338b7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/gix-packetline-blocking-0.16.6.crate diff --git a/README.md b/README.md deleted file mode 100644 index a03f986..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-gix-packetline-blocking - -The rust-gix-packetline-blocking package diff --git a/rust-gix-packetline-blocking.spec b/rust-gix-packetline-blocking.spec new file mode 100644 index 0000000..a22cc7f --- /dev/null +++ b/rust-gix-packetline-blocking.spec @@ -0,0 +1,106 @@ +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate gix-packetline-blocking + +Name: rust-gix-packetline-blocking +Version: 0.16.6 +Release: %autorelease +Summary: Duplicate of gix-packetline with the blocking-io feature pre-selected + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/gix-packetline-blocking +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A duplicate of `gix-packetline` with the `blocking-io` feature pre- +selected.} + +%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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.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}+blocking-io-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+blocking-io-devel %{_description} + +This package contains library source intended for building other packages which +use the "blocking-io" feature of the "%{crate}" crate. + +%files -n %{name}+blocking-io-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+document-features-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+document-features-devel %{_description} + +This package contains library source intended for building other packages which +use the "document-features" feature of the "%{crate}" crate. + +%files -n %{name}+document-features-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-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..d0f2456 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (gix-packetline-blocking-0.16.6.crate) = 0587039cb9ced0a5ef6597962fc7ed1d669a3af7f2b09a33b32839abd2cffe8725e2f549f46390e2c41f173597468257cf2e3ec74fe74c2aa2c1a2d0fb439a52