Blame rust-rand0.4.spec

fcec663
# Generated by rust2rpm
fcec663
%bcond_without check
fcec663
%global debug_package %{nil}
fcec663
fcec663
%global crate rand
fcec663
2bcffbe
Name:           rust-%{crate}0.4
f515c7e
Version:        0.4.3
07c8d72
Release:        2%{?dist}
4eadacf
Summary:        Random number generators and other randomness functionality
fcec663
f515c7e
# Upstream license specification: MIT/Apache-2.0
4eadacf
License:        MIT or ASL 2.0
fcec663
URL:            https://crates.io/crates/rand
fcec663
Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
fcec663
# Initial patched metadata
07c8d72
# * Exclude unneeded files
07c8d72
Patch0:         rand-fix-metadata.diff
fcec663
fcec663
ExclusiveArch:  %{rust_arches}
fcec663
fcec663
BuildRequires:  rust-packaging
07c8d72
BuildRequires:  (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
fcec663
07c8d72
%global _description \
07c8d72
Random number generators and other randomness functionality.
07c8d72
07c8d72
%description %{_description}
fcec663
fcec663
%package        devel
fcec663
Summary:        %{summary}
fcec663
BuildArch:      noarch
fcec663
07c8d72
%description    devel %{_description}
fcec663
fcec663
This package contains library source intended for building other packages
07c8d72
which use "%{crate}" crate.
07c8d72
07c8d72
%files          devel
07c8d72
%license LICENSE-MIT LICENSE-APACHE
07c8d72
%doc README.md CHANGELOG.md
07c8d72
%{cargo_registry}/%{crate}-%{version}/
07c8d72
07c8d72
%package     -n %{name}+default-devel
07c8d72
Summary:        %{summary}
07c8d72
BuildArch:      noarch
07c8d72
07c8d72
%description -n %{name}+default-devel %{_description}
07c8d72
07c8d72
This package contains library source intended for building other packages
07c8d72
which use "default" feature of "%{crate}" crate.
07c8d72
07c8d72
%files       -n %{name}+default-devel
07c8d72
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
07c8d72
07c8d72
%package     -n %{name}+alloc-devel
07c8d72
Summary:        %{summary}
07c8d72
BuildArch:      noarch
07c8d72
07c8d72
%description -n %{name}+alloc-devel %{_description}
07c8d72
07c8d72
This package contains library source intended for building other packages
07c8d72
which use "alloc" feature of "%{crate}" crate.
07c8d72
07c8d72
%files       -n %{name}+alloc-devel
07c8d72
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
07c8d72
07c8d72
%package     -n %{name}+i128_support-devel
07c8d72
Summary:        %{summary}
07c8d72
BuildArch:      noarch
07c8d72
07c8d72
%description -n %{name}+i128_support-devel %{_description}
07c8d72
07c8d72
This package contains library source intended for building other packages
07c8d72
which use "i128_support" feature of "%{crate}" crate.
07c8d72
07c8d72
%files       -n %{name}+i128_support-devel
07c8d72
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
07c8d72
07c8d72
%package     -n %{name}+libc-devel
07c8d72
Summary:        %{summary}
07c8d72
BuildArch:      noarch
07c8d72
07c8d72
%description -n %{name}+libc-devel %{_description}
07c8d72
07c8d72
This package contains library source intended for building other packages
07c8d72
which use "libc" feature of "%{crate}" crate.
07c8d72
07c8d72
%files       -n %{name}+libc-devel
07c8d72
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
07c8d72
07c8d72
%package     -n %{name}+std-devel
07c8d72
Summary:        %{summary}
07c8d72
BuildArch:      noarch
07c8d72
07c8d72
%description -n %{name}+std-devel %{_description}
07c8d72
07c8d72
This package contains library source intended for building other packages
07c8d72
which use "std" feature of "%{crate}" crate.
07c8d72
07c8d72
%files       -n %{name}+std-devel
07c8d72
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
fcec663
fcec663
%prep
fcec663
%autosetup -n %{crate}-%{version} -p1
fcec663
%cargo_prep
fcec663
fcec663
%build
fcec663
%cargo_build
fcec663
fcec663
%install
fcec663
%cargo_install
fcec663
fcec663
%if %{with check}
fcec663
%check
fcec663
%cargo_test
fcec663
%endif
fcec663
fcec663
%changelog
07c8d72
* Wed Oct 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.3-2
07c8d72
- Adapt to new packaging
07c8d72
f515c7e
* Fri Sep 07 2018 Josh Stone <jistone@redhat.com> - 0.4.3-1
f515c7e
- Update to 0.4.3
f515c7e
1113506
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-6
1113506
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1113506
4eadacf
* Sat Jul 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.2-5
4eadacf
- Trivial fixes in spec
4eadacf
56f495f
* Tue Feb 20 2018 Josh Stone <jistone@redhat.com> - 0.4.2-4
56f495f
- Exclude python2 utilities
56f495f
2591ec1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-3
2591ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2591ec1
8683d0a
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.2-2
8683d0a
- Rebuild for rust-packaging v5
8683d0a
1665aa5
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.2-1
1665aa5
- Update to 0.4.2
1665aa5
a29422e
* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-1
a29422e
- Update to 0.4.1
a29422e
ec2be6a
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.18-1
ec2be6a
- Update to 0.3.18
ec2be6a
fcec663
* Fri Oct 27 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.17-1
fcec663
- Update to 0.3.17
fcec663
fcec663
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.15-3
fcec663
- Port to use rust-packaging
fcec663
fcec663
* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.15-2
fcec663
- Use rich dependencies
fcec663
fcec663
* Sun Feb 12 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.15-1
fcec663
- Initial package