From eeecacc237e5cb0da3885b56a888a83c80b7ff77 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Jan 27 2020 23:38:12 +0000 Subject: Update to 2.18.2 --- diff --git a/.gitignore b/.gitignore index 0b8815e..65b918e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /x11-2.18.1.crate +/x11-2.18.2.crate diff --git a/rust-x11.spec b/rust-x11.spec index 9fa9047..b2fbbba 100644 --- a/rust-x11.spec +++ b/rust-x11.spec @@ -1,28 +1,29 @@ -# Generated by rust2rpm +# Generated by rust2rpm 13 %bcond_with check %global debug_package %{nil} %global crate x11 Name: rust-%{crate} -Version: 2.18.1 -Release: 2%{?dist} +Version: 2.18.2 +Release: 1%{?dist} Summary: X11 library bindings for Rust -# Upstream license specification: CC0-1.0 +# Upstream license specification: MIT # https://github.com/erlepereira/x11-rs/issues/97 -License: CC0 +License: MIT URL: https://crates.io/crates/x11 Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) -BuildRequires: (crate(pkg-config/default) >= 0.3.8 with crate(pkg-config/default) < 0.4.0) -%global _description \ -X11 library bindings for Rust. +%global _description %{expand: +X11 library bindings for Rust.} %description %{_description} @@ -36,7 +37,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +49,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} @@ -60,7 +61,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}+dpms-devel Summary: %{summary} @@ -73,7 +74,7 @@ This package contains library source intended for building other packages which use "dpms" feature of "%{crate}" crate. %files -n %{name}+dpms-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+glx-devel Summary: %{summary} @@ -86,7 +87,7 @@ This package contains library source intended for building other packages which use "glx" feature of "%{crate}" crate. %files -n %{name}+glx-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xcursor-devel Summary: %{summary} @@ -99,7 +100,7 @@ This package contains library source intended for building other packages which use "xcursor" feature of "%{crate}" crate. %files -n %{name}+xcursor-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xf86vmode-devel Summary: %{summary} @@ -112,7 +113,7 @@ This package contains library source intended for building other packages which use "xf86vmode" feature of "%{crate}" crate. %files -n %{name}+xf86vmode-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xft-devel Summary: %{summary} @@ -125,7 +126,7 @@ This package contains library source intended for building other packages which use "xft" feature of "%{crate}" crate. %files -n %{name}+xft-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xinerama-devel Summary: %{summary} @@ -138,7 +139,7 @@ This package contains library source intended for building other packages which use "xinerama" feature of "%{crate}" crate. %files -n %{name}+xinerama-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xinput-devel Summary: %{summary} @@ -151,7 +152,7 @@ This package contains library source intended for building other packages which use "xinput" feature of "%{crate}" crate. %files -n %{name}+xinput-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xlib-devel Summary: %{summary} @@ -164,7 +165,7 @@ This package contains library source intended for building other packages which use "xlib" feature of "%{crate}" crate. %files -n %{name}+xlib-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xlib_xcb-devel Summary: %{summary} @@ -177,7 +178,7 @@ This package contains library source intended for building other packages which use "xlib_xcb" feature of "%{crate}" crate. %files -n %{name}+xlib_xcb-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xmu-devel Summary: %{summary} @@ -190,7 +191,7 @@ This package contains library source intended for building other packages which use "xmu" feature of "%{crate}" crate. %files -n %{name}+xmu-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xrandr-devel Summary: %{summary} @@ -203,7 +204,7 @@ This package contains library source intended for building other packages which use "xrandr" feature of "%{crate}" crate. %files -n %{name}+xrandr-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xrecord-devel Summary: %{summary} @@ -215,7 +216,7 @@ This package contains library source intended for building other packages which use "xrecord" feature of "%{crate}" crate. %files -n %{name}+xrecord-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xrender-devel Summary: %{summary} @@ -228,7 +229,7 @@ This package contains library source intended for building other packages which use "xrender" feature of "%{crate}" crate. %files -n %{name}+xrender-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xss-devel Summary: %{summary} @@ -241,7 +242,7 @@ This package contains library source intended for building other packages which use "xss" feature of "%{crate}" crate. %files -n %{name}+xss-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xt-devel Summary: %{summary} @@ -254,7 +255,7 @@ This package contains library source intended for building other packages which use "xt" feature of "%{crate}" crate. %files -n %{name}+xt-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xtest-devel Summary: %{summary} @@ -266,7 +267,7 @@ This package contains library source intended for building other packages which use "xtest" feature of "%{crate}" crate. %files -n %{name}+xtest-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+xtst-devel Summary: %{summary} @@ -279,12 +280,15 @@ This package contains library source intended for building other packages which use "xtst" feature of "%{crate}" crate. %files -n %{name}+xtst-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 @@ -297,6 +301,9 @@ which use "xtst" feature of "%{crate}" crate. %endif %changelog +* Mon Jan 27 2020 Josh Stone - 2.18.2-1 +- Update to 2.18.2 + * Fri Jul 26 2019 Fedora Release Engineering - 2.18.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 485fcdd..1cee84d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (x11-2.18.1.crate) = 67d059b6c164dd29144079cb0f5df277233fa0eb354b52d2507f9e7ebf750012b0f94d9ee4181a7b07438ade1ff74ffb78602174364a92e20758016887a10894 +SHA512 (x11-2.18.2.crate) = fecaff0e52e4b106ebd74aa60356547d582d42d7505a9ceda44c827e19478f02f2b4a832b4a8e82af2a005da4e83c4ca018346d2b3a370ed3ca1e6ea280a6824