Update to 0.5.4

Adapt to new packaging
epel9
Josh Stone 6 years ago
parent 5838a08176
commit 0f6c69c458

1
.gitignore vendored

@ -1,3 +1,4 @@
/serde_urlencoded-0.5.1.crate
/serde_urlencoded-0.5.2.crate
/serde_urlencoded-0.5.3.crate
/serde_urlencoded-0.5.4.crate

@ -5,7 +5,7 @@
%global crate serde_urlencoded
Name: rust-%{crate}
Version: 0.5.3
Version: 0.5.4
Release: 1%{?dist}
Summary: `x-www-form-urlencoded` meets Serde
@ -17,28 +17,45 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(dtoa) >= 0.4.0 with crate(dtoa) < 0.5.0)
BuildRequires: (crate(itoa) >= 0.4.0 with crate(itoa) < 0.5.0)
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
BuildRequires: (crate(url) >= 1.0.0 with crate(url) < 2.0.0)
BuildRequires: (crate(dtoa/default) >= 0.4.0 with crate(dtoa/default) < 0.5.0)
BuildRequires: (crate(itoa/default) >= 0.4.0 with crate(itoa/default) < 0.5.0)
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
BuildRequires: (crate(url/default) >= 1.0.0 with crate(url/default) < 2.0.0)
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
%endif
%description
%{summary}.
%global _description \
`x-www-form-urlencoded` meets Serde.
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
`x-www-form-urlencoded` meets Serde.
%description devel %{_description}
This package contains library source intended for building other packages
which use %{crate} from crates.io.
which use "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%exclude %{cargo_registry}/%{crate}-%{version}/bors.toml
%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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
@ -55,13 +72,11 @@ which use %{crate} from crates.io.
%cargo_test
%endif
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%exclude %{cargo_registry}/%{crate}-%{version}/bors.toml
%changelog
* Mon Nov 26 2018 Josh Stone <jistone@redhat.com> - 0.5.4-1
- Update to 0.5.4
- Adapt to new packaging
* Fri Sep 07 2018 Josh Stone <jistone@redhat.com> - 0.5.3-1
- Update to 0.5.3

@ -1 +1 @@
SHA512 (serde_urlencoded-0.5.3.crate) = 94a723687e3debebe8e221f1396a63574a36e4e2ded434ae4dde9c7c832f5f865114378d250463f5ab7e85884d11e4b99d91bf470c796c0fe24cc88614b618d9
SHA512 (serde_urlencoded-0.5.4.crate) = b32c2cf86c9c023b18ce5627992692e53a0848a1d44508c510e553731e6a4fb1ad30aef8f2cafac6ab0cf3faa45eb5f1df42cf8cbce36b673d2aa6754d3ef45b

Loading…
Cancel
Save