diff --git a/.gitignore b/.gitignore index 2bf7c6e..02abfb7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /ptr_meta_derive-0.1.4.crate +/ptr_meta_derive-0.3.0.crate diff --git a/rust-ptr_meta_derive.spec b/rust-ptr_meta_derive.spec index b3c9882..50a7324 100644 --- a/rust-ptr_meta_derive.spec +++ b/rust-ptr_meta_derive.spec @@ -1,22 +1,22 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate ptr_meta_derive Name: rust-ptr_meta_derive -Version: 0.1.4 +Version: 0.3.0 Release: %autorelease -Summary: Macros for ptr_meta +Summary: Proc macros for ptr_meta License: MIT URL: https://crates.io/crates/ptr_meta_derive Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: -Macros for ptr_meta.} +Proc macros for ptr_meta.} %description %{_description} @@ -31,6 +31,7 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel @@ -46,7 +47,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 91ec5e2..5d9c9ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ptr_meta_derive-0.1.4.crate) = 15a72b2c36e9d1761c4dd42cee1623c2d85c52eadc3c3102c8334c14c9c5db9a43d74dbbab1d14a2600d789917fcb5bc2652877b172aaa02c37a6868462ff20e +SHA512 (ptr_meta_derive-0.3.0.crate) = 58d486fbc501bed17445c44d1c13f0941dd7a66f5b731030afec2de63adcd1dc9f86d89bc611830f1355768658d6b61b2942c7964b2b9bd193bada044e17e442