Update to 0.1.6

Adapt to new packaging
epel9
Josh Stone 6 years ago
parent d28c8d3091
commit 40f7f62d0d

1
.gitignore vendored

@ -1,3 +1,4 @@
/fallible-iterator-0.1.3.crate
/fallible-iterator-0.1.4.crate
/fallible-iterator-0.1.5.crate
/fallible-iterator-0.1.6.crate

@ -5,10 +5,11 @@
%global crate fallible-iterator
Name: rust-%{crate}
Version: 0.1.5
Version: 0.1.6
Release: 1%{?dist}
Summary: Fallible iterator traits
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/fallible-iterator
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
@ -17,18 +18,48 @@ ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%description
%{summary}.
%global _description \
Fallible iterator traits.
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
Fallible iterator traits.
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%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 %{crate} from crates.io.
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/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 "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
@ -45,12 +76,11 @@ which use %{crate} from crates.io.
%cargo_test
%endif
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Mon Dec 10 2018 Josh Stone <jistone@redhat.com> - 0.1.6-1
- Update to 0.1.6
- Adapt to new packaging
* Tue Jul 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.5-1
- Update to 0.1.5

@ -1 +1 @@
SHA512 (fallible-iterator-0.1.5.crate) = ebf30a5bca52365306a46af6ec220685db2aa994fa47765d131c0697a06d65ff06bb0d7453d7c0c2c92a6fbc2f3ff2f347a0fad3556b7be3f98b0a03b9d87bf1
SHA512 (fallible-iterator-0.1.6.crate) = ca07910c092ec684022f85f62c84a77802163c29da17fda9739452a063944f5c28162d90902ec37717bd4e62ffe09b0dbbf96b7846d91dfe448e811207272452

Loading…
Cancel
Save