From 0a1358dce62edacf064bbe3fedb223fab5182b17 Mon Sep 17 00:00:00 2001
From: Lokesh Mandvekar <lsm5@redhat.com>
Date: Mon, 8 Jul 2024 14:42:40 -0400
Subject: [PATCH] [skip-ci] RPM: spec file cleanup

All our supported distros except CentOS Stream 9 support autochangelog
and we currently build rpms for CentOS Stream 9 only on the podman-next
copr, where we don't really care much about changelog.

So, there's no need for this conditional to exist.

Podman Ref: https://github.com/containers/podman/pull/23110

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
---
 rpm/skopeo.spec | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/rpm/skopeo.spec b/rpm/skopeo.spec
index fdd7580824..ed091443c5 100644
--- a/rpm/skopeo.spec
+++ b/rpm/skopeo.spec
@@ -164,12 +164,4 @@ cp -pav systemtest/* %{buildroot}/%{_datadir}/%{name}/test/system/
 %{_datadir}/%{name}/test
 
 %changelog
-%if %{defined autochangelog}
 %autochangelog
-%else
-# NOTE: This changelog will be visible on CentOS 8 Stream builds
-# Other envs are capable of handling autochangelog
-* Tue Jun 13 2023 RH Container Bot <rhcontainerbot@fedoraproject.org>
-- Placeholder changelog for envs that are not autochangelog-ready.
-- Contact upstream if you need to report an issue with the build.
-%endif