diff --git a/z88dk.spec b/z88dk.spec index e40b3ae..7ea05d0 100644 --- a/z88dk.spec +++ b/z88dk.spec @@ -1,13 +1,15 @@ %global nightly 20150709 +%global _legacy_common_support 1 Name: z88dk # We use post-release snapshot versioning, because the source code has no idea # what version it is supposed to be. (README.1st still claims to be from version # 1.9 when they already released 1.10 and 1.10.1.) Version: 1.10.1 -Release: 15%{?nightly:.%{nightly}cvs}%{?dist} +Release: 35%{?nightly:.%{nightly}cvs}%{?dist} Summary: A Z80 cross compiler -License: Artistic clarified +# Automatically converted from old format: Artistic clarified - review is highly recommended. +License: ClArtistic URL: http://www.z88dk.org/ %if 0%{?nightly} Source: http://nightly.z88dk.org/z88dk-%{nightly}.tgz @@ -17,6 +19,7 @@ Source: http://downloads.sourceforge.net/z88dk/z88dk-%{version}.tgz Patch0: z88dk-1.10-makefile-usr-share.patch Patch1: z88dk-1.10-64bit.patch Patch2: z88dk-1.10-makefile-flags.patch +BuildRequires: make BuildRequires: gcc BuildRequires: libxml2-devel BuildRequires: perl-generators @@ -32,11 +35,11 @@ calculators). %setup -q -n z88dk # Put files in %%{_datadir}/z88dk rather than /usr/lib/z88dk # Also support DESTDIR in install-libs -%patch0 -p1 +%patch -P0 -p1 # 64-bit fixes -%patch1 -p1 +%patch -P1 -p1 # Fix improper use of CFLAGS and LDFLAGS in the makefiles -%patch2 -p1 +%patch -P2 -p1 find . -depth -name CVS -type d -exec rm -rf {} \; # Separate manpages from other docs and fix their permissions mv doc/netman . @@ -49,7 +52,8 @@ find doc examples src -type f -exec chmod 644 {} \; export Z80_OZFILES=%{_builddir}/z88dk/lib/ export ZCCCFG=%{_builddir}/z88dk/lib/config/ export PATH=%{_builddir}/z88dk/bin:$PATH -export CC=gcc +%global build_type_safety_c 0 +export CC="gcc -std=gnu89" export CFLAGS="%{optflags}" %{?__global_ldflags:export LDFLAGS="%{__global_ldflags}"} # Note: do not use %%{?_smp_mflags} with make because the Makefiles don't support parallel builds @@ -87,6 +91,67 @@ cp -p netman/man3z/* %{buildroot}%{_mandir}/man3z %{_mandir}/man3z/ %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.10.1-35.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Sat Jan 17 2026 Fedora Release Engineering - 1.10.1-34.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 1.10.1-33.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sun Jan 19 2025 Fedora Release Engineering - 1.10.1-32.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Aug 7 2024 Miroslav Suchý - 1.10.1-31.20150709cvs +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering - 1.10.1-30.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 1.10.1-29.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Aug 31 2023 Florian Weimer - 1.10.1-2820150709:.%{nightly}cvs} +- Set build_type_safety_c to 0 (#2166990) + +* Sat Jul 22 2023 Fedora Release Engineering - 1.10.1-27.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Feb 3 2023 DJ Delorie - 1.10.1-26.20150709cvs +- Build in C89 mode (#2166990) + +* Sat Jan 21 2023 Fedora Release Engineering - 1.10.1-25.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 1.10.1-24.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 1.10.1-23.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.10.1-22.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jan 28 2021 Fedora Release Engineering - 1.10.1-21.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Aug 03 2020 Kevin Kofler - 1.10.1-20.20150709cvs +- enable common symbols to fix FTBFS (#1800290) + +* Sat Aug 01 2020 Fedora Release Engineering - 1.10.1-19.20150709cvs +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.10.1-18.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 1.10.1-17.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 1.10.1-16.20150709cvs +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 03 2019 Fedora Release Engineering - 1.10.1-15.20150709cvs - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild