Compare commits

..

95 commits

Author SHA1 Message Date
Michal Ambroz
e49fd644c7 bump to 4.5.4 2025-11-19 11:15:53 +01:00
Fedora Release Engineering
37cd4df742 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 11:13:31 +00:00
Python Maint
e1a61698a1 Rebuilt for Python 3.14 2025-06-03 11:05:16 +02:00
Michal Ambroz
f271b385ef bump to 4.5.3 2025-05-23 19:12:16 +02:00
Fedora Release Engineering
81d37d4018 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 20:57:04 +00:00
Michal Ambroz
89aacbc3bd rebuild with yara 4.5.2 (this time with override) 2024-09-28 20:41:18 +02:00
Michal Ambroz
3810f230e4 rebuild with yara 4.5.2 2024-09-28 19:57:21 +02:00
Michal Ambroz
4fa4d357d8 rebuild with yara 4.5.2 2024-09-28 19:51:15 +02:00
Michal Ambroz
c606b96f2c rebuild with yara 4.5.2 2024-09-28 19:31:55 +02:00
Michal Ambroz
d7e7621ac9 rebuild with yara 4.5.2 2024-09-28 19:27:41 +02:00
Michal Ambroz
3825991841 rebuild with yara 4.5.2 2024-09-28 19:09:46 +02:00
Fedora Release Engineering
bbfc4b5140 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 17:15:21 +00:00
Python Maint
adbaf1d389 Rebuilt for Python 3.13 2024-06-07 14:12:31 +02:00
Michal Ambroz
db196c05ff bump to 4.5.1 2024-05-30 02:36:21 +02:00
Michal Ambroz
77435b87c5 bump to 4.5.0 2024-02-14 18:41:48 +01:00
Michal Ambroz
017cf9ee23 bump to 4.5.0 2024-02-14 15:21:13 +01:00
Fedora Release Engineering
5185254a85 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 13:17:08 +00:00
Fedora Release Engineering
5cecbcfd46 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 09:11:17 +00:00
Mikel Olasagasti Uranga
74b0957ee0 Update to 4.4.0 - Closes rhbz#2239307 2023-09-17 11:26:41 +02:00
Mikel Olasagasti Uranga
8e66c543d2 Include fix for python-3.12 - Closes rhbz#2226378 rhbz#2220571 2023-08-25 11:36:39 +02:00
Fedora Release Engineering
74610fcbd4 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 15:29:57 +00:00
Python Maint
93c6a6ffcf Rebuilt for Python 3.12 2023-06-14 06:18:15 +02:00
Michal Ambroz
2fc27fb829 bump to 4.3.1 2023-04-26 02:41:53 +02:00
Michal Ambroz
28a5b6b6b7 yara cleanup 2023-03-31 03:19:33 +02:00
Michal Ambroz
79dfb51975 python-yara ... bump to 4.3.0 2023-03-31 03:17:37 +02:00
Michal Ambroz
73ff085bf4 bump to 4.3.0 2023-03-31 03:15:09 +02:00
Michal Ambroz
566e24e283 fix rhel7 build 2023-01-26 03:19:03 +01:00
Michal Ambroz
35e9517eb7 fix %check / %pytest for EPEL7 2023-01-25 14:18:27 +01:00
Fedora Release Engineering
7d6b7c647e Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 18:34:26 +00:00
Michal Ambroz
5f9aff5b8c bump to 4.2.3 2022-11-01 15:57:17 +01:00
Mikel Olasagasti Uranga
401521419d Rebuilt for yara-4.2.3 2022-08-09 11:51:37 +02:00
Mikel Olasagasti Uranga
2bd7b63f3f Fix baserelease and add changelog 2022-08-08 10:51:51 +02:00
Mikel Olasagasti Uranga
5e3e36a2b0 Skip testModuleData again for F36 2022-08-08 10:49:45 +02:00
Fedora Release Engineering
4ef1161449 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 23:36:12 +00:00
Python Maint
0a7853c6fb Rebuilt for Python 3.11 2022-06-13 18:23:12 +02:00
Mikel Olasagasti Uranga
0feb574bcc Update to 4.2.0 2022-05-28 15:38:22 +02:00
Charalampos Stratakis
fc26ff2688 Use pytest instead of the deprecated nose test runner 2022-02-16 21:54:03 +00:00
Fedora Release Engineering
6cc5652a9a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 16:38:42 +00:00
Michal Ambroz
e2acea4688 rebuild 2021-11-11 00:16:41 +00:00
Michal Ambroz
1d719ef176 bump to 4.1.3 2021-11-10 15:39:59 +00:00
Fedora Release Engineering
0a0ef76f34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 10:22:03 +00:00
Python Maint
4f177f8a09 Rebuilt for Python 3.10 2021-06-04 21:11:25 +02:00
Michal Ambroz
f49a31e565 bump to 4.1.0 2021-04-27 14:02:46 +02:00
Michal Ambroz
0d9f7c250d rebuild for 4.1.0 2021-04-27 10:54:53 +02:00
Michal Ambroz
810d01ab74 rebuild for epel 2021-04-25 14:10:02 +02:00
Michal Ambroz
167d7d1be3 bump to 4.0.5 2021-03-13 22:03:07 +01:00
Michal Ambroz
8e18fa99f6 bump to version 4.0.4 2021-02-10 22:29:00 +00:00
Michal Ambroz
6bc4826540 fix bogus week day in 4.0.1 update 2021-02-04 01:32:41 +00:00
Michal Ambroz
28dc29bffc bump to version 4.0.3 2021-02-04 01:30:29 +00:00
Fedora Release Engineering
2d0a004d78 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 14:19:10 +00:00
Fedora Release Engineering
d392bbcfd8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 04:45:26 +00:00
rpmbuild
39445326bf bump to bugfix release 4.0.2 2020-07-16 11:37:16 +00:00
rpmbuild
fee7d95847 bump to bugfix release 4.0.1 2020-06-05 23:07:03 +00:00
rpmbuild
e7a73a502c bump to bugfix release 4.0.1 2020-06-05 23:02:48 +00:00
Miro Hrončok
63f4bc6240 Rebuilt for Python 3.9 2020-05-26 03:47:10 +02:00
rpmbuild
17939ba16e bump to version 4.0.0 2020-05-12 13:31:57 +00:00
Fedora Release Engineering
72b1474c0e - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 16:20:26 +00:00
rpmbuild
32993e6612 fix release 2019-10-14 17:33:04 +00:00
rpmbuild
9d2e23c15e fix the release version 2019-10-14 17:23:05 +00:00
rpmbuild
a8a00a4e06 cosmetics - remove mixedspaces 2019-10-14 14:28:34 +00:00
rpmbuild
5f3fdad8d0 bump to 3.11.0 2019-10-14 14:26:51 +00:00
rpmbuild
c1ce4c2687 bump the python binding for yara to 3.11.0 2019-10-14 14:24:20 +00:00
Miro Hrončok
d8f08508f6 Rebuilt for Python 3.8 2019-08-19 11:02:56 +02:00
Fedora Release Engineering
e57d767dbb - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 17:13:01 +00:00
rpmbuild
39fc626338 change sphinx dependency to be based on the file /usr/bin/sphinx-build 2019-03-22 13:37:26 +00:00
rpmbuild
09ce81e2bd exclude testModuleData on the armv7hl architecture 2019-03-18 23:20:37 +00:00
rpmbuild
f57433cc92 python3-sphinx for 31 2019-03-18 19:49:19 +00:00
rpmbuild
926f10ec55 bump to 3.9.0 2019-03-18 19:44:04 +00:00
Fedora Release Engineering
79c3738b74 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 10:10:13 +00:00
Igor Gnatenko
72b2ba5a93 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:43 +01:00
Zbigniew Jędrzejewski-Szmek
18f492bf0c Python2 binary package has been removed 2018-10-12 20:54:37 +02:00
Michal Ambroz
c31e9ecd52 rebuild with yara 3.8.1 override 2018-08-27 21:05:55 +00:00
Michal Ambroz
67dc563ab4 rebuild with yara 3.8.1 override 2018-08-27 21:02:50 +00:00
Michal Ambroz
d0c415f6f7 bump to 3.8.1 2018-08-27 19:28:35 +00:00
Michal Ambroz
756bb1b56b bump to 3.8.1 2018-08-27 19:25:50 +00:00
Fedora Release Engineering
ddc42ac9d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 02:43:28 +00:00
Miro Hrončok
6e65c3c322 Rebuilt for Python 3.7 2018-06-19 11:24:59 +02:00
Michal Ambroz
29b5279b1b fix for el6 2018-03-16 01:39:37 +00:00
Michal Ambroz
27fde41caf fix dependencies for building the epel branch 2018-03-16 00:52:58 +00:00
Michal Ambroz
c701474dbd rebuild on supported platforms with the new yara 3.7.1 2018-03-15 18:02:37 +00:00
Iryna Shcherbina
c4912b97e4 Update Python 2 dependency declarations to new packaging standards 2018-02-28 06:07:57 +01:00
Fedora Release Engineering
7666c2752b - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 11:47:34 +00:00
Michal Ambroz
2f45b09167 bump to yara 3.7.0 release version (#1511921) 2017-11-15 19:57:04 +00:00
Fedora Release Engineering
92ef00ed06 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 07:03:32 +00:00
Fedora Release Engineering
612613f574 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 12:21:08 +00:00
Michal Ambroz
6e8f36775f omit testCompileFile for s390x architecture 2017-07-18 14:52:45 +00:00
Michal Ambroz
4dee5a87a9 cosmetics 2017-07-18 04:06:22 +02:00
Michal Ambroz
8aeabcab13 bump to version 3.6.3 2017-07-18 03:59:57 +02:00
Fedora Release Engineering
fe4c5d52de - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 10:59:29 +00:00
Miro Hrončok
b901d294d8 Rebuild for Python 3.6 2016-12-19 18:20:38 +01:00
Dan Horák
040dcc15cf - fix the arch lists 2016-11-23 13:38:02 +01:00
h3x2b
3afb8fffa5 adding test exclusions also to armv7hl and ppc64le platforms 2016-11-15 20:37:25 +00:00
h3x2b
ec553891e3 ignore architecture based testcases failures for s390 and ppc64 2016-11-15 16:50:38 +00:00
Michal Ambroz
381b1bcdc1 testModuleData failing for arm platform 2016-08-16 00:53:15 +02:00
Michal Ambroz
5c2f4e4786 import of the package 2016-08-15 23:37:57 +02:00
5 changed files with 370 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/python-yara-*.tar.gz

215
changelog Normal file
View file

@ -0,0 +1,215 @@
* Sat Sep 28 2024 Michal Ambroz <rebus _AT seznam.cz> - 4.5.1-13
- rebuild with yara 4.5.2
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 4.5.1-2
- Rebuilt for Python 3.13
* Wed May 29 2024 Michal Ambroz <rebus _AT seznam.cz> - 4.5.1-1
- bump to 4.5.1
* Wed Feb 14 2024 Michal Ambroz <rebus _AT seznam.cz> - 4.5.0-1
- bump to 4.5.0
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Sep 17 2023 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 4.4.0-1
- bump to 4.4.0
* Fri Aug 25 2023 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 4.3.1-4
- Fix rhbz#2226378 rhbz#2220571
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 4.3.1-2
- Rebuilt for Python 3.12
* Wed Apr 26 2023 Michal Ambroz <rebus _AT seznam.cz> - 4.3.1-1
- bump to 4.3.1
* Thu Mar 30 2023 Michal Ambroz <rebus _AT seznam.cz> - 4.3.0-1
- bump to 4.3.0
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Nov 01 2022 Michal Ambroz <rebus _AT seznam.cz> - 4.2.3-1
- Rebuilt for yara-4.2.3 - second service :)
* Tue Aug 09 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 4.2.0-5
- Rebuilt for yara-4.2.3
* Mon Aug 08 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 4.2.0-4
- Skip testModuleData again for F36, fixes rhbz#2116289
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.2.0-2
- Rebuilt for Python 3.11
* Fri May 27 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 4.2.0-1
- Bump to 4.2.0 rhbz#2063287 fixes FTBFS rhbz#2064646
- Minor changes to spec, like using https for URL
- Simplify some of checks for different builds
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Nov 10 2021 Michal Ambroz <rebus _AT seznam.cz> - 4.1.3-2
- rebuild due to koji hickup
* Wed Nov 10 2021 Michal Ambroz <rebus _AT seznam.cz> - 4.1.3-1
- bump the python-yara as well to 4.1.3
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 4.1.0-2
- Rebuilt for Python 3.10
* Tue Apr 27 2021 Michal Ambroz <rebus _AT seznam.cz> - 4.1.0-1
- bump the python-yara as well to 4.1.0
* Tue Apr 27 2021 Michal Ambroz <rebus _AT seznam.cz> - 4.0.5-3
- rebuild for new version of yara 4.1.0
* Sun Apr 25 2021 Michal Ambroz <rebus _AT seznam.cz> - 4.0.5-2
- rebuild for epel
* Sat Mar 13 2021 Michal Ambroz <rebus _AT seznam.cz> - 4.0.5-1
- bump to version 4.0.5
* Wed Feb 10 2021 Michal Ambroz <rebus _AT seznam.cz> - 4.0.4-1
- bump to version 4.0.4
* Thu Feb 04 2021 Michal Ambroz <rebus _AT seznam.cz> - 4.0.3-1
- bump to version 4.0.3
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 16 2020 Michal Ambroz <rebus _AT seznam.cz> - 4.0.2-1
- bump to version 4.0.2
* Sat Jun 06 2020 Michal Ambroz <rebus _AT seznam.cz> - 4.0.1-1
- bump to version 4.0.1
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 4.0.0-2
- Rebuilt for Python 3.9
* Tue May 12 2020 Michal Ambroz <rebus _AT seznam.cz> - 4.0.0-1
- bump to version 4.0.0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Oct 14 2019 Michal Ambroz <rebus _AT seznam.cz> - 3.11.0-2
- fix the release number
* Mon Oct 14 2019 Michal Ambroz <rebus _AT seznam.cz> - 3.11.0-1
- bump to 3.11.0, omit py2 for f30+ and epel8+
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.9.0-2.2
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Mar 22 2019 Michal Ambroz <rebus _AT seznam.cz> - 3.9.0-2
- change dependency to sphinx based on the /usr/bin/sphinx-build
* Mon Mar 18 2019 Michal Ambroz <rebus _AT seznam.cz> - 3.9.0-1
- bump to 3.9.0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-3.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.8.1-3
- Python2 binary package has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Mon Aug 27 2018 Michal Ambroz <rebus _AT seznam.cz> - 3.8.1-2
- rebuild with yara 3.8.1 override
* Mon Aug 27 2018 Michal Ambroz <rebus _AT seznam.cz> - 3.8.1-1
- bump to 3.8.1
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-6
- Rebuilt for Python 3.7
* Fri Mar 16 2018 Michal Ambroz <rebus _AT seznam.cz> - 3.7.0-5
- fix dependencies for building the epel7/epel6 packages
* Thu Mar 15 2018 Michal Ambroz <rebus _AT seznam.cz> - 3.7.0-4
- rebuild with yara 3.7.1 for supported platforms
- fix dependencies for building the epel packages
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.7.0-3
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Nov 15 2017 Michal Ambroz <rebus _AT seznam.cz> - 3.7.0-1
- bump to yara 3.7.0 release version (#1511921)
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jul 17 2017 Michal Ambroz <rebus _AT seznam.cz> - 3.6.3-2
- fix bogus dates in the changelog
- omit failing testCompileFile test for s390/ppc64
* Mon Jul 17 2017 Michal Ambroz <rebus _AT seznam.cz> - 3.6.3-1
- bump to upstream 3.6.3 release version
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.5.0-9
- Rebuild for Python 3.6
* Wed Nov 23 2016 Dan Horák <dan[at]danny.cz> - 3.5.0-8
- fix the arch lists
* Tue Aug 16 2016 Michal Ambroz <rebus _AT seznam.cz> - 3.5.0-7
- adding test exclusions also for armv7hl and ppc64le
* Tue Aug 16 2016 Michal Ambroz <rebus _AT seznam.cz> - 3.5.0-6
- additionally testEntrypoint testIn testIntegerFunctions failing on s390/ppc64
- exclude those tests for build of s390/ppc64
* Tue Aug 16 2016 Michal Ambroz <rebus _AT seznam.cz> - 3.5.0-5
- testModuleData is failing on arm platform even for python 2.7
- exclude this test for build of arm
* Fri Aug 12 2016 Michal Ambroz <rebus _AT seznam.cz> - 3.5.0-4
- remove unnecessary ldconfig
- count with the python3 test values except the 2 known for failing
* Thu Aug 11 2016 Michal Ambroz <rebus _AT seznam.cz> - 3.5.0-3
- change python3 naming to allow epel7 python34 packages
* Thu Aug 04 2016 Michal Ambroz <rebus _AT seznam.cz> - 3.5.0-2
- cosmetics
* Thu Aug 04 2016 Michal Ambroz <rebus _AT seznam.cz> - 3.5.0-1
- with yara 3.5.0 the python yara binding is separate library

View file

@ -1 +0,0 @@
epel8-playground decommissioned : https://pagure.io/epel/issue/136

153
python-yara.spec Normal file
View file

@ -0,0 +1,153 @@
Name: python-yara
Version: 4.5.4
Summary: Python binding for the YARA pattern matching tool
License: Apache-2.0
URL: https://github.com/VirusTotal/yara-python/
VCS: git:https://github.com/VirusTotal/yara-python/
# https://github.com/VirusTotal/yara-python/tags
# https://github.com/VirusTotal/yara-python/releases/
# By default build from a release tarball.
# If you want to rebuild from a unversioned commit from git do that with
# rpmbuild --rebuild python-yara.src.dpm --without release
%bcond_without release
%global gituser VirusTotal
%global gitname yara-python
%global gitdate 20250527
%global commit 74920b6da9a70a162b3bdc41b30e4af02e5c7dff
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global common_description %{expand:
Python binding for the YARA pattern matching tool.
YARA is a tool aimed at (but not limited to) helping malware researchers to
identify and classify malware samples. With YARA you can create descriptions
of malware families (or whatever you want to describe) based on textual or
binary patterns. Each description, a.k.a rule, consists of a set of strings
and a Boolean expression which determine its logic.}
# Build with python2 support for RHEL7
%if ( 0%{?rhel} && 0%{?rhel} <= 7 )
%bcond_without python2
%endif
%if 0%{?with_release}
Release: %autorelease
Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
%else
Release: %autorelease -s %{gitdate}git%{shortcommit}
Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz#/%{name}-%{version}-git%{gitdate}-%{shortcommit}.tar.gz
%endif
BuildRequires: gcc
BuildRequires: pkgconfig(yara)
BuildRequires: libtool
BuildRequires: yara-devel >= %{version}
# html doc generation
BuildRequires: /usr/bin/sphinx-build
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pytest
BuildRequires: python%{python3_pkgversion}-setuptools
%if 0%{?with_python2} > 0
BuildRequires: python2
BuildRequires: python2-devel
BuildRequires: python2-setuptools
%endif
%description
%{common_description}
#====================================================================
%package -n python%{python3_pkgversion}-yara
Summary: Python3 binding for the YARA pattern matching tool
%{?python_provide:%python_provide python%{python3_pkgversion}-yara}
%description -n python%{python3_pkgversion}-yara
%{common_description}
%if 0%{?with_python2} > 0
%package -n python2-yara
Summary: Python2 binding for the YARA pattern matching tool
%{?python_provide:%python_provide python2-yara}
%description -n python2-yara
%{common_description}
%endif
#====================================================================
%prep
%if 0%{?with_release}
# Build from git release version
%autosetup -n yara-python-%{version}
%else
# Build from git commit
%autosetup -n yara-python-%{commit}
%endif
#====================================================================
%build
%if 0%{?with_python2} > 0
%py2_build "--dynamic-linking"
%endif
%py3_build "--dynamic-linking"
#====================================================================
%install
%if 0%{?with_python2} > 0
%py2_install
%endif
%py3_install
#====================================================================
%check
# testModuleData is always failing for architecture armv7hl
# Remove once Fedora 36 is EOL
%ifarch armv7hl
EXCLUDE='not testModuleData'
%endif
%if ( 0%{?rhel} && 0%{?rhel} <= 7 )
export CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"
export PATH="%{buildroot}%{_bindir}:$PATH"
export PYTHONPATH="${PYTHONPATH:-%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}}"
export PYTHONDONTWRITEBYTECODE=1
export PYTEST_XDIST_AUTO_NUM_WORKERS=%{_smp_build_ncpus}}
pytest-3 -k "$EXCLUDE" tests.py -v
%else
%pytest -k "$EXCLUDE" tests.py -v
%endif
#====================================================================
%files -n python%{python3_pkgversion}-yara
%license LICENSE
%doc README.rst
%{python3_sitearch}/yara*
%if 0%{?with_python2} > 0
%files -n python2-yara
%license LICENSE
%doc README.rst
%{python2_sitearch}/yara*
%endif
#====================================================================
%changelog
%autochangelog

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (python-yara-4.5.4.tar.gz) = fee87a2127284a2287c60b14bcd36facf061542da1321ccaa26dbe23c7e8534253434a78c8a65a0c2915bb1331acbdee78b12d02b748ec7d95a106913172a1a2