diff --git a/.gitignore b/.gitignore index e437db5..71aafcc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /document-features-0.2.7.crate +/document-features-0.2.8.crate diff --git a/document-features-fix-metadata.diff b/document-features-fix-metadata.diff deleted file mode 100644 index 401c886..0000000 --- a/document-features-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- document-features-0.2.7/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ document-features-0.2.7/Cargo.toml 2023-09-09T17:32:50.349542+00:00 -@@ -32,7 +32,7 @@ - proc-macro = true - - [dependencies.litrs] --version = "0.2.3" -+version = "0.4" - default-features = false - - [features] diff --git a/rust-document-features.spec b/rust-document-features.spec index d9c67e2..4858f5e 100644 --- a/rust-document-features.spec +++ b/rust-document-features.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * self-tests do not work with munged Cargo.toml from published crates %bcond_with check %global debug_package %{nil} @@ -6,18 +6,15 @@ %global crate document-features Name: rust-document-features -Version: 0.2.7 +Version: 0.2.8 Release: %autorelease Summary: Extract documentation for the feature flags from comments in Cargo.toml License: MIT OR Apache-2.0 URL: https://crates.io/crates/document-features Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * bump litrs dependency from 0.2 to 0.4 -Patch: document-features-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Extract documentation for the feature flags from comments in Cargo.toml.} @@ -65,7 +62,7 @@ use the "self-test" 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/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..e74eeb8 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["self-tests do not work with munged Cargo.toml from published crates"] + diff --git a/sources b/sources index dde2127..8375e79 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (document-features-0.2.7.crate) = 5b90343a90debf64e92df17afb4a8eb1aec3b18737086c16f66d8ac47e50c18d20d86c4d8fe5af6c0156e87ed1537963af4535255691c69b613d5fc536e7f821 +SHA512 (document-features-0.2.8.crate) = 7d564698eca8d20ae66f533071b8ac27243889eb41fc419e929280aa54f508398924456e6f63cc174aef9f2df294b56d6ffdb3064ae7b68583ff1f3790dd03f6