Merge remote-tracking branch 'origin/rawhide' into epel7

This commit is contained in:
Michal Ambroz 2021-04-25 14:32:57 +02:00
commit fec9616b5b
3 changed files with 47 additions and 7 deletions

6
.gitignore vendored
View file

@ -4,3 +4,9 @@
/python-yara-3.8.1.tar.gz
/python-yara-3.9.0.tar.gz
/python-yara-3.11.0.tar.gz
/python-yara-4.0.0.tar.gz
/python-yara-4.0.1.tar.gz
/python-yara-4.0.2.tar.gz
/python-yara-4.0.3.tar.gz
/python-yara-4.0.4.tar.gz
/python-yara-4.0.5.tar.gz

View file

@ -1,5 +1,5 @@
Name: python-yara
Version: 3.11.0
Version: 4.0.5
%global baserelease 2
Summary: Python binding for the YARA pattern matching tool
License: ASL 2.0
@ -10,8 +10,8 @@ URL: http://github.com/VirusTotal/yara-python/
%global srcname yara
%global gituser VirusTotal
%global gitname %{srcname}-python
%global commit 63ac2417a918692be6d5bd659fbfd39564396ec3
%global gitdate 20190222
%global commit 83c005eda9b3dbe08581515e8db570ad7dcfee18
%global gitdate 20210223
%global shortcommit %(c=%{commit}; echo ${c:0:7})
@ -46,7 +46,7 @@ Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar
%else
Release: %{baserelease}.%{gitdate}git%{shortcommit}%{?dist}
Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
%endif #Build_release
%endif
BuildRequires: gcc
BuildRequires: pkgconfig(yara)
@ -101,7 +101,7 @@ Summary: Python2 binding for the YARA pattern matching tool
%else
# Build from git commit
%autosetup -n %{gitname}-%{commit}
%endif #build_release
%endif
@ -163,7 +163,8 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar
./tests.py:TestYara.testIn ./tests.py:TestYara.testIntegerFunctions \
./tests.py:TestYara.testCompileFile || true
%endif # with_check
# with_check
%endif
#====================================================================
@ -181,6 +182,39 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar
#====================================================================
%changelog
* 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

View file

@ -1 +1 @@
SHA512 (python-yara-3.11.0.tar.gz) = 0c8e6cbe51aa858c6d56b95c88bd450016924008b57b4910ed8edfb7bba4d7bfc18736844817978f74e72bed6765c484f275de4e7a53ec85048fb01713b6e959
SHA512 (python-yara-4.0.5.tar.gz) = 1c4663516e6ee908192145a6b53312bd529d704407b1c1057aa4b4dfaa2f561630e86f47fac60b5a6724ad502d8df0e674eb36bad7a282b5ed5c0782833eead4