commit eda416c027ee7fb9cd17599cbfffaa6cd4a43356
Author: Jaroslav Škarvada <jskarvad(a)redhat.com>
Date: Fri May 17 17:44:46 2019 +0200
Enabled tests
gr-dab.spec | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/gr-dab.spec b/gr-dab.spec
index 3fa89f8..d6a8b14 100644
--- a/gr-dab.spec
+++ b/gr-dab.spec
@@ -7,7 +7,7 @@
Name: gr-dab
URL:
https://github.com/andrmuel/gr-dab
Version: 0.3
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv3+
BuildRequires: cmake, gcc-c++, python2-devel, scipy, gnuradio-devel
BuildRequires: python2-matplotlib, cppunit-devel, boost-devel, doxygen
@@ -41,7 +41,7 @@ Documentation files for gr-dab.
mkdir build
cd build
%cmake -DENABLE_DOXYGEN=on ..
-%make_build CFLAGS="%{optflags} -O0"
+%make_build
%install
cd build
@@ -52,6 +52,10 @@ pushd %{buildroot}%{python2_sitearch}/grdab
find . -type f -exec sed -i '/^[ \t]*#!\/usr\/bin\/\(env\|python\)/ d' {} \;
popd
+%check
+cd build
+make test
+
%ldconfig_scriptlets
%files
@@ -74,6 +78,9 @@ popd
%doc %{_docdir}/%{name}/xml
%changelog
+* Fri May 17 2019 Jaroslav Škarvada <jskarvad(a)redhat.com> - 0.3-2
+- Enabled tests
+
* Wed May 1 2019 Jaroslav Škarvada <jskarvad(a)redhat.com> - 0.3-1
- New version
- Dropped libdir, install-apps, and traceback-fix patches