From 63621287a1975ff47869edd97551b9a34810b43f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 2 Aug 2024 20:59:30 +0200 Subject: [PATCH] Initial import (#2294336) --- .gitignore | 1 + README.md | 3 -- rust-proptest-macro.spec | 69 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 71 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 rust-proptest-macro.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5136782 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/proptest-macro-0.1.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 13dd983..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-proptest-macro - -The rust-proptest-macro package diff --git a/rust-proptest-macro.spec b/rust-proptest-macro.spec new file mode 100644 index 0000000..96cc2f2 --- /dev/null +++ b/rust-proptest-macro.spec @@ -0,0 +1,69 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate proptest-macro + +Name: rust-proptest-macro +Version: 0.1.0 +Release: %autorelease +Summary: Procedural macros for the proptest crate + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/proptest-macro +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Procedural macros for the proptest 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 +%{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 diff --git a/sources b/sources new file mode 100644 index 0000000..15940b3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (proptest-macro-0.1.0.crate) = 09a68187d5745f44702528b531f9df4a21a745d6d644c3d259f7e8475af15a86556b9157c5f58228f8e080f16f51bacbf8be5c569529df8d537f2bcc6425b596