Blame rust-num-rational.spec

0cefad
# Generated by rust2rpm 10
4b07d1
%bcond_without check
fe7492
%global debug_package %{nil}
fe7492
fe7492
%global crate num-rational
fe7492
fe7492
Name:           rust-%{crate}
c31bbc
Version:        0.2.2
a4a9cc
Release:        3%{?dist}
fe7492
Summary:        Rational numbers implementation for Rust
fe7492
da46ce
# Upstream license specification: MIT/Apache-2.0
fe7492
License:        MIT or ASL 2.0
fe7492
URL:            https://crates.io/crates/num-rational
da46ce
Source:         %{crates_source}
fe7492
fe7492
ExclusiveArch:  %{rust_arches}
4b07d1
%if %{__cargo_skip_build}
4b07d1
BuildArch:      noarch
4b07d1
%endif
fe7492
fe7492
BuildRequires:  rust-packaging
fe7492
4b07d1
%global _description %{expand:
4b07d1
Rational numbers implementation for Rust.}
da46ce
da46ce
%description %{_description}
fe7492
fe7492
%package        devel
fe7492
Summary:        %{summary}
fe7492
BuildArch:      noarch
fe7492
da46ce
%description    devel %{_description}
fe7492
fe7492
This package contains library source intended for building other packages
da46ce
which use "%{crate}" crate.
da46ce
da46ce
%files          devel
da46ce
%license LICENSE-MIT LICENSE-APACHE
da46ce
%doc README.md RELEASES.md
da46ce
%{cargo_registry}/%{crate}-%{version}/
da46ce
%exclude %{cargo_registry}/%{crate}-%{version}/{bors.toml,ci}
da46ce
da46ce
%package     -n %{name}+default-devel
da46ce
Summary:        %{summary}
da46ce
BuildArch:      noarch
da46ce
da46ce
%description -n %{name}+default-devel %{_description}
da46ce
da46ce
This package contains library source intended for building other packages
da46ce
which use "default" feature of "%{crate}" crate.
da46ce
da46ce
%files       -n %{name}+default-devel
da46ce
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
da46ce
da46ce
%package     -n %{name}+bigint-devel
da46ce
Summary:        %{summary}
da46ce
BuildArch:      noarch
da46ce
da46ce
%description -n %{name}+bigint-devel %{_description}
da46ce
da46ce
This package contains library source intended for building other packages
da46ce
which use "bigint" feature of "%{crate}" crate.
da46ce
da46ce
%files       -n %{name}+bigint-devel
da46ce
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
da46ce
da46ce
%package     -n %{name}+bigint-std-devel
da46ce
Summary:        %{summary}
da46ce
BuildArch:      noarch
da46ce
da46ce
%description -n %{name}+bigint-std-devel %{_description}
da46ce
da46ce
This package contains library source intended for building other packages
da46ce
which use "bigint-std" feature of "%{crate}" crate.
da46ce
da46ce
%files       -n %{name}+bigint-std-devel
da46ce
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
da46ce
da46ce
%package     -n %{name}+i128-devel
da46ce
Summary:        %{summary}
da46ce
BuildArch:      noarch
da46ce
da46ce
%description -n %{name}+i128-devel %{_description}
da46ce
da46ce
This package contains library source intended for building other packages
da46ce
which use "i128" feature of "%{crate}" crate.
da46ce
da46ce
%files       -n %{name}+i128-devel
da46ce
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
da46ce
da46ce
%package     -n %{name}+num-bigint-devel
da46ce
Summary:        %{summary}
da46ce
BuildArch:      noarch
da46ce
da46ce
%description -n %{name}+num-bigint-devel %{_description}
da46ce
da46ce
This package contains library source intended for building other packages
da46ce
which use "num-bigint" feature of "%{crate}" crate.
da46ce
da46ce
%files       -n %{name}+num-bigint-devel
da46ce
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
da46ce
da46ce
%package     -n %{name}+serde-devel
da46ce
Summary:        %{summary}
da46ce
BuildArch:      noarch
da46ce
da46ce
%description -n %{name}+serde-devel %{_description}
da46ce
da46ce
This package contains library source intended for building other packages
da46ce
which use "serde" feature of "%{crate}" crate.
da46ce
da46ce
%files       -n %{name}+serde-devel
da46ce
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
da46ce
da46ce
%package     -n %{name}+std-devel
da46ce
Summary:        %{summary}
da46ce
BuildArch:      noarch
da46ce
da46ce
%description -n %{name}+std-devel %{_description}
da46ce
da46ce
This package contains library source intended for building other packages
da46ce
which use "std" feature of "%{crate}" crate.
da46ce
da46ce
%files       -n %{name}+std-devel
da46ce
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
fe7492
fe7492
%prep
da46ce
%autosetup -n %{crate}-%{version_no_tilde} -p1
fe7492
%cargo_prep
fe7492
0cefad
%generate_buildrequires
0cefad
%cargo_generate_buildrequires
0cefad
fe7492
%build
fe7492
%cargo_build
fe7492
fe7492
%install
fe7492
%cargo_install
fe7492
fe7492
%if %{with check}
fe7492
%check
8db90e
%cargo_test
fe7492
%endif
fe7492
fe7492
%changelog
a4a9cc
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
a4a9cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a4a9cc
0cefad
* Sat Jun 22 13:07:48 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-2
0cefad
- Regenerate
0cefad
c31bbc
* Tue Jun 11 2019 Josh Stone <jistone@redhat.com> - 0.2.2-1
c31bbc
- Update to 0.2.2
c31bbc
4b07d1
* Sun Jun 09 14:49:05 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-7
4b07d1
- Regenerate
4b07d1
08c740
* Sat Mar 16 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-6
08c740
- Do not pull optional dependencies
08c740
da46ce
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-5
da46ce
- Initial package
da46ce
f21b42
* Sat Feb 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-4
f21b42
- Run tests in infrastructure
f21b42
66c733
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
66c733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
66c733
8ad7a1
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
8ad7a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8ad7a1
e6de6b
* Sat Jun 30 2018 Josh Stone <jistone@redhat.com> - 0.2.1-1
e6de6b
- Update to 0.2.1
e6de6b
ec0964
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.42-1
ec0964
- Update to 0.1.42
ec0964
1d4193
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.41-2
1d4193
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1d4193
702055
* Sun Jan 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-1
702055
- Update to 0.1.41
702055
1665db
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.40-2
1665db
- Rebuild for rust-packaging v5
1665db
8db90e
* Wed Nov 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.40-1
8db90e
- Update to 0.1.40
8db90e
fe7492
* Wed Nov 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.39-1
fe7492
- Update to 0.1.39
fe7492
fe7492
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.38-1
fe7492
- Update to 0.1.38
fe7492
fe7492
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.36-2
fe7492
- Port to use rust-packaging
fe7492
fe7492
* Thu Mar 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.36-1
fe7492
- Initial package