The package rpms/python-yara.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python-yara.git/commit/?id=09ce81....
Change:
+%ifarch armv7hl
Thanks.
Full change:
============
commit 39fc6263389b87ea6b6f705f4d14ff184d7362fe
Author: rpmbuild <rpmbuild>
Date: Fri Mar 22 13:37:26 2019 +0000
change sphinx dependency to be based on the file /usr/bin/sphinx-build
diff --git a/python-yara.spec b/python-yara.spec
index 18f0a38..c63c01d 100644
--- a/python-yara.spec
+++ b/python-yara.spec
@@ -1,6 +1,6 @@
Name: python-yara
Version: 3.9.0
-%global rel 1
+%global rel 2
Summary: Python binding for the YARA pattern matching tool
License: ASL 2.0
URL:
http://github.com/VirusTotal/yara-python/
@@ -36,11 +36,7 @@ BuildRequires: libtool
BuildRequires: yara-devel
BuildRequires: python2
# html doc generation
-%if 0%{?rhel} || 0%{?fedora} < 31
-BuildRequires: python2-sphinx
-%else
-BuildRequires: python3-sphinx
-%endif
+BuildRequires: /usr/bin/sphinx-build
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-nose
@@ -146,6 +142,9 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3"
-v ./tests.py:TestYar
#====================================================================
%changelog
+* 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
commit 09ce81e2bdf1f878a0360cacc65be1ec99f4fc9c
Author: rpmbuild <rpmbuild>
Date: Mon Mar 18 23:20:37 2019 +0000
exclude testModuleData on the armv7hl architecture
diff --git a/python-yara.spec b/python-yara.spec
index e6d2d67..18f0a38 100644
--- a/python-yara.spec
+++ b/python-yara.spec
@@ -103,6 +103,7 @@ powerful features from Python scripts.
# reported to upstream -
https://github.com/VirusTotal/yara-python/issues/21
# temporarily run the failing tests but ignore the results for those 2
# EXCLUDE='--exclude=^testCompare$|^testModuleData$'
+# seems to be fixed in 3.9.0
EXCLUDE='--exclude=^nothing$'
# Yara is not prepared to run on s390 - more tests failing on s390
@@ -110,10 +111,18 @@ EXCLUDE='--exclude=^nothing$'
#
https://github.com/VirusTotal/yara-python/issues/25
# 3.6.3 - testCompileFile started failing -
https://kojipkgs.fedoraproject.org//work/tasks/9619/20589619/build.log
#
https://github.com/VirusTotal/yara-python/issues/54
-%ifarch s390 s390x %{power64}
-EXCLUDE='--exclude=^testCompare$|^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$|^testCompileFile$'
+# seems to be fixed in 3.9.0
+%ifarch s390 s390x %{power64}
+#
EXCLUDE='--exclude=^testCompare$|^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$|^testCompileFile$'
+EXCLUDE='--exclude=^nothing$'
+%endif
+
+# 3.9.0 - testModuleData is always failing for architecture armv7hl
+%ifarch armv7hl
+EXCLUDE='--exclude=^testModuleData$'
%endif
+
# Find the NOSETEST binary or use false if not present
NOSETESTS3=`ls /usr/bin/nosetests-3.* || which false `
PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v
"$EXCLUDE"
@@ -121,7 +130,8 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3"
-v "$EXCLUDE"
# Run potentially ignored tests separately so we can at least see the results
PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v
./tests.py:TestYara.testCompare \
./tests.py:TestYara.testModuleData ./tests.py:TestYara.testEntrypoint \
- ./tests.py:TestYara.testIn ./tests.py:TestYara.testIntegerFunctions || true
+ ./tests.py:TestYara.testIn ./tests.py:TestYara.testIntegerFunctions \
+ ./tests.py:TestYara.testCompileFile || true
%endif # with_check
commit f57433cc926a39f3c38964cbcbb2134856496088
Author: rpmbuild <rpmbuild>
Date: Mon Mar 18 19:49:19 2019 +0000
python3-sphinx for 31
diff --git a/python-yara.spec b/python-yara.spec
index ac86ee4..e6d2d67 100644
--- a/python-yara.spec
+++ b/python-yara.spec
@@ -36,7 +36,11 @@ BuildRequires: libtool
BuildRequires: yara-devel
BuildRequires: python2
# html doc generation
+%if 0%{?rhel} || 0%{?fedora} < 31
+BuildRequires: python2-sphinx
+%else
BuildRequires: python3-sphinx
+%endif
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-nose
@@ -194,7 +198,7 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3"
-v ./tests.py:TestYar
- 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
+- 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
commit 926f10ec55135719e3f7532e31e98f1cbec331a3
Author: rpmbuild <rpmbuild>
Date: Mon Mar 18 19:44:04 2019 +0000
bump to 3.9.0
diff --git a/.gitignore b/.gitignore
index 6467b7f..aa1ccca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/python-yara-3.6.3.tar.gz
/python-yara-3.7.0.tar.gz
/python-yara-3.8.1.tar.gz
+/python-yara-3.9.0.tar.gz
diff --git a/python-yara.spec b/python-yara.spec
index 732e260..ac86ee4 100644
--- a/python-yara.spec
+++ b/python-yara.spec
@@ -1,6 +1,6 @@
Name: python-yara
-Version: 3.8.1
-%global rel 3
+Version: 3.9.0
+%global rel 1
Summary: Python binding for the YARA pattern matching tool
License: ASL 2.0
URL:
http://github.com/VirusTotal/yara-python/
@@ -10,8 +10,8 @@ URL:
http://github.com/VirusTotal/yara-python/
%global srcname yara
%global gituser VirusTotal
%global gitname %{srcname}-python
-%global commit a73270276df017d660f438d5ff235bd5f3259bc8
-%global gitdate 20180816
+%global commit 63ac2417a918692be6d5bd659fbfd39564396ec3
+%global gitdate 20190222
%global shortcommit %(c=%{commit}; echo ${c:0:7})
# Build also the python3 package
@@ -23,10 +23,10 @@ URL:
http://github.com/VirusTotal/yara-python/
%global build_release 1
%if 0%{?build_release} > 0
-Release: %{rel}%{?dist}.2
+Release: %{rel}%{?dist}
Source0:
https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{na...
%else
-Release: %{rel}.%{gitdate}git%{shortcommit}%{?dist}.2
+Release: %{rel}.%{gitdate}git%{shortcommit}%{?dist}
Source0:
https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{vers...
%endif #Build_release
@@ -94,11 +94,12 @@ powerful features from Python scripts.
%check
%if 0%{?with_check}
# ==============================================================================
-# Tests for python3 always fail on testModuleData testcase
-# Tests for python3 randomly fail on testCompare testcase
-# reporting to upstream -
https://github.com/VirusTotal/yara-python/issues/21
+# Tests for python3 used to always fail on testModuleData testcase
+# Tests for python3 used to randomly fail on testCompare testcase
+# reported to upstream -
https://github.com/VirusTotal/yara-python/issues/21
# temporarily run the failing tests but ignore the results for those 2
-EXCLUDE='--exclude=^testCompare$|^testModuleData$'
+# EXCLUDE='--exclude=^testCompare$|^testModuleData$'
+EXCLUDE='--exclude=^nothing$'
# Yara is not prepared to run on s390 - more tests failing on s390
#
http://s390.koji.fedoraproject.org/kojifiles/work/tasks/9135/2399135/buil...
@@ -131,6 +132,9 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3"
-v ./tests.py:TestYar
#====================================================================
%changelog
+* 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(a)fedoraproject.org> -
3.8.1-3.2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/sources b/sources
index 221fcbd..e9be353 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-yara-3.8.1.tar.gz) =
5d52e2f374cf8d8a2b8afc794edaeded6a433fc184b285575bc53e8f98280e003ac2f9f2b9219c961cf2cffe82df343e74401412435ce8a8e7eff461148f7bf2
+SHA512 (python-yara-3.9.0.tar.gz) =
3871cb457f29b3149ed4656abfb1cef40a42bbce09f0480b24dbe0fddde17560037303702f3ae74fed39773470859dfdd0e69cd9f8e4dc8a1e54a4dde9239bae