Blame rust-md5.spec

39b3d56
# Generated by rust2rpm
13fd0c5
# * Tests are run in infrastructure
13fd0c5
%bcond_with check
39b3d56
%global debug_package %{nil}
39b3d56
39b3d56
%global crate md5
39b3d56
39b3d56
Name:           rust-%{crate}
fdc075c
Version:        0.6.1
dd0017d
Release:        2%{?dist}
39b3d56
Summary:        MD5 hash function
39b3d56
5a78f32
# Upstream license specification: Apache-2.0/MIT
39b3d56
License:        ASL 2.0 or MIT
39b3d56
URL:            https://crates.io/crates/md5
39b3d56
Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
39b3d56
39b3d56
ExclusiveArch:  %{rust_arches}
39b3d56
39b3d56
BuildRequires:  rust-packaging
39b3d56
44a72f0
%global _description \
44a72f0
The package provides the MD5 hash function.
44a72f0
44a72f0
%description %{_description}
39b3d56
39b3d56
%package        devel
39b3d56
Summary:        %{summary}
39b3d56
BuildArch:      noarch
39b3d56
44a72f0
%description    devel %{_description}
39b3d56
39b3d56
This package contains library source intended for building other packages
44a72f0
which use "%{crate}" crate.
44a72f0
44a72f0
%files          devel
44a72f0
%license LICENSE.md
44a72f0
%doc README.md
44a72f0
%{cargo_registry}/%{crate}-%{version}/
44a72f0
44a72f0
%package     -n %{name}+default-devel
44a72f0
Summary:        %{summary}
44a72f0
BuildArch:      noarch
44a72f0
44a72f0
%description -n %{name}+default-devel %{_description}
44a72f0
44a72f0
This package contains library source intended for building other packages
44a72f0
which use "default" feature of "%{crate}" crate.
44a72f0
44a72f0
%files       -n %{name}+default-devel
44a72f0
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
39b3d56
39b3d56
%prep
39b3d56
%autosetup -n %{crate}-%{version} -p1
39b3d56
%cargo_prep
39b3d56
39b3d56
%build
39b3d56
%cargo_build
39b3d56
39b3d56
%install
39b3d56
%cargo_install
39b3d56
39b3d56
%if %{with check}
39b3d56
%check
39b3d56
%cargo_test
39b3d56
%endif
39b3d56
39b3d56
%changelog
dd0017d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
dd0017d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
dd0017d
fdc075c
* Fri Dec 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.1-1
fdc075c
- Update to 0.6.1
fdc075c
4063846
* Tue Dec 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.0-1
4063846
- Udpate to 0.6.0
4063846
44a72f0
* Fri Nov 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.8-2
44a72f0
- Adapt to new packaging
44a72f0
5a78f32
* Sat Sep 08 2018 Josh Stone <jistone@redhat.com> - 0.3.8-1
5a78f32
- Update to 0.3.8
5a78f32
f4b3d1c
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-3
f4b3d1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f4b3d1c
60c3c7e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-2
60c3c7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
60c3c7e
b414aa8
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.7-1
b414aa8
- Update to 0.3.7
b414aa8
b8bfd7b
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.6-2
b8bfd7b
- Rebuild for rust-packaging v5
b8bfd7b
39b3d56
* Wed Nov 29 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.6-1
39b3d56
- Initial package