diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b97e45a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/signature_derive-1.0.0-pre.7.crate diff --git a/README.md b/README.md deleted file mode 100644 index 7dbd94b..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-signature_derive1 - -The rust-signature_derive1 package diff --git a/rust-signature_derive1.spec b/rust-signature_derive1.spec new file mode 100644 index 0000000..52e4109 --- /dev/null +++ b/rust-signature_derive1.spec @@ -0,0 +1,70 @@ +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate signature_derive + +Name: rust-signature_derive1 +Version: 1.0.0~pre.7 +Release: %autorelease +Summary: Custom derive support for the 'signature' crate + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/signature_derive +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Custom derive support for the 'signature' crate.} + +%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 +%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_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..bd62987 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (signature_derive-1.0.0-pre.7.crate) = 0e413d725e97b071895b4374208be3f7bd6efa1a6a6c7563f6a0d5639c4c0bea3ac355db23ea2618078b0968b5b507a9c9675810ba572e056415cf73ee95e60d