Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release-src > by-pkgid > 6f734bbe1e534093313736642da2399a > files > 2

rust-pyo3-macros-0.20.2-1.mga10.src.rpm

# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}

%global crate pyo3-macros

Name:           rust-pyo3-macros
Version:        0.20.2
Release:        %mkrel 1
Summary:        Proc macros for PyO3 package
Group:          Development/Other

License:        MIT OR Apache-2.0
URL:            https://crates.io/crates/pyo3-macros
Source:         %{crates_source}
BuildArch:      noarch
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}+abi3-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+abi3-devel %{_description}

This package contains library source intended for building other packages which
use the "abi3" feature of the "%{crate}" crate.

%files       -n %{name}+abi3-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
* Fri Jan 05 2024 wally <wally> 0.20.2-1.mga10
+ Revision: 2027827
- new version 0.20.2

* Fri Dec 29 2023 wally <wally> 0.20.0-1.mga10
+ Revision: 2024068
- new version 0.20.0
- build as noarch

* Tue Nov 21 2023 wally <wally> 0.18.1-2.mga10
+ Revision: 2008690
- add more strict requires

* Sun Feb 12 2023 wally <wally> 0.18.1-1.mga9
+ Revision: 1940897
- new version 0.18.1
- drop removed pyproto feature

* Sat Feb 04 2023 guillomovitch <guillomovitch> 0.17.3-1.mga9
+ Revision: 1938199
- new version 0.17.3

* Sun Jun 19 2022 guillomovitch <guillomovitch> 0.15.2-1.mga9
+ Revision: 1865212
- new version 0.15.2

* Fri Mar 25 2022 umeabot <umeabot> 0.15.1-2.mga9
+ Revision: 1825698
- Mageia 9 Mass Rebuild

* Tue Mar 01 2022 guillomovitch <guillomovitch> 0.15.1-1.mga9
+ Revision: 1786893
- imported package rust-pyo3-macros


* Tue Mar 01 2022 Guillaume Rousse <guillomovitch@gmail.com> - 0.15.1-1
- Initial package