Sophie

Sophie

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

rust-serde_json-1.0.91-1.mga9.src.rpm

# Generated by rust2rpm 20
%bcond_with check
%global debug_package %{nil}

%global crate serde_json

Name:           rust-%{crate}
Version:        1.0.91
Release:        %mkrel 1
Summary:        JSON serialization file format
Group:          Development/Other

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

BuildRequires:  rust-packaging
BuildRequires:  crate(itoa/default) >= 1.0.0
BuildRequires:  crate(ryu/default) >= 1.0.0
BuildRequires:  crate(serde) >= 1.0.100
BuildRequires:  crate(serde/std) >= 1.0.100

%if %{with check}
BuildRequires:  crate(automod/default) >= 1.0.0
BuildRequires:  crate(ref-cast/default) >= 1.0.0
BuildRequires:  crate(rustversion/default) >= 1.0.0
BuildRequires:  crate(serde_bytes/default) >= 0.11.0
BuildRequires:  crate(serde_derive/default) >= 1.0.0
BuildRequires:  crate(serde_stacker/default) >= 0.1.0
BuildRequires:  crate(trybuild/default) >= 1.0.49
BuildRequires:  crate(trybuild/diff) >= 1.0.49
%endif

%global _description %{expand:
JSON serialization file format.}

%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 LICENSE-APACHE LICENSE-MIT
%doc CONTRIBUTING.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/

%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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

%package     -n %{name}+alloc-devel
Summary:        %{summary}
BuildArch:      noarch

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

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

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

%package     -n %{name}+arbitrary_precision-devel
Summary:        %{summary}
BuildArch:      noarch

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

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

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

%package     -n %{name}+float_roundtrip-devel
Summary:        %{summary}
BuildArch:      noarch

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

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

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

%package     -n %{name}+indexmap-devel
Summary:        %{summary}
BuildArch:      noarch

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

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

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

%package     -n %{name}+preserve_order-devel
Summary:        %{summary}
BuildArch:      noarch

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

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

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

%package     -n %{name}+raw_value-devel
Summary:        %{summary}
BuildArch:      noarch

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

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

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

%package     -n %{name}+std-devel
Summary:        %{summary}
BuildArch:      noarch

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

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

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

%package     -n %{name}+unbounded_depth-devel
Summary:        %{summary}
BuildArch:      noarch

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

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

%files       -n %{name}+unbounded_depth-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
* Fri Dec 23 2022 guillomovitch <guillomovitch> 1.0.91-1.mga9
+ Revision: 1926172
- new version 1.0.91

* Tue Dec 13 2022 guillomovitch <guillomovitch> 1.0.89-1.mga9
+ Revision: 1921777
- new version 1.0.89

* Mon Oct 17 2022 guillomovitch <guillomovitch> 1.0.86-1.mga9
+ Revision: 1897326
- new version 1.0.86

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

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

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

* Sun Feb 20 2022 guillomovitch <guillomovitch> 1.0.79-1.mga9
+ Revision: 1781888
- imported package rust-serde_json