diff --git a/.gitignore b/.gitignore index 70b6ec7..5005d4a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /ouroboros_macro-0.11.1.crate /ouroboros_macro-0.12.0.crate /ouroboros_macro-0.13.0.crate +/ouroboros_macro-0.15.0.crate diff --git a/rust-ouroboros_macro.spec b/rust-ouroboros_macro.spec index ecf4af8..1ba0eef 100644 --- a/rust-ouroboros_macro.spec +++ b/rust-ouroboros_macro.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate ouroboros_macro Name: rust-%{crate} -Version: 0.13.0 +Version: 0.15.0 Release: %autorelease Summary: Proc macro for ouroboros crate @@ -15,11 +15,8 @@ URL: https://crates.io/crates/ouroboros_macro Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Proc macro for ouroboros crate.} @@ -32,11 +29,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +# FIXME: no license files detected +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -44,11 +42,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index a49ed08..1ce24ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ouroboros_macro-0.13.0.crate) = 976a548c0691f04f797f10a89da2ac4e1d84efca2876308a9b69d8513bfcfcbd5e07cdb62584b80ba83d5839e14b072bf331ecbd1c20fd65e1c2d731f947ce05 +SHA512 (ouroboros_macro-0.15.0.crate) = 78003e89f1a062957d66261474392b32d67a75ab1933b2dadf9c6a8c8ecd29d184ef4a1f25cadd7e1afb23aa58dacf69ca6969c327405be5dc97b8fbc09568ae