From 924d9999ecb12e9c6aa42ee4f54e0dfded6dc845 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 12 2019 07:04:16 +0000 Subject: Adapt to new packaging Signed-off-by: Igor Gnatenko --- diff --git a/rust-hyper-native-tls.spec b/rust-hyper-native-tls.spec index b9de002..72621fc 100644 --- a/rust-hyper-native-tls.spec +++ b/rust-hyper-native-tls.spec @@ -1,5 +1,5 @@ # Generated by rust2rpm -# Tests are run in infrastructure +# * Tests are run in infrastructure %bcond_with check %global debug_package %{nil} @@ -13,7 +13,7 @@ Summary: native-tls support for Hyper # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/hyper-native-tls -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} @@ -54,7 +54,7 @@ which use "default" 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