diff --git a/.gitignore b/.gitignore index a994170..76339f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /wmidi-4.0.6.crate +/wmidi-4.0.8.crate diff --git a/15.patch b/15.patch deleted file mode 100644 index fe19e66..0000000 --- a/15.patch +++ /dev/null @@ -1,40 +0,0 @@ -From e8e4a13990e14d6f0cf52e122bdf4e2edfdf951c Mon Sep 17 00:00:00 2001 -From: Davide Cavalca -Date: Sat, 22 Jul 2023 09:16:32 -0700 -Subject: [PATCH] Add license text - ---- - LICENSE | 23 +++++++++++++++++++++++ - 1 file changed, 23 insertions(+) - create mode 100644 LICENSE - -diff --git a/LICENSE b/LICENSE -new file mode 100644 -index 0000000..468cd79 ---- /dev/null -+++ b/LICENSE -@@ -0,0 +1,23 @@ -+Permission is hereby granted, free of charge, to any -+person obtaining a copy of this software and associated -+documentation files (the "Software"), to deal in the -+Software without restriction, including without -+limitation the rights to use, copy, modify, merge, -+publish, distribute, sublicense, and/or sell copies of -+the Software, and to permit persons to whom the Software -+is furnished to do so, subject to the following -+conditions: -+ -+The above copyright notice and this permission notice -+shall be included in all copies or substantial portions -+of the Software. -+ -+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -+ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -+TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -+SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -+IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -+DEALINGS IN THE SOFTWARE. -\ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index 5066898..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-wmidi - -The rust-wmidi package diff --git a/rust-wmidi.spec b/rust-wmidi.spec index 665d332..3588df6 100644 --- a/rust-wmidi.spec +++ b/rust-wmidi.spec @@ -5,7 +5,7 @@ %global crate wmidi Name: rust-wmidi -Version: 4.0.6 +Version: 4.0.8 Release: %autorelease Summary: Midi parsing library @@ -13,10 +13,8 @@ License: MIT URL: https://crates.io/crates/wmidi Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * drop criterion dependency +# * drop unused, benchmark-only criterion dev-dependency to speed up builds Patch: wmidi-fix-metadata.diff -# Add license text -Patch: https://github.com/RustAudio/wmidi/pull/15.patch BuildRequires: rust-packaging >= 21 diff --git a/sources b/sources index 58e6b62..5efc2af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wmidi-4.0.6.crate) = 3a1cd02495c7358bb2c8eb4598bc519a2b3f496a2eb7b6d8a6a676beb1fac724b38cdb4b7cd68926c9fb5bf0d73c3cdfd8051ce02893834e556624394ae8dfae +SHA512 (wmidi-4.0.8.crate) = fe78c35c584df63de7fe0742fa823ff5b006f4113a3366a94902092912f7e91a12473133ba3af7ca6017d27361daefcce850e1a5fcbb2c2a43e3979c585cfa46 diff --git a/wmidi-fix-metadata.diff b/wmidi-fix-metadata.diff index 95f4ff1..435ba40 100644 --- a/wmidi-fix-metadata.diff +++ b/wmidi-fix-metadata.diff @@ -1,11 +1,12 @@ ---- wmidi-4.0.6/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ wmidi-4.0.6/Cargo.toml 2023-07-22T16:20:04.331461+00:00 -@@ -29,8 +29,6 @@ - harness = false +--- wmidi-4.0.8/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ wmidi-4.0.8/Cargo.toml 2023-08-30T13:29:10.154544+00:00 +@@ -35,9 +35,6 @@ [dependencies] + -[dev-dependencies.criterion] -version = "0.3" - +- [features] default = ["std"] + std = []