Compare commits

..

1 commit

Author SHA1 Message Date
Tom Rix
e175041423 Update source to 6.69
Signed-off-by: Tom Rix <trix@redhat.com>
2023-03-03 18:15:28 -08:00
3 changed files with 40 additions and 33 deletions

11
.gitignore vendored
View file

@ -1,13 +1,2 @@
/v6.63.tar.gz
/v6.69.tar.gz
/v6.73.tar.gz
/v7.05.1.tar.gz
/v7.07.tar.gz
/v7.07.1.tar.gz
/v7.20.tar.gz
/v7.20.1.tar.gz
/v7.21.tar.gz
/v7.22.tar.gz
/v7.23.tar.gz
/v7.24.1.tar.gz
/v7.24.2.tar.gz

View file

@ -1 +1 @@
SHA512 (v7.24.2.tar.gz) = d8bcf248b4506f09ee70431f6c38d0d2eb7c3dfa110cbe700e7ae689e0a640f77ec337aeafda93d0f4fd7e9139a8e46dbf1cb99dd4a576667d71b05992a618b8
SHA512 (v6.69.tar.gz) = c202e5c3688c4dc8cd26d4371c511ffc0fd0885c4d31a6a5fa955c39ae6fcc98f5f0ac2b88c087e10b71b24a91c0e7f082683cd6be67c29a19170723d966a585

View file

@ -1,26 +1,26 @@
%global debug_package %{nil}
Summary: A C++ JIT assembler for x86
Name: xbyak
License: BSD-3-Clause
Version: 7.24.2
Release: %autorelease
Version: 6.69
Release: 1%{?dist}
URL: https://github.com/herumi/xbyak
Source0: %{url}/archive/v%{version}.tar.gz
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
# exception testing of allocator gets hung up on glibc double free check
Patch0: xbyak-disable-noexecption-test3.patch
Group: Development/Libraries
BuildArch: noarch
ExclusiveArch: x86_64
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: sed
%bcond_with check
%if %{with check}
# check
BuildRequires: gcc-c++
# -m32
BuildRequires: glibc-devel(x86-32), libstdc++(x86-32)
BuildRequires: nasm, yasm
@ -47,18 +47,22 @@ It is named from a Japanese word 開闢, which means the beginning
of the world.
%prep
%autosetup -p1
%setup -q
%patch0 -p1
%build
%cmake
%cmake_build
# nothing to build
%install
%cmake_install
mkdir -p %{buildroot}%{_datadir}/xbyak
cp COPYRIGHT %{buildroot}%{_datadir}/xbyak/
cp readme.* %{buildroot}%{_datadir}/xbyak/
cp doc/*.md %{buildroot}%{_datadir}/xbyak/
# fix dos lines
sed -i 's/\r$//' %{buildroot}%{_datadir}/xbyak/readme.txt
cp -r sample %{buildroot}%{_datadir}/xbyak/
# Install samples
mkdir -p %{buildroot}%{_datadir}/xbyak/
cp -pr sample %{buildroot}%{_datadir}/xbyak/
%make_install PREFIX=%{buildroot}/usr
%if %{with check}
%check
@ -66,12 +70,26 @@ make test
%endif
%files devel
%license COPYRIGHT
%doc readme.md doc/changelog.md doc/usage.md
%doc %lang(jp) readme.txt
%{_datadir}/%{name}/
%{_includedir}/%{name}/
%{_libdir}/cmake/%{name}/
%dir %{_datadir}/xbyak
%dir %{_includedir}/xbyak
%license %{_datadir}/xbyak/COPYRIGHT
%doc %{_datadir}/xbyak/readme.txt
%doc %{_datadir}/xbyak/*.md
%{_datadir}/xbyak/sample/
%{_includedir}/xbyak/*.h
%changelog
%autochangelog
* Fri Mar 3 2023 Tom Rix <trix@redhat.com> - 6.69-1
- Update source
* Thu Oct 27 2022 Tom Rix <trix@redhat.com> - 6.63-3
- Make check optional
* Mon Oct 24 2022 Tom Rix <trix@redhat.com> - 6.63-2
- Add tests, samples
- Change license to BSD-3-Clause
- Check directory ownership
- Package as static library
* Fri Oct 21 2022 Tom Rix <trix@redhat.com> - 6.63-1
- Initial release