Compare commits

..

5 commits

Author SHA1 Message Date
topazus
4d596b21f7 disable test on i686 2025-10-02 01:35:50 +08:00
Zephyr Lykos
a6b7bd6988
Update to snapshot 5091440c2a1f963e00c6e6aceec7c4346e656fa4 2025-09-28 14:04:50 +08:00
Fedora Release Engineering
a27c49a3ed Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:22:10 +00:00
Packit
f315b2356d Update to 4.1.1 upstream release
- Resolves: rhbz#2264564

Upstream tag: v4.1.1
Upstream commit: a2278f1d

Commit authored by Packit automation (https://packit.dev/)
2025-02-16 00:40:34 +00:00
Fedora Release Engineering
f503b24052 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:55:05 +00:00
4 changed files with 31 additions and 26 deletions

3
.gitignore vendored
View file

@ -1,2 +1 @@
/zydis-4.0.0.tar.gz
/zydis-4.1.0.tar.gz
/zydis-*.tar*

3
README.packit Normal file
View file

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.1.0.post1.dev2+gf7b527d0.

View file

@ -1 +1 @@
SHA512 (zydis-4.1.0.tar.gz) = e07add4d43768ded02a238911fde6e74d2391abf8df282f774fca1a8c3fca3e97b03e90e0f3c7c0f3c75485fb29c0be4071d5e5b2e23dd5b8b1a864e3b713fbc
SHA512 (zydis-5091440c2a1f963e00c6e6aceec7c4346e656fa4.tar.gz) = 8ee8a5c53828d3652be4a2b7ce7a25e557248828b053a371844faab5cf74ae7a34f5f432c768d593defcfc051333d5d24e742c3083051f711873d2ba39af4e21

View file

@ -1,23 +1,27 @@
Version: 4.1.0
%global sover %{echo %{version} | cut -d '.' -f 1,2}
Name: zydis
Version: 5.0.0
%global forgeurl https://github.com/zyantific/zydis
%global commit 5091440c2a1f963e00c6e6aceec7c4346e656fa4
%forgemeta
Release: %autorelease
Summary: Fast and lightweight x86/x86-64 disassembler and code generation library
License: MIT
URL: https://github.com/zyantific/zydis
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
URL: %forgeurl
Source0: %forgesource
ExcludeArch: s390x
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: ninja-build
BuildRequires: zycore-c-devel
BuildRequires: gcc
BuildRequires: meson >= 1.3
BuildRequires: pkgconfig(zycore)
BuildRequires: doxygen
# build man pages
BuildRequires: rubygem-ronn-ng
# tests
BuildRequires: python3
%description
Zydis is fast and lightweight x86/x86-64 disassembler and code generation
@ -56,34 +60,33 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The %{name}-tools package contains tools about %{name}.
%prep
%autosetup -p1
%forgesetup
%build
%cmake \
-GNinja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DZYAN_SYSTEM_ZYCORE=ON \
-DZYDIS_BUILD_SHARED_LIB=ON \
-DZYDIS_BUILD_MAN=ON \
-DZYDIS_BUILD_TESTS=ON \
%meson \
-Dtools=enabled \
-Dman=enabled \
-Ddoc=enabled \
-Dtests=enabled \
%cmake_build
%meson_build
%install
%cmake_install
%meson_install
%check
%ctest
%ifnarch %{ix86}
%meson_test
%endif
%files
%license LICENSE
%{_libdir}/libZydis.so.%{sover}*
%{_libdir}/libZydis.so.5*
%files devel
%doc README.md
%{_includedir}/Zydis/
%dir %{_libdir}/cmake/zydis
%{_libdir}/cmake/zydis/*.cmake
%{_libdir}/pkgconfig/zydis.pc
%{_libdir}/libZydis.so
%files doc