summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2024-09-18 15:14:54 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2024-09-18 15:14:54 +0000
commit52b2b1790d9a20b3893e4dba4d5ef2c6680966d6 (patch)
treee700adcd54852ab4ffac35af1ee224be337b1c93
parent421b21922737586fea3ba4ab75dd171d36fc83b2 (diff)
automatic import of rust-rocket_codegenHEADmasterf40f39
-rw-r--r--.gitignore1
-rw-r--r--rust-rocket_codegen.spec70
-rw-r--r--sources1
3 files changed, 72 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4e0753f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/rocket_codegen-0.5.1.crate
diff --git a/rust-rocket_codegen.spec b/rust-rocket_codegen.spec
new file mode 100644
index 0000000..2129935
--- /dev/null
+++ b/rust-rocket_codegen.spec
@@ -0,0 +1,70 @@
+# Generated by rust2rpm 26
+# * can't find crate for `rocket`
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate rocket_codegen
+
+Name: rust-rocket_codegen
+Version: 0.5.1
+Release: %autorelease
+Summary: Procedural macros for the Rocket web framework
+
+License: MIT OR Apache-2.0
+URL: https://crates.io/crates/rocket_codegen
+Source: %{crates_source}
+
+BuildRequires: cargo-rpm-macros >= 24
+
+%global _description %{expand:
+Procedural macros for the Rocket web framework.}
+
+%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}/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
diff --git a/sources b/sources
new file mode 100644
index 0000000..7116464
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+122f1b5065cec611bc8dae4713f00ef0 rocket_codegen-0.5.1.crate