From 5b3edec7b3e4f299366f6147153def81fad187cd Mon Sep 17 00:00:00 2001 From: Dominik Wombacher Date: Thu, 6 Jun 2024 21:07:48 +0000 Subject: [PATCH] feat: bump changelog entry date, drop unused Requires statements, exclude arch s390x --- aws-c-event-stream.spec | 36 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/aws-c-event-stream.spec b/aws-c-event-stream.spec index cdf07e0..cd91bc1 100755 --- a/aws-c-event-stream.spec +++ b/aws-c-event-stream.spec @@ -1,7 +1,10 @@ +%global _description %{expand: +C99 implementation of the vnd.amazon.eventstream content-type.} + Name: aws-c-event-stream Version: 0.4.2 Release: 1%{?dist} -Summary: C99 implementation of the vnd.amazon.eventstream content-type +Summary: %{_description} License: Apache-2.0 URL: https://github.com/awslabs/%{name} @@ -15,21 +18,14 @@ BuildRequires: aws-c-common-devel BuildRequires: aws-checksums-devel BuildRequires: aws-c-io-devel -Requires: openssl-libs -Requires: aws-c-common-libs -Requires: aws-checksums-libs -Requires: aws-c-io-libs - -%description -C99 implementation of the vnd.amazon.eventstream content-type - - -%package libs -Summary: C99 implementation of the vnd.amazon.eventstream content-type -Requires: %{name}%{?_isa} = %{version}-%{release} +# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: %{ix86} +# Dependencies like aws-c-common don't support and build on s390x +# Upstream issue: https://github.com/awslabs/aws-c-common/issues/1111 +# Fedora bugzilla ticket to be created after package review +ExcludeArch: s390x -%description libs -C99 implementation of the vnd.amazon.eventstream content-type +%description %{_description} %package devel @@ -38,10 +34,9 @@ Requires: openssl-devel Requires: aws-c-common-devel Requires: aws-checksums-devel Requires: aws-c-io-devel -Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} -%description devel -C99 implementation of the vnd.amazon.eventstream content-type +%description devel %{_description} %prep @@ -64,9 +59,6 @@ C99 implementation of the vnd.amazon.eventstream content-type %files %license LICENSE NOTICE %doc README.md - - -%files libs %{_libdir}/libaws-c-event-stream.so.1{,.*} @@ -82,7 +74,7 @@ C99 implementation of the vnd.amazon.eventstream content-type %changelog -* Fri May 03 2024 Dominik Wombacher - 0.4.2-1 +* Thu Jun 06 2024 Dominik Wombacher - 0.4.2-1 - update to 0.4.2 * Wed Feb 02 2022 David Duncan - 0.2.7-2 -- 2.45.2