diff --git a/.gitignore b/.gitignore index 1dfd8d1..b46b7ca 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /pest_meta-2.7.1.crate /pest_meta-2.7.2.crate /pest_meta-2.7.3.crate +/pest_meta-2.7.6.crate diff --git a/pest_meta-fix-metadata.diff b/pest_meta-fix-metadata.diff index 1389d3f..137b0d3 100644 --- a/pest_meta-fix-metadata.diff +++ b/pest_meta-fix-metadata.diff @@ -1,8 +1,8 @@ ---- pest_meta-2.7.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ pest_meta-2.7.3/Cargo.toml 2023-09-19T21:18:09.229604+00:00 +--- pest_meta-2.7.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ pest_meta-2.7.6/Cargo.toml 2024-01-13T21:39:39.862058+00:00 @@ -43,10 +43,6 @@ [dependencies.pest] - version = "2.7.3" + version = "2.7.6" -[build-dependencies.cargo] -version = "0.72.2" diff --git a/rust-pest_meta.spec b/rust-pest_meta.spec index c8fbb5a..d722458 100644 --- a/rust-pest_meta.spec +++ b/rust-pest_meta.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * test grammars are not included in published crates %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate pest_meta Name: rust-pest_meta -Version: 2.7.3 +Version: 2.7.6 Release: %autorelease Summary: Pest meta language parser and validator @@ -17,7 +17,7 @@ Source: %{crates_source} # * drop feature and dependencies for bootstrap build mode Patch: pest_meta-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Pest meta language parser and validator.} @@ -64,7 +64,7 @@ use the "grammar-extras" 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..5553fe7 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["test grammars are not included in published crates"] + diff --git a/sources b/sources index 9f5e7d6..0178b93 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pest_meta-2.7.3.crate) = 14a8cc683198616f109b52bf4d21d7f0913a2020815a0d62a033629c8c2c4e20ea524d09fb09144d523fba50852a23b3d6df4cd798c0c82e4e66dd557f12d374 +SHA512 (pest_meta-2.7.6.crate) = 5f423c587723256b87a64e795622b41ed756d51b441ef9954d0a5f7ce454a903405a9617174291f37f6098e2cbc2c00587fea60380b6efad35ee79479aa0c7cf