Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 9919240c8a26522d248d679046010192 > files > 1

rust-serde_bytes-0.11.9-1.mga9.src.rpm

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

%global crate serde_bytes

Name:           rust-%{crate}
Version:        0.11.9
Release:        %mkrel 1
Summary:        Optimized handling of `&[u8]` and `Vec<u8>` for Serde
Group:          Development/Other

# Upstream license specification: MIT OR Apache-2.0
License:        MIT or ASL 2.0
URL:            https://crates.io/crates/serde_bytes
Source:         %{crates_source}

BuildRequires:  rust-packaging >= 21

%global _description %{expand:
Optimized handling of `&[u8]` and `Vec<u8>` for Serde.}

%description %{_description}

%package        devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

%description    devel %{_description}

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

%files          devel
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/

%package     -n %{name}+default-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

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

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

%files       -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

%package     -n %{name}+alloc-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

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

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

%files       -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

%package     -n %{name}+std-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

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

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

%files       -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
* Tue Feb 07 2023 guillomovitch <guillomovitch> 0.11.9-1.mga9
+ Revision: 1939278
- new version 0.11.9

* Fri Dec 23 2022 guillomovitch <guillomovitch> 0.11.8-1.mga9
+ Revision: 1926168
- new version 0.11.8

* Sun Oct 09 2022 guillomovitch <guillomovitch> 0.11.7-1.mga9
+ Revision: 1895783
- new version 0.11.7

* Sun May 22 2022 guillomovitch <guillomovitch> 0.11.6-1.mga9
+ Revision: 1859853
- new version 0.11.6

* Wed Mar 23 2022 umeabot <umeabot> 0.11.5-2.mga9
+ Revision: 1821105
- Mageia 9 Mass Rebuild

* Sun Feb 20 2022 guillomovitch <guillomovitch> 0.11.5-1.mga9
+ Revision: 1781803
- imported package rust-serde_bytes


* Sun Feb 20 2022 Guillaume Rousse <guillomovitch@gmail.com> - 0.11.5-1
- Initial package