From ec02313e087a96adc83db04cb168ec068c6c50d0 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 19 Nov 2019 16:45:50 -0800 Subject: [PATCH] Update to 0.1.42 --- .gitignore | 1 + rust-cmake.spec | 20 ++++++++++++++------ sources | 2 +- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 848c1f6..f0f0d6d 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /cmake-0.1.38.crate /cmake-0.1.39.crate /cmake-0.1.40.crate +/cmake-0.1.42.crate diff --git a/rust-cmake.spec b/rust-cmake.spec index 0af7800..d5426dd 100644 --- a/rust-cmake.spec +++ b/rust-cmake.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm-9-1.fc30 +# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} %global crate cmake Name: rust-%{crate} -Version: 0.1.40 -Release: 2%{?dist} +Version: 0.1.42 +Release: 1%{?dist} Summary: Build dependency for running `cmake` to build a native library # Upstream license specification: MIT/Apache-2.0 @@ -15,13 +15,15 @@ URL: https://crates.io/crates/cmake Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(cc/default) >= 1.0.32 with crate(cc/default) < 2.0.0) BuildRequires: %{_bindir}/cmake -%global _description \ -A build dependency for running `cmake` to build a native library. +%global _description %{expand: +A build dependency for running `cmake` to build a native library.} %description %{_description} @@ -56,6 +58,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -68,6 +73,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed Nov 20 2019 Josh Stone - 0.1.42-1 +- Update to 0.1.42 + * Fri Jul 26 2019 Fedora Release Engineering - 0.1.40-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 2d09c9f..34d50af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cmake-0.1.40.crate) = ee2f81443c64d89ba13b29be6df393619ce6f0c6162546a4c9c24039d688297d6ee25764a561e02c1b00d2e7ac87d57568e8b7fe7f0ffe7648ccb718c3c937f9 +SHA512 (cmake-0.1.42.crate) = eb91ecb665924e433369bac77060e44950cefe73eb250463b0e0346e58b6545114e39f995f24c8dea2bb663db2b177cb9f1a8646b286906b3060effd6691e4f7