diff --git a/rust-pleaser.spec b/rust-pleaser.spec index 9a181bb..f07a745 100644 --- a/rust-pleaser.spec +++ b/rust-pleaser.spec @@ -4,7 +4,7 @@ %global __cargo_skip_build 0 %global crate pleaser -%if 0%{?el8} +%if 0%{?el9} # disabling this as it chokes on the vendored dependencies %undefine __brp_mangle_shebangs # el8 doesn't have these macros @@ -25,7 +25,7 @@ URL: https://crates.io/crates/pleaser Source0: %{crates_source} Source1: %{crate}-%{version}-vendor.tar.gz -%if ! 0%{?el8} +%if ! 0%{?el9} # Patch nix dependency to >= 0.19 as upstream bumped Patch0: pleaser-fix-metadata.diff %endif @@ -35,7 +35,7 @@ ExclusiveArch: %{rust_arches} BuildArch: noarch %endif -%if 0%{?el8} +%if 0%{?el9} BuildRequires: rust-toolset BuildRequires: sed BuildRequires: pam-devel @@ -78,7 +78,7 @@ which use "%{crate}" crate. %doc README.md %license LICENSE -%if ! 0%{?el8} +%if ! 0%{?el9} %{cargo_registry}/%{crate}-%{version_no_tilde}/ %endif @@ -92,13 +92,13 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%if ! 0%{?el8} +%if ! 0%{?el9} %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %endif %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 -%if 0%{?el8} +%if 0%{?el9} %cargo_prep -V 1 %ifarch s390x # drop opt-level generation to fix s390x OOM problems @@ -151,8 +151,8 @@ EOF %endif %changelog -* Mon Nov 23 2021 ed neville - 0.5.0-1 -- EPEL8 sections +* Tue Nov 23 2021 ed neville - 0.5.0-1 +- EPEL9 sections * Fri Jul 23 2021 Fedora Release Engineering - 0.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild