diff --git a/udis86.spec b/udis86.spec index 4c91e18..df521dd 100644 --- a/udis86.spec +++ b/udis86.spec @@ -2,10 +2,10 @@ Name: udis86 Version: 1.7.2 -Release: 31.%{gitrev}%{?dist} +Release: 17.%{gitrev}%{?dist} Summary: A disassembler library for x86 and x86-64 -License: BSD-2-Clause +License: BSD URL: https://github.com/vmt/udis86 Source0: %{name}-%{gitrev}.tar.xz Patch0: udis86-ud_opcode.patch @@ -13,9 +13,10 @@ Patch1: udis86-symresolve.patch Patch2: udis86-ax_prog_sphinx_version.patch Patch3: udis86-docs_manual_Makefile.am.patch -BuildRequires: make +BuildRequires: make BuildRequires: libtool BuildRequires: python +BuildRequires: yasm BuildRequires: python3-sphinx %description @@ -33,10 +34,10 @@ developing applications that use %{name}. %prep %setup -q -n %{name}-%{gitrev} -%patch -P0 -p1 -b .ud_opcode -%patch -P1 -p1 -b .symresolve -%patch -P2 -p1 -b .origm4 -%patch -P3 -p1 -b .automake +%patch0 -p1 -b .ud_opcode +%patch1 -p1 -b .symresolve +%patch2 -p1 -b .origm4 +%patch3 -p1 -b .automake find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; %build @@ -45,7 +46,7 @@ find '(' -name '*.c' -or -name '*.h' ')' -exec chmod 644 {} \; --enable-shared \ --disable-silent-rules \ --with-python=%{_bindir}/python3 \ - --without-yasm \ + --with-yasm=%{_bindir}/yasm \ --with-sphinx-build=%{_bindir}/sphinx-build-3 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -74,48 +75,6 @@ rm -rf %{buildroot}%{_docdir} %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 1.7.2-31.56ff6c8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Tue Jan 20 2026 Fedora Release Engineering - 1.7.2-30.56ff6c8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Wed Aug 27 2025 David Cantrell - 1.7.2-29.56ff6c8 -- Drop nasm dependency; build udis86 without yasm or nasm (#2390545) - -* Tue Aug 26 2025 David Cantrell - 1.7.2-28.56ff6c8 -- Drop yasm build requirement and replace with nasm (#2390545) - -* Fri Jul 25 2025 Fedora Release Engineering - 1.7.2-27.56ff6c8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun Jan 19 2025 Fedora Release Engineering - 1.7.2-26.56ff6c8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sat Jul 20 2024 Fedora Release Engineering - 1.7.2-25.56ff6c8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 1.7.2-24.56ff6c8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 1.7.2-23.56ff6c8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jan 21 2023 Fedora Release Engineering - 1.7.2-22.56ff6c8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Tue Jan 03 2023 David Cantrell - 1.7.2-21.56ff6c8 -- Change License to BSD-2-Clause (SPDX expression) - -* Sat Jul 23 2022 Fedora Release Engineering - 1.7.2-20.56ff6c8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 1.7.2-19.56ff6c8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 1.7.2-18.56ff6c8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - * Wed Jan 27 2021 Fedora Release Engineering - 1.7.2-17.56ff6c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild