diff --git a/.gitignore b/.gitignore index 600d73f..3591ead 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /serde_with_macros-1.3.0.crate /serde_with_macros-1.4.1.crate /serde_with_macros-1.5.1.crate +/serde_with_macros-1.5.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index 4489976..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-serde_with_macros - -The rust-serde_with_macros package \ No newline at end of file diff --git a/rust-serde_with_macros.spec b/rust-serde_with_macros.spec index 9ba9754..ae49a8c 100644 --- a/rust-serde_with_macros.spec +++ b/rust-serde_with_macros.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate serde_with_macros -Name: rust-%{crate} -Version: 1.5.1 +Name: rust-serde_with_macros +Version: 1.5.2 Release: %autorelease Summary: Proc-macro library for serde_with -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/serde_with_macros Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Proc-macro library for serde_with.} @@ -33,9 +30,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +46,7 @@ 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 0fbc618..3721283 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serde_with_macros-1.5.1.crate) = 5999031ec8973f9fa51ebb2920737d9ca043de87ec3ac475d98e0317edcbf673e1b48213edca8338cb80904366f8fd587fc94b1e571bcd773e85bfa21f67a9bd +SHA512 (serde_with_macros-1.5.2.crate) = 4619ce9f35b7659f5641eb3b3891910a7780c76911968b53cdae9fc6b03ca66643157707c67f6ac5d16f657d7f3332671430e828d111d7fc8968683523b93fba