diff --git a/.gitignore b/.gitignore index 586a360..3ce6b8a 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /cmake-0.1.45.crate /cmake-0.1.46.crate /cmake-0.1.48.crate +/cmake-0.1.49.crate diff --git a/rust-cmake.spec b/rust-cmake.spec index 6528c46..fc29eac 100644 --- a/rust-cmake.spec +++ b/rust-cmake.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate cmake -Name: rust-%{crate} -Version: 0.1.48 +Name: rust-cmake +Version: 0.1.49 Release: %autorelease Summary: Build dependency for running cmake to build a native library -# Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/cmake Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Build dependency for running `cmake` to build a native library.} @@ -34,9 +31,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +46,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/.rust2rpm.conf b/rust2rpm.conf similarity index 100% rename from .rust2rpm.conf rename to rust2rpm.conf diff --git a/sources b/sources index ccccc23..2124405 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cmake-0.1.48.crate) = c836208d43f4a716be6ef043a6b5f526d3961b9414f1419171895903491176a2a8dc2f271062667a7568c7deb2bebfe96541b4e4fe73c31aa9aa760557b188b9 +SHA512 (cmake-0.1.49.crate) = ba8d65a757734d72c8c7c7f532adbe563b5caedb67140d100cde404d4bd206e227a9d408f122975b737d44cc76a9deebbf0b4a492d1bf03e3d5f1ce8a6d50fc2