diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3784b59 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pyo3-macros-0.22.6.crate diff --git a/README.md b/README.md deleted file mode 100644 index 2757984..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-pyo3-macros0.22 - -The rust-pyo3-macros0.22 package diff --git a/rust-pyo3-macros0.22.spec b/rust-pyo3-macros0.22.spec new file mode 100644 index 0000000..5bf311b --- /dev/null +++ b/rust-pyo3-macros0.22.spec @@ -0,0 +1,104 @@ +# Generated by rust2rpm 27 +%bcond check 1 +%global debug_package %{nil} + +%global crate pyo3-macros + +Name: rust-pyo3-macros0.22 +Version: 0.22.6 +Release: %autorelease +Summary: Proc macros for PyO3 package + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/pyo3-macros +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Proc macros for PyO3 package.} + +%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 +%{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}+experimental-async-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+experimental-async-devel %{_description} + +This package contains library source intended for building other packages which +use the "experimental-async" feature of the "%{crate}" crate. + +%files -n %{name}+experimental-async-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+gil-refs-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+gil-refs-devel %{_description} + +This package contains library source intended for building other packages which +use the "gil-refs" feature of the "%{crate}" crate. + +%files -n %{name}+gil-refs-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+multiple-pymethods-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+multiple-pymethods-devel %{_description} + +This package contains library source intended for building other packages which +use the "multiple-pymethods" feature of the "%{crate}" crate. + +%files -n %{name}+multiple-pymethods-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..c04acc1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pyo3-macros-0.22.6.crate) = 63f7a7b42e099742518c8a3bbc7647e98debb5500d08c39e11e8140fc146e790ab06e005d8d14c89aba79ebc5bf04fe1c92c0e9c5b13421307d3a4682d044179