From 9121d26b6afea36bcb39252abdb3e3826b37af11 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 12 Feb 2019 08:00:17 +0100 Subject: [PATCH] Adapt to new packaging Signed-off-by: Igor Gnatenko --- rust-byteorder.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-byteorder.spec b/rust-byteorder.spec index ad17a84..203fa2d 100644 --- a/rust-byteorder.spec +++ b/rust-byteorder.spec @@ -13,7 +13,7 @@ Summary: Library for reading/writing numbers in big-endian and little-end # Upstream license specification: Unlicense OR MIT License: Unlicense or MIT URL: https://crates.io/crates/byteorder -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} @@ -79,7 +79,7 @@ which use "std" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build