@@ 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 <dominik@wombacher.cc> - 0.4.2-1
+* Thu Jun 06 2024 Dominik Wombacher <dominik@wombacher.cc> - 0.4.2-1
- update to 0.4.2
* Wed Feb 02 2022 David Duncan <davdunc@amazon.com> - 0.2.7-2