From ae46b8585a8cbead3c4484ea2ebd886ee14c6211 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Jan 06 2020 06:10:19 +0000 Subject: Update to 2.15.0 --- diff --git a/.gitignore b/.gitignore index 0f43120..58729fe 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libpulse-binding-2.14.0.crate +/libpulse-binding-2.15.0.crate diff --git a/libpulse-binding-fix-metadata.diff b/libpulse-binding-fix-metadata.diff new file mode 100644 index 0000000..06f689a --- /dev/null +++ b/libpulse-binding-fix-metadata.diff @@ -0,0 +1,12 @@ +--- libpulse-binding-2.15.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ libpulse-binding-2.15.0/Cargo.toml 2020-01-06T06:02:30.650909+00:00 +@@ -46,9 +46,5 @@ + pa_v5 = ["libpulse-sys/pa_v5"] + pa_v6 = ["pa_v5", "libpulse-sys/pa_v6"] + pa_v8 = ["pa_v6", "libpulse-sys/pa_v8"] +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["winsock2"] +-default-features = false + [badges.travis-ci] + repository = "jnqnfe/pulse-binding-rust" diff --git a/rust-libpulse-binding.spec b/rust-libpulse-binding.spec index 90dba8f..e02a976 100644 --- a/rust-libpulse-binding.spec +++ b/rust-libpulse-binding.spec @@ -1,18 +1,21 @@ -# Generated by rust2rpm 11 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate libpulse-binding Name: rust-%{crate} -Version: 2.14.0 -Release: 2%{?dist} +Version: 2.15.0 +Release: 1%{?dist} Summary: Rust language binding for the PulseAudio libpulse library # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/libpulse-binding Source: %{crates_source} +# Initial patched metadata +# * No Windows deps +Patch0: libpulse-binding-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -37,8 +40,8 @@ which use "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md -%{cargo_registry}/%{crate}-%{version}/ +%doc README.md CHANGELOG.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +53,7 @@ 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 %package -n %{name}+dox-devel Summary: %{summary} @@ -62,7 +65,7 @@ This package contains library source intended for building other packages which use "dox" feature of "%{crate}" crate. %files -n %{name}+dox-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+latest_pa_common_compatibility-devel Summary: %{summary} @@ -74,7 +77,7 @@ This package contains library source intended for building other packages which use "latest_pa_common_compatibility" feature of "%{crate}" crate. %files -n %{name}+latest_pa_common_compatibility-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+latest_pa_compatibility-devel Summary: %{summary} @@ -86,7 +89,7 @@ This package contains library source intended for building other packages which use "latest_pa_compatibility" feature of "%{crate}" crate. %files -n %{name}+latest_pa_compatibility-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pa_latest-devel Summary: %{summary} @@ -98,7 +101,7 @@ This package contains library source intended for building other packages which use "pa_latest" feature of "%{crate}" crate. %files -n %{name}+pa_latest-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pa_latest_common-devel Summary: %{summary} @@ -110,7 +113,7 @@ This package contains library source intended for building other packages which use "pa_latest_common" feature of "%{crate}" crate. %files -n %{name}+pa_latest_common-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pa_v12-devel Summary: %{summary} @@ -122,7 +125,7 @@ This package contains library source intended for building other packages which use "pa_v12" feature of "%{crate}" crate. %files -n %{name}+pa_v12-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pa_v12_compatibility-devel Summary: %{summary} @@ -134,7 +137,7 @@ This package contains library source intended for building other packages which use "pa_v12_compatibility" feature of "%{crate}" crate. %files -n %{name}+pa_v12_compatibility-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pa_v13-devel Summary: %{summary} @@ -146,7 +149,7 @@ This package contains library source intended for building other packages which use "pa_v13" feature of "%{crate}" crate. %files -n %{name}+pa_v13-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pa_v5-devel Summary: %{summary} @@ -158,7 +161,7 @@ This package contains library source intended for building other packages which use "pa_v5" feature of "%{crate}" crate. %files -n %{name}+pa_v5-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pa_v6-devel Summary: %{summary} @@ -170,7 +173,7 @@ This package contains library source intended for building other packages which use "pa_v6" feature of "%{crate}" crate. %files -n %{name}+pa_v6-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pa_v8-devel Summary: %{summary} @@ -182,7 +185,7 @@ This package contains library source intended for building other packages which use "pa_v8" feature of "%{crate}" crate. %files -n %{name}+pa_v8-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 @@ -204,6 +207,9 @@ which use "pa_v8" feature of "%{crate}" crate. %endif %changelog +* Mon Jan 06 08:02:31 EET 2020 Artem Polishchuk - 2.15.0-1 +- Update to 2.15.0 + * Wed Dec 11 09:16:32 CET 2019 Igor Gnatenko - 2.14.0-2 - Enable tests diff --git a/sources b/sources index edf8b05..fba820f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libpulse-binding-2.14.0.crate) = e9ddb8da4a61154895d6d7ba14ba14c96f414bed343a43fb2e0727ae2e2e7fb937392db4c981019d7b0c4c9c2f3f8235b85e5a7638b7d093c686bebedd99aeb6 +SHA512 (libpulse-binding-2.15.0.crate) = 72c6ac3a230a2794839f07d7dc48a49a76b11c339f1e4f0afacaf935bd89543325d0050a3d704a91ff06c23a8b7a05a5b50406a09a3495e9d0f2bc8c824d0013