Compare commits

..

10 commits

Author SHA1 Message Date
Michal Schorm
6436ea0d41 Remove stale 'xmlto' BuildRequires
Man pages are pre-built in the upstream tarball. This is a
deprecated package with no active upstream development; the
pre-built fallback has always been used.

Related: rhbz#2503124

Co-Authored-By: Claude AI <noreply@anthropic.com>
2026-07-21 07:40:31 +02:00
Fedora Release Engineering
c40a92166a Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:33:29 +00:00
Fedora Release Engineering
f82403071f Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 21:01:04 +00:00
Dominik 'Rathann' Mierzejewski
d98338a829 mark as deprecated
See https://fedoraproject.org/wiki/Changes/DeprecateYASM .
2025-08-07 13:04:45 +02:00
Fedora Release Engineering
10393557a4 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:11:11 +00:00
Cristian Le
bdb774a7e8
Remove tmt tests and gating
The `make check` is already running inside the spec file

Signed-off-by: Cristian Le <git@lecris.dev>
2025-02-16 15:09:26 +01:00
Dan Horák
0715b8b7a2 fix tmt metadata 2025-02-16 14:01:57 +01:00
Dominik 'Rathann' Mierzejewski
d106c56ecf update to git 121ab15 2025-02-15 23:56:54 +01:00
Dominik 'Rathann' Mierzejewski
eb9e565497 fix build with GCC 15 2025-02-15 22:59:29 +01:00
Fedora Release Engineering
96223e6827 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:31:37 +00:00
7 changed files with 36 additions and 105 deletions

View file

@ -1 +0,0 @@
1

View file

@ -1,19 +0,0 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View file

@ -1,6 +0,0 @@
summary: CI Gating Plan
discover:
how: fmf
directory: tests
execute:
how: beakerlib

View file

@ -1,17 +0,0 @@
summary: testsuite
description: ''
contact: Martin Cermak <mcermak@redhat.com>
component:
- yasm
test: ./runtest.sh
framework: beakerlib
recommend:
- yasm
- bison
- byacc
- gettext-devel
- xmlto
- rpm-build
duration: 48h
extra-summary: /tools/yasm/Regression/testsuite
extra-task: /tools/yasm/Regression/testsuite

View file

@ -1,59 +0,0 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh of /tools/yasm/Regression/testsuite
# Description: testsuite
# Author: Martin Cermak <mcermak@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2019 Red Hat, Inc.
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="yasm"
rlJournalStart
rlPhaseStartSetup
rlAssertRpm $PACKAGE
rlRun "TMP=\$(mktemp -d)"
rlRun "pushd $TMP"
rlFetchSrcForInstalled $PACKAGE
rlRun "dnf builddep -y *src.rpm --nobest"
rlRun "rpm --define='_topdir $TMP' -Uvh *src.rpm"
rlRun "rpmbuild --define='_topdir $TMP' -bc SPECS/yasm.spec"
rlRun "pushd BUILD/yasm-*"
rlPhaseEnd
rlPhaseStartTest
rlRun "make check |& tee test.log"
rlRun "PASS=$(awk '/# PASS:/ {print $3}' test.log)"
rlRun "FAIL=$(awk '/# FAIL:/ {print $3}' test.log)"
rlRun "test $PASS -ge 44"
rlRun "test $FAIL -eq 0"
rlPhaseEnd
rlPhaseStartCleanup
rlRun "popd; popd"
rlRun "rm -r $TMP"
rlPhaseEnd
rlJournalPrintText
rlJournalEnd

15
yasm-gcc15.patch Normal file
View file

@ -0,0 +1,15 @@
diff -up yasm-9defefae9fbcb6958cddbfa778c1ea8605da8b8b/libyasm/bitvect.h.gcc15 yasm-9defefae9fbcb6958cddbfa778c1ea8605da8b8b/libyasm/bitvect.h
--- yasm-9defefae9fbcb6958cddbfa778c1ea8605da8b8b/libyasm/bitvect.h.gcc15 2023-09-22 07:21:20.000000000 +0200
+++ yasm-9defefae9fbcb6958cddbfa778c1ea8605da8b8b/libyasm/bitvect.h 2025-02-15 22:14:50.029332956 +0100
@@ -83,7 +83,11 @@ typedef Z_longword *Z_longwordp
#ifdef MACOS_TRADITIONAL
#define boolean Boolean
#else
+ #if __STDC_VERSION__ < 202311L
typedef enum boolean { false = FALSE, true = TRUE } boolean;
+ #else
+ typedef bool boolean;
+ #endif
#endif
#endif

View file

@ -6,7 +6,7 @@
Summary: Modular Assembler
Name: yasm
Version: 1.3.0^%{date}git%{shortcommit}
Release: 1%{?dist}
Release: 5%{?dist}
# See COPYING for the detail, there is quite a lot!
# Bitvect is (GPL-1.0-or-later AND GPL-2.0-or-later OR Artistic-1.0-Perl OR LGPL-2.0-or-later
# Everything else is BSD. Either 2 or 3 clause.
@ -17,6 +17,8 @@ URL: http://yasm.tortall.net/
Source: https://github.com/yasm/yasm/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
# https://github.com/yasm/yasm/issues/270
Patch0: yasm-tests.patch
# https://github.com/yasm/yasm/issues/283
Patch1: yasm-gcc15.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: python3
@ -29,8 +31,8 @@ BuildRequires: gcc
BuildRequires: bison
BuildRequires: byacc
BuildRequires: gettext-devel
BuildRequires: xmlto
Provides: bundled(md5-plumb)
Provides: deprecated()
%description
Yasm is a complete rewrite of the NASM assembler under the "new" BSD License
@ -63,6 +65,7 @@ Install this package if you need to rebuild applications that use yasm.
%ifarch i686
%patch 0 -p1
%endif
%patch 1 -p1
autoreconf -I m4 -fiv
%else
%setup -q
@ -100,9 +103,24 @@ make check
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0^20250625git121ab15-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0^20250625git121ab15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Thu Aug 07 2025 Dominik Mierzejewski <dominik@greysector.net> - 1.3.0^20250625git121ab15-3
- mark as deprecated, see https://fedoraproject.org/wiki/Changes/DeprecateYASM
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0^20250625git121ab15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sat Feb 15 2025 Dominik Mierzejewski <dominik@greysector.net> - 1.3.0^20250625git121ab15-1
- update to git 121ab15
- fixes CVE-2024-22653 (resolves rhbz#2369457)
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0^20230922git9defefa-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
- fix build with GCC 15
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0^20230922git9defefa-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild