diff --git a/hercules.spec b/hercules.spec index 1b5a9df..a0ef2dc 100644 --- a/hercules.spec +++ b/hercules.spec @@ -1,11 +1,11 @@ Summary: Hercules S/370, ESA/390, and z/Architecture emulator Name: hercules Version: 3.13 -Release: 16%{?dist} -License: QPL +Release: 21%{?dist} +# Automatically converted from old format: QPL - review is highly recommended. +License: QPL-1.0 URL: http://www.hercules-390.eu/ Source0: http://downloads.hercules-390.eu/%{name}-%{version}.tar.gz -#Source0: https://github.com/rbowler/spinhawk/archive/%{version}.tar.gz Source1: hercules.cnf Source2: hercules-run Source3: README-rpm @@ -18,7 +18,11 @@ BuildRequires: libcap-devel BuildRequires: libtool BuildRequires: libtool-ltdl-devel BuildRequires: make +Conflicts: sdl-hercules +Conflicts: sdl-hercules-data +# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: %{ix86} %description Hercules is an emulator for the IBM System/370, ESA/390, and z/Architecture @@ -30,11 +34,10 @@ printer-keyboard, 3270 terminal, and 3287 printer devices. %prep -#%setup -q -n spinhawk-%{version} %setup -q -%patch0 -p1 -b .fedora -%patch1 -p1 +%patch -P0 -p1 -b .fedora +%patch -P1 -p1 rm autoconf/libtool.m4 autoreconf -f -i @@ -51,7 +54,7 @@ rm util/Makefile* %build %configure \ --enable-external-gui \ - --enable-optimization="%{optflags}" + --enable-optimization="%{optflags} -std=gnu17" make %{?_smp_mflags} V=1 @@ -88,17 +91,43 @@ rm %{buildroot}%{_libdir}/*.la %dir %{_sysconfdir}/hercules/ %attr(0644, root, root) %config(noreplace) %{_sysconfdir}/hercules/hercules.cnf %attr(0644, root, root) %config(noreplace) %{_sysconfdir}/hercules/generic.prm -%{_bindir}/* -%{_sbindir}/* +%{_bindir}/cckd* +%{_bindir}/cfba* +%{_bindir}/ckd* +%{_bindir}/dasd* +%{_bindir}/dmap* +%{_bindir}/fba* +%{_bindir}/herc* +%{_bindir}/het* +%{_bindir}/tape* %{_datadir}/hercules/ %dir %{_libdir}/hercules/ %{_libdir}/hercules/*.so -%{_libdir}/*.so +%{_libdir}/libherc*.so +%{_libdir}/libdecNumber.so +%{_libdir}/libsoftfloat.so %{_mandir}/man?/* %dir %{_sharedstatedir}/hercules/ %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 3.13-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Mon Jan 20 2025 Fedora Release Engineering - 3.13-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Jan 01 2025 Davide Cavalca - 3.13-19 +- Conflict with the sdl-hercules packages +- Drop old comments that trigger a FTBFS due to macro expansion + Fixes: RHBZ#2300839 + +* Wed Aug 07 2024 Miroslav Suchý - 3.13-18 +- convert license to SPDX + +* Thu Jul 18 2024 Fedora Release Engineering - 3.13-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jan 24 2024 Fedora Release Engineering - 3.13-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild