From 27a43b11faa02127fd8d01841afeeae8d696fa45 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Dec 23 2020 21:16:58 +0000 Subject: 0.7.3 --- diff --git a/.gitignore b/.gitignore index 6b4cabf..7122425 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /gptman-0.6.3.crate /gptman-0.7.0.crate +/gptman-0.7.3.crate diff --git a/disable-cli.patch b/disable-cli.patch index 3b552ee..33b9c7b 100644 --- a/disable-cli.patch +++ b/disable-cli.patch @@ -1,6 +1,6 @@ ---- gptman-0.7.0/Cargo.toml.old 2020-08-25 08:09:04.559204973 -0400 -+++ gptman-0.7.0/Cargo.toml 2020-08-25 08:10:00.617342763 -0400 -@@ -28,61 +28,21 @@ +--- gptman-0.7.3/Cargo.toml.old 2020-12-23 16:14:43.953070231 -0500 ++++ gptman-0.7.3/Cargo.toml 2020-12-23 16:14:57.903126780 -0500 +@@ -28,58 +28,18 @@ [lib] name = "gptman" @@ -43,10 +43,8 @@ -optional = true - [dependencies.serde] - version = "1.0.115" - - [dependencies.serde_derive] - version = "1.0.115" + version = "1.0.116" + features = ["derive"] -[dependencies.structopt] -version = "0.3" @@ -61,4 +59,3 @@ -default = ["cli"] [target."cfg(target_os = \"linux\")".dependencies.nix] version = "0.18" - [badges.is-it-maintained-issue-resolution] diff --git a/nix-version.patch b/nix-version.patch deleted file mode 100644 index 299f248..0000000 --- a/nix-version.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- gptman-0.7.0/Cargo.toml.old 2020-08-25 08:14:24.951064064 -0400 -+++ gptman-0.7.0/Cargo.toml 2020-08-25 08:14:36.100098060 -0400 -@@ -44,7 +44,7 @@ - version = "1.0.115" - - [target."cfg(target_os = \"linux\")".dependencies.nix] --version = "0.18" -+version = ">= 0.17, < 0.19" - [badges.is-it-maintained-issue-resolution] - repository = "cecton/gptman" - diff --git a/rust-gptman.spec b/rust-gptman.spec index b6299a9..815d8d1 100644 --- a/rust-gptman.spec +++ b/rust-gptman.spec @@ -5,18 +5,16 @@ %global crate gptman Name: rust-%{crate} -Version: 0.7.0 +Version: 0.7.3 Release: 1%{?dist} Summary: GPT manager that allows you to copy partitions from one disk to another -# Upstream license specification: MIT -License: MIT +# Upstream license specification: MIT or ASL 2.0 +License: MIT or ASL 2.0 URL: https://crates.io/crates/gptman Source: %{crates_source} # Disable CLI binary; we only ship the library Patch0: disable-cli.patch -# Allow nix 0.17 -Patch1: nix-version.patch ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -40,7 +38,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%license LICENSE +%license LICENSE.Apache-2.0 LICENSE.MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -87,6 +85,11 @@ which use "nix" feature of "%{crate}" crate. %endif %changelog +* Wed Dec 23 2020 Benjamin Gilbert - 0.7.3-1 +- New release +- Update license to add ASL 2.0 option +- Build with nix 0.18 + * Tue Aug 25 2020 Benjamin Gilbert - 0.7.0-1 - New release diff --git a/sources b/sources index 35240ca..1c27911 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gptman-0.7.0.crate) = 2f760deca701008885bb716e7713752c68ef7217dccdde3ed1b7abb8e16373dcf748b45fc819c9554f2d3c5aed130831d99ff23d477acc50029783008b939a24 +SHA512 (gptman-0.7.3.crate) = 1d84634ae7f1e5f67fe27f0dde042a6dd1f94b3282b9f13a2606a4a4aa150ed95cb562c42205605234575e313b375b55fd724c134bc546915de1ebc910e8da2f