diff --git a/.gitignore b/.gitignore index 1ac88aa..b225e6e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /mdl-1.0.4.crate +/mdl-1.0.5.crate diff --git a/mdl-fix-metadata.diff b/mdl-fix-metadata.diff deleted file mode 100644 index 07a538b..0000000 --- a/mdl-fix-metadata.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- mdl-1.0.4/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ mdl-1.0.4/Cargo.toml 2019-04-28T17:13:40.508697+00:00 -@@ -19,6 +19,7 @@ - keywords = ["lmdb", "model", "data", "state"] - license = "GPL-3.0" - repository = "https://gitlab.gnome.org/danigm/mdl" -+exclude = ["/dumpdb.py"] - [dependencies.bincode] - version = "1.0.1" - diff --git a/rust-mdl.spec b/rust-mdl.spec index dcc704e..9dbc6f5 100644 --- a/rust-mdl.spec +++ b/rust-mdl.spec @@ -1,36 +1,27 @@ -# Generated by rust2rpm +# Generated by rust2rpm 13 %bcond_with check %global debug_package %{nil} %global crate mdl Name: rust-%{crate} -Version: 1.0.4 -Release: 4%{?dist} +Version: 1.0.5 +Release: 1%{?dist} Summary: Data model library to share app state between threads and process # Upstream license specification: GPL-3.0 -# https://gitlab.gnome.org/danigm/mdl/issues/2 License: GPLv3 URL: https://crates.io/crates/mdl Source: %{crates_source} -# Initial patched metadata -# * Exclude unneeded files, https://gitlab.gnome.org/danigm/mdl/merge_requests/1 -Patch0: mdl-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(bincode/default) >= 1.0.1 with crate(bincode/default) < 2.0.0) -BuildRequires: (crate(failure/default) >= 0.1.2 with crate(failure/default) < 0.2.0) -BuildRequires: (crate(lmdb/default) >= 0.8.0 with crate(lmdb/default) < 0.9.0) -BuildRequires: (crate(serde/default) >= 1.0.79 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(serde_derive/default) >= 1.0.79 with crate(serde_derive/default) < 2.0.0) -%global _description \ -Data model library to share app state between threads and process and persist\ -the data in the filesystem. Implements a simple way to store structs instances\ -in a LMDB database and other methods like BTreeMap. +%global _description %{expand: +Data model library to share app state between threads and process and persist +the data in the filesystem. Implements a simple way to store structs instances +in a LMDB database and other methods like BTreeMap.} %description %{_description} @@ -44,8 +35,9 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel +%license LICENSE.txt %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -57,12 +49,15 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -75,6 +70,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed Aug 26 2020 Josh Stone - 1.0.5-1 +- Update to 1.0.5 + * Wed Jul 29 2020 Fedora Release Engineering - 1.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index e4c07f8..6e1b3a3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mdl-1.0.4.crate) = cf8790a01ac90b055f0496208928c4475128aab11d9249b42939ad9f65b858a103d56acd5252a17501499d0a7c492683e7d6eff57ea279976e2ca62469e0a04c +SHA512 (mdl-1.0.5.crate) = fa738f19fa13370b5f1c43db410a9b8415a8073d03746b25920e4de8742cc3aab02a692b9559126f82394f7e02f184c8a0525df7b0950b9fcef360a0ec41a83c