diff --git a/.gitignore b/.gitignore index 14239ea..c26a83d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /enumset_derive-0.5.1.crate /enumset_derive-0.5.4.crate /enumset_derive-0.8.1.crate +/enumset_derive-0.10.0.crate diff --git a/rust-enumset_derive.spec b/rust-enumset_derive.spec index 5c4c31c..a9d4dbb 100644 --- a/rust-enumset_derive.spec +++ b/rust-enumset_derive.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate enumset_derive Name: rust-enumset_derive -Version: 0.8.1 +Version: 0.10.0 Release: %autorelease Summary: Internal helper crate for enumset @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/enumset_derive Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An internal helper crate for enumset. Not public API.} @@ -72,8 +72,20 @@ use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+std_deprecation_warning-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std_deprecation_warning-devel %{_description} + +This package contains library source intended for building other packages which +use the "std_deprecation_warning" feature of the "%{crate}" crate. + +%files -n %{name}+std_deprecation_warning-devel +%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/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 7e1a745..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Internal helper crate for enumset diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..fab0170 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Internal helper crate for enumset" + diff --git a/sources b/sources index d137891..839f03d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (enumset_derive-0.8.1.crate) = 9ff87a0a5dbee945b58987f9d26200efa5e8d5c085ceda6e44ff9cc1b05bd903cdda632e459b26415e7e2195af79aa51b8e95fb9ee7917fc74a6102f220e5148 +SHA512 (enumset_derive-0.10.0.crate) = 614f117894761550be7984b8136542624d9862589e9edeaa7768f187f3be918d857dccea0d40c308f7905c7fe540e42b3e0bbbf9cff97d661526d472da4cfa0a