diff --git a/.gitignore b/.gitignore index d91f155..8343b1e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /build-context-0.1.1.crate +/build-context-0.1.2.crate diff --git a/rust-build-context.spec b/rust-build-context.spec index 642b59d..7af751c 100644 --- a/rust-build-context.spec +++ b/rust-build-context.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate build-context Name: rust-build-context -Version: 0.1.1 +Version: 0.1.2 Release: %autorelease Summary: Make build environment/target information available as constants @@ -13,7 +13,7 @@ License: Apache-2.0 OR MIT URL: https://crates.io/crates/build-context Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Make build environment/target information available as constants in @@ -50,7 +50,7 @@ use the "default" 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.conf b/rust2rpm.conf deleted file mode 100644 index 300190f..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Make build environment/target information available as constants diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..8b588df --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Make build environment/target information available as constants" + diff --git a/sources b/sources index f7cccaa..33f1040 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (build-context-0.1.1.crate) = d52435f679896016dbc943fcae2cc4f3851bc705a2be67498df8419dd5f91dc97545bed884e4bbe35f1d82af3be58fb3e6eeaea98483c040bcd506bd14fd8b65 +SHA512 (build-context-0.1.2.crate) = 52928755258e87a2ace7cd8e3a4c8b68bb2eed586749560d331971d101dbb56b4954e6d91c72f5a108e21ace7cca592533b3489be1045da574c00aacb85ddb8b