From d7143811b89b0be6bbaa0549549984a8c3a6c259 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 15 Apr 2019 22:19:43 -0700 Subject: [PATCH] Update to 0.2.0 --- .gitignore | 1 + rust-pcre2.spec | 15 +++++++++------ sources | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 4e8ee1b..7ae1b0f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /pcre2-0.1.0.crate /pcre2-0.1.1.crate +/pcre2-0.2.0.crate diff --git a/rust-pcre2.spec b/rust-pcre2.spec index c728187..fa8e557 100644 --- a/rust-pcre2.spec +++ b/rust-pcre2.spec @@ -6,21 +6,21 @@ %global crate pcre2 Name: rust-%{crate} -Version: 0.1.1 -Release: 4%{?dist} +Version: 0.2.0 +Release: 1%{?dist} Summary: High level wrapper library for PCRE2 # Upstream license specification: Unlicense/MIT License: Unlicense or MIT URL: https://crates.io/crates/pcre2 -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) +BuildRequires: (crate(libc/default) >= 0.2.46 with crate(libc/default) < 0.3.0) BuildRequires: (crate(log/default) >= 0.4.5 with crate(log/default) < 0.5.0) -BuildRequires: (crate(pcre2-sys/default) >= 0.1.0 with crate(pcre2-sys/default) < 0.2.0) +BuildRequires: (crate(pcre2-sys/default) >= 0.2.0 with crate(pcre2-sys/default) < 0.3.0) BuildRequires: (crate(thread_local/default) >= 0.3.6 with crate(thread_local/default) < 0.4.0) %global _description \ @@ -55,7 +55,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 @@ -70,6 +70,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Tue Apr 16 2019 Josh Stone - 0.2.0-1 +- Update to 0.2.0 + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index da1e9e8..660e3ec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pcre2-0.1.1.crate) = f8777ac099487d09e8b3f08cd92840e66b10920d3764ceff5d24463c586b10460ea7f840f5683311feadf086a1340739c01c275df09a4fbf17f03c003297d794 +SHA512 (pcre2-0.2.0.crate) = c8d6aa4e357c9b5cc7e8d527a0d0a605378f975f41fe0a5f4996175be1f620e8446bc7e6135927b50bf3687618671ca85bb2a67314b78989818efe30d25d3521