fix the release version
This commit is contained in:
parent
a8a00a4e06
commit
9d2e23c15e
1 changed files with 7 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
Name: python-yara
|
||||
Version: 3.11.0
|
||||
%global rel 1
|
||||
%global baserelease 1
|
||||
Summary: Python binding for the YARA pattern matching tool
|
||||
License: ASL 2.0
|
||||
URL: http://github.com/VirusTotal/yara-python/
|
||||
|
|
@ -37,14 +37,14 @@ and a Boolean expression which determine its logic.}
|
|||
%endif
|
||||
|
||||
|
||||
# Build source is github release=1 or git commit=0
|
||||
# Build source is versioned github release=1 or unversioned git commit=0
|
||||
%global build_release 1
|
||||
|
||||
%if 0%{?build_release} > 0
|
||||
Release: %{rel}%{?dist}.2
|
||||
Release: %{baserelease}%{?dist}
|
||||
Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
%else
|
||||
Release: %{rel}.%{gitdate}git%{shortcommit}%{?dist}.2
|
||||
Release: %{baserelease}.%{gitdate}git%{shortcommit}%{?dist}
|
||||
Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
||||
%endif #Build_release
|
||||
|
||||
|
|
@ -181,6 +181,9 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar
|
|||
|
||||
#====================================================================
|
||||
%changelog
|
||||
* 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+
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue