From 8aeabcab13f38be0595b2486ffa45321b2dfb9a7 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Tue, 18 Jul 2017 03:59:57 +0200 Subject: [PATCH] bump to version 3.6.3 --- .gitignore | 1 + python-yara.spec | 19 ++++++++++++++----- sources | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 72e6a6d..9f08e06 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /python-yara-3.5.0-9fd9fd2.tar.gz +/python-yara-3.6.3.tar.gz diff --git a/python-yara.spec b/python-yara.spec index 8439f09..e4aa92b 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,7 +1,8 @@ %global srcname yara %global gituser VirusTotal %global gitname %{srcname}-python -%global commit 9fd9fd290872e36360e5e3839c49e21a908bf128 +# Release 3.6.3 +%global commit 043835d4b6ce2ad444f2571cf87052bb765b2be7 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %if 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} >= 7 ) @@ -23,15 +24,17 @@ Name: python-%{srcname} -Version: 3.5.0 -Release: 10%{?dist} +Version: 3.6.3 +Release: 1%{?dist} Summary: Python binding for the YARA pattern matching tool Group: Development/Libraries License: ASL 2.0 URL: http://github.com/VirusTotal/yara-python/ #URL: http://VirusTotal.github.io/yara/ -Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz +#Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz +Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz + BuildRequires: gcc BuildRequires: pkgconfig(yara) @@ -68,6 +71,8 @@ and a Boolean expression which determine its logic. Summary: Python2 binding for the YARA pattern matching tool Group: Development/Libraries %{?python_provide:%python_provide python2-%{srcname}} +# Provide also the upstream original name yara-python + %description -n python2-%{srcname} YARA for Python2 - This is a Python extension that gives access to YARA's @@ -89,7 +94,8 @@ powerful features from Python scripts. %endif # with_python3 %prep -%autosetup -n %{gitname}-%{commit} +#autosetup -n %{gitname}-%{commit} +%autosetup -n %{gitname}-%{version} %build @@ -172,6 +178,9 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar %changelog +* Mon Jul 17 2017 Michal Ambroz - 3.6.3-1 +- bump to upstream 3.6.3 release version + * Sat Feb 11 2017 Fedora Release Engineering - 3.5.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 159023b..198c3cd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -697e89cb6d780eb92e12866442a2a621 python-yara-3.5.0-9fd9fd2.tar.gz +SHA512 (python-yara-3.6.3.tar.gz) = 22d69e1dad6ac709e9d1e1e5161b9afc0f9424f211b77ea615c304193d42be2823916d39bcd43a0189d862ff9af31bd80a0abd8e6336f039d4e1089fa2526e6a