diff --git a/.gitignore b/.gitignore index 87641b5..31b1935 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /goblin-0.5.4.crate /goblin-0.6.1.crate /goblin-0.7.1.crate +/goblin-0.8.0.crate diff --git a/rust-goblin.spec b/rust-goblin.spec index 0bd785a..89204d1 100644 --- a/rust-goblin.spec +++ b/rust-goblin.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * files that are required for unit tests are not included in published crates %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate goblin Name: rust-goblin -Version: 0.7.1 +Version: 0.8.0 Release: %autorelease Summary: Impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate @@ -14,7 +14,7 @@ License: MIT URL: https://crates.io/crates/goblin Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An impish, cross-platform, ELF, Mach-o, and PE binary parsing and @@ -182,7 +182,7 @@ use the "std" 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..25d130c --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["files that are required for unit tests are not included in published crates"] + diff --git a/sources b/sources index 0c81bfc..dace5eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (goblin-0.7.1.crate) = 4505573c29ee5775b2904b79c63a79cae7c6e3120dad68319152636fcbcd4b3d58a5a0a6d639bc34a43cd12e0e46a986086c88dcd59c2a743b2ea2bee0f16e91 +SHA512 (goblin-0.8.0.crate) = e6334edbe8589b8ef11012588bd4c28db756aa591c3523d2868c20843211622afdee9cfb1f953212ee8b6563a6fd2f330f026f74b7a20486bd297cc2c25f6de8