Sophie

Sophie

distrib > Mageia > 9 > aarch64 > media > core-release-src > by-pkgid > fcb36686d8e0f8aabcd8419b2cb3b05f > files > 1

rust-semver-1.0.16-1.mga9.src.rpm

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

%global crate semver

Name:           rust-%{crate}
Version:        1.0.16
Release:        %mkrel 1
Summary:        Parser and evaluator for Cargo's flavor of Semantic Versioning
Group:          Development/Other

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

BuildRequires:  rust-packaging >= 21

%global _description %{expand:
Parser and evaluator for Cargo's flavor of Semantic Versioning.}

%description %{_description}

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

%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}
Group:          Development/Other
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}+serde-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

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

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

%files       -n %{name}+serde-devel
%ghost %{crate_instdir}/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 the "std" feature of the "%{crate}" crate.

%files       -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml

%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep

%build
%cargo_build

%install
%cargo_install

%if %{with check}
%check
%cargo_test
%endif



%changelog
* Thu Dec 22 2022 guillomovitch <guillomovitch> 1.0.16-1.mga9
+ Revision: 1925819
- new version 1.0.16

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

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

* Mon Mar 21 2022 umeabot <umeabot> 1.0.6-2.mga9
+ Revision: 1816474
- Mageia 9 Mass Rebuild

* Sat Feb 26 2022 guillomovitch <guillomovitch> 1.0.6-1.mga9
+ Revision: 1785469
- imported package rust-semver


* Sat Feb 26 2022 Guillaume Rousse <guillomovitch@gmail.com> - 1.0.6-1
- Initial package