diff --git a/capstone.spec b/capstone.spec index 188d34c..5d9ca1e 100644 --- a/capstone.spec +++ b/capstone.spec @@ -1,10 +1,10 @@ Name: capstone -Version: 5.0.6 -Release: %autorelease +Version: 5.0.1 +Release: 7%{?dist} Summary: A lightweight multi-platform, multi-architecture disassembly framework License: BSD-3-Clause AND BSD-4-Clause AND APSL-2.0 AND NCSA AND MIT URL: http://www.capstone-engine.org/ -VCS: git:https://github.com/capstone-engine/capstone/ +VCS: https://github.com/capstone-engine/capstone/ # https://github.com/capstone-engine/capstone/releases %global common_desc %{expand: @@ -17,9 +17,9 @@ disasm engine for binary analysis and reversing in the security community.} %global gituser capstone-engine %global gitname capstone -# 5.0.5 release -%global gitdate 20250323 -%global commit accf4df62f1fba6f92cae692985d27063552601c +# 5.0.1 release +%global gitdate 20230823 +%global commit 097c04d9413c59a58b00d4d1c8d5dc0ac158ffaa %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Source0: https://github.com/%%{gituser}/%%{gitname}/archive/%%{commit}/%%{name}-%%{version}-%%{shortcommit}.tar.gz @@ -31,7 +31,8 @@ Source1: cstool.1 # modified to remove the GH CI modifications from this patch # Patch: https://patch-diff.githubusercontent.com/raw/capstone-engine/capstone/pull/2099.patch # Patch0: https://github.com/capstone-engine/capstone/pull/2099.patch#/capstone-5.0.1-cibuildwheel.patch -# Patch0: capstone-5.0.1-platform.patch + +Patch0: capstone-5.0.1-platform.patch # Ocaml binding is not using local path for the includes/links Patch1: capstone-5.0.1-ocaml.patch @@ -80,6 +81,7 @@ BuildRequires: python%{python3_pkgversion} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pip BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-wheel BuildRequires: python%{python3_pkgversion}-pytest %endif @@ -285,8 +287,7 @@ make check LD_LIBRARY_PATH="`pwd`" %if %{with python3} pushd bindings/python -export LIBCAPSTONE_PATH=%{buildroot}%{_libdir} -%pytest -sv -k "not testcb and not test_cs_disasm_quick" --ignore 'tests/test_sh.py' +%pytest -sv -k "not testcb and not test_cs_disasm_quick" popd %endif @@ -347,4 +348,191 @@ popd %changelog -%autochangelog +* Thu Jan 16 2025 Fedora Release Engineering - 5.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Jul 31 2024 Michal Ambroz - 5.0.1-6 +- add static subpackage for static building with capstone + +* Wed Jul 17 2024 Fedora Release Engineering - 5.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 5.0.1-4 +- Rebuilt for Python 3.13 + +* Tue Jan 23 2024 Fedora Release Engineering - 5.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 5.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Sep 15 2023 Jonathan Wright - 5.0.1-1 +- Update to 5.0.1 + +* Wed Jul 19 2023 Jonathan Wright - 5.0-1 +- Modernize spec file using pyproject/wheel build + +* Wed Jul 19 2023 Fedora Release Engineering - 4.0.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 4.0.2-14 +- Rebuilt for Python 3.12 + +* Fri Jan 27 2023 Michal Ambroz - 4.0.2-13 +- update the new github page + +* Wed Jan 18 2023 Fedora Release Engineering - 4.0.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jul 20 2022 Fedora Release Engineering - 4.0.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild +- drop java binding for platforms not in %%{java_arches} + +* Mon Jun 13 2022 Python Maint - 4.0.2-10 +- Rebuilt for Python 3.11 + +* Sat Feb 05 2022 Jiri Vanek - 4.0.2-9 +- Rebuilt for java-17-openjdk as system jdk + +* Wed Jan 19 2022 Fedora Release Engineering - 4.0.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 4.0.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 4.0.2-6 +- Rebuilt for Python 3.10 + +* Fri May 14 2021 Michal Ambroz - 4.0.2-5 +- modernize specfile, using with bcond and py*_build macros + +* Tue Jan 26 2021 Fedora Release Engineering - 4.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 4.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 22 2020 Riccardo Schirone - 4.0.2-2 +- Use make_build macro instead of make (thanks to tstellar) + +* Mon Jul 20 2020 Riccardo Schirone - 4.0.2-1 +- Rebase to upstream version 4.0.2 + +* Fri Jul 10 2020 Jiri Vanek - 4.0.1-13 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Tue May 26 2020 Miro Hrončok - 4.0.1-12 +- Rebuilt for Python 3.9 + +* Tue Jan 28 2020 Fedora Release Engineering - 4.0.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 21 2020 Kalev Lember - 4.0.1-10 +- Avoid hardcoding /usr prefix + +* Tue Oct 15 2019 Michal Ambroz - 4.0.1-9 +- do not build python2 package for rhel8 + +* Thu Oct 10 2019 Michal Ambroz - 4.0.1-8 +- fix descriptions of sub-packages +- remove buildroot from the build phase + +* Thu Oct 10 2019 Michal Ambroz - 4.0.1-7 +- remove python2 from rawhide/fc32 package + +* Thu Oct 03 2019 Miro Hrončok - 4.0.1-6 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 4.0.1-5 +- Rebuilt for Python 3.8 + +* Wed Jul 24 2019 Fedora Release Engineering - 4.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 4.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jan 12 2019 Richard W.M. Jones - 4.0.1-2 +- Add upstream patch which fixes libcapstone.pc + https://github.com/aquynh/capstone/issues/1339 + +* Fri Jan 11 2019 Michal Ambroz - 4.0.1-1 +- bump to 4.0.1 release + +* Mon Aug 27 2018 Michal Ambroz - 3.0.5-1 +- bump to 3.0.5 + +* Thu Jul 12 2018 Fedora Release Engineering - 3.0.4-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jul 02 2018 Miro Hrončok - 3.0.4-17 +- Rebuilt for Python 3.7 + +* Tue Jun 26 2018 Michal Ambroz - 3.0.4-16 +- unify the naming convention for the python packages +- fix the python3 package naming for EPEL7 + +* Tue Jun 19 2018 Miro Hrončok - 3.0.4-15 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Igor Gnatenko - 3.0.4-14 +- Escape macros in %%changelog + +* Wed Feb 07 2018 Fedora Release Engineering - 3.0.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 3.0.4-12 +- Add Provides for the old name without %%_isa + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 3.0.4-11 +- Python 2 binary package renamed to python2-capstone + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Wed Aug 02 2017 Fedora Release Engineering - 3.0.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3.0.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 3.0.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 3.0.4-7 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 3.0.4-6 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Wed Feb 03 2016 Fedora Release Engineering - 3.0.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Oct 27 2015 Stefan Cornelius - 3.0.4-4 +- Really add dist tag this time + +* Sun Oct 25 2015 Stefan Cornelius - 3.0.4-3 +- Fix issues found during package review: dist tag, git sources + +* Thu Jul 16 2015 Stefan Cornelius - 3.0.4-2 +- Fix EPEL6 build problems + +* Wed Jul 15 2015 Stefan Cornelius - 3.0.4-1 +- new version 3.0.4. Includes security fixes. + +* Tue May 12 2015 Stefan Cornelius - 3.0.3-2 +- Addressed issues found during package review. + +* Fri May 08 2015 Stefan Cornelius - 3.0.3-1 +- Update to version 3.0.3 + +* Fri May 08 2015 Stefan Cornelius - 3.0.2-3 +- Added python3 and hardened build support. Update java building. +- Various cleanups. + +* Wed May 06 2015 Stefan Cornelius - 3.0.2-2 +- Update to 3.0.2. Fix 64bit issues. add %%check. + +* Sat Sep 27 2014 Adel Gadllah - 2.1.2-2 +- Addressed issues found during package review. + +* Mon May 19 2014 Adel Gadllah - 2.1.2-1 +- Initial package diff --git a/changelog b/changelog deleted file mode 100644 index 6930d59..0000000 --- a/changelog +++ /dev/null @@ -1,188 +0,0 @@ -* Thu Jan 16 2025 Fedora Release Engineering - 5.0.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Jul 31 2024 Michal Ambroz - 5.0.1-6 -- add static subpackage for static building with capstone - -* Wed Jul 17 2024 Fedora Release Engineering - 5.0.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 07 2024 Python Maint - 5.0.1-4 -- Rebuilt for Python 3.13 - -* Tue Jan 23 2024 Fedora Release Engineering - 5.0.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 5.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Sep 15 2023 Jonathan Wright - 5.0.1-1 -- Update to 5.0.1 - -* Wed Jul 19 2023 Jonathan Wright - 5.0-1 -- Modernize spec file using pyproject/wheel build - -* Wed Jul 19 2023 Fedora Release Engineering - 4.0.2-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue Jun 13 2023 Python Maint - 4.0.2-14 -- Rebuilt for Python 3.12 - -* Fri Jan 27 2023 Michal Ambroz - 4.0.2-13 -- update the new github page - -* Wed Jan 18 2023 Fedora Release Engineering - 4.0.2-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Wed Jul 20 2022 Fedora Release Engineering - 4.0.2-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild -- drop java binding for platforms not in %%{java_arches} - -* Mon Jun 13 2022 Python Maint - 4.0.2-10 -- Rebuilt for Python 3.11 - -* Sat Feb 05 2022 Jiri Vanek - 4.0.2-9 -- Rebuilt for java-17-openjdk as system jdk - -* Wed Jan 19 2022 Fedora Release Engineering - 4.0.2-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Jul 21 2021 Fedora Release Engineering - 4.0.2-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 4.0.2-6 -- Rebuilt for Python 3.10 - -* Fri May 14 2021 Michal Ambroz - 4.0.2-5 -- modernize specfile, using with bcond and py*_build macros - -* Tue Jan 26 2021 Fedora Release Engineering - 4.0.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 4.0.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jul 22 2020 Riccardo Schirone - 4.0.2-2 -- Use make_build macro instead of make (thanks to tstellar) - -* Mon Jul 20 2020 Riccardo Schirone - 4.0.2-1 -- Rebase to upstream version 4.0.2 - -* Fri Jul 10 2020 Jiri Vanek - 4.0.1-13 -- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - -* Tue May 26 2020 Miro Hrončok - 4.0.1-12 -- Rebuilt for Python 3.9 - -* Tue Jan 28 2020 Fedora Release Engineering - 4.0.1-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Tue Jan 21 2020 Kalev Lember - 4.0.1-10 -- Avoid hardcoding /usr prefix - -* Tue Oct 15 2019 Michal Ambroz - 4.0.1-9 -- do not build python2 package for rhel8 - -* Thu Oct 10 2019 Michal Ambroz - 4.0.1-8 -- fix descriptions of sub-packages -- remove buildroot from the build phase - -* Thu Oct 10 2019 Michal Ambroz - 4.0.1-7 -- remove python2 from rawhide/fc32 package - -* Thu Oct 03 2019 Miro Hrončok - 4.0.1-6 -- Rebuilt for Python 3.8.0rc1 (#1748018) - -* Mon Aug 19 2019 Miro Hrončok - 4.0.1-5 -- Rebuilt for Python 3.8 - -* Wed Jul 24 2019 Fedora Release Engineering - 4.0.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 4.0.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jan 12 2019 Richard W.M. Jones - 4.0.1-2 -- Add upstream patch which fixes libcapstone.pc - https://github.com/aquynh/capstone/issues/1339 - -* Fri Jan 11 2019 Michal Ambroz - 4.0.1-1 -- bump to 4.0.1 release - -* Mon Aug 27 2018 Michal Ambroz - 3.0.5-1 -- bump to 3.0.5 - -* Thu Jul 12 2018 Fedora Release Engineering - 3.0.4-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Mon Jul 02 2018 Miro Hrončok - 3.0.4-17 -- Rebuilt for Python 3.7 - -* Tue Jun 26 2018 Michal Ambroz - 3.0.4-16 -- unify the naming convention for the python packages -- fix the python3 package naming for EPEL7 - -* Tue Jun 19 2018 Miro Hrončok - 3.0.4-15 -- Rebuilt for Python 3.7 - -* Fri Feb 09 2018 Igor Gnatenko - 3.0.4-14 -- Escape macros in %%changelog - -* Wed Feb 07 2018 Fedora Release Engineering - 3.0.4-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 3.0.4-12 -- Add Provides for the old name without %%_isa - -* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 3.0.4-11 -- Python 2 binary package renamed to python2-capstone - See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 - -* Wed Aug 02 2017 Fedora Release Engineering - 3.0.4-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 3.0.4-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 3.0.4-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 3.0.4-7 -- Rebuild for Python 3.6 - -* Tue Jul 19 2016 Fedora Release Engineering - 3.0.4-6 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Wed Feb 03 2016 Fedora Release Engineering - 3.0.4-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Oct 27 2015 Stefan Cornelius - 3.0.4-4 -- Really add dist tag this time - -* Sun Oct 25 2015 Stefan Cornelius - 3.0.4-3 -- Fix issues found during package review: dist tag, git sources - -* Thu Jul 16 2015 Stefan Cornelius - 3.0.4-2 -- Fix EPEL6 build problems - -* Wed Jul 15 2015 Stefan Cornelius - 3.0.4-1 -- new version 3.0.4. Includes security fixes. - -* Tue May 12 2015 Stefan Cornelius - 3.0.3-2 -- Addressed issues found during package review. - -* Fri May 08 2015 Stefan Cornelius - 3.0.3-1 -- Update to version 3.0.3 - -* Fri May 08 2015 Stefan Cornelius - 3.0.2-3 -- Added python3 and hardened build support. Update java building. -- Various cleanups. - -* Wed May 06 2015 Stefan Cornelius - 3.0.2-2 -- Update to 3.0.2. Fix 64bit issues. add %%check. - -* Sat Sep 27 2014 Adel Gadllah - 2.1.2-2 -- Addressed issues found during package review. - -* Mon May 19 2014 Adel Gadllah - 2.1.2-1 -- Initial package diff --git a/sources b/sources index 4b5fed0..b5723a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (capstone-5.0.6.tar.gz) = d4ed08a2ab4ed8ede51a163e98542129d6441889cf6936ac9e3f8027fb2dfcbb04a7aacba14c2a007e788790bb3939c173b47db3d95f5dd9eafce2f30ff493e1 +SHA512 (capstone-5.0.1.tar.gz) = 350aba77ce2d96b5c25764913591ba80e4497177ae0a8b2c820c6755ee8310848fbfc54e7ccac27fafc2dbc6778118ad92c53d1b5cb601d4fa146dec7d7e11e5