[tntnet] Own the %{_datadir}/tntnet dir.
Ville Skyttä
scop at fedoraproject.org
Sat Jan 25 18:29:41 UTC 2014
commit 85d77fc4bfa528a32192edaad10aa2daa6395e79
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Jan 25 20:29:57 2014 +0200
Own the %{_datadir}/tntnet dir.
- Run unit tests during build.
tntnet.spec | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/tntnet.spec b/tntnet.spec
index 6ee1f8e..a4b536c 100644
--- a/tntnet.spec
+++ b/tntnet.spec
@@ -1,6 +1,6 @@
Name: tntnet
Version: 2.2.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A web application server for web applications
# GPLv2+: framework/common/gcryptinit.c
@@ -56,6 +56,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
# remove sysv init script
rm $RPM_BUILD_ROOT/etc/init.d/%{name}
+%check
+utest/utest
+
%pre
getent group %{name} > /dev/null || groupadd -r %{name}
getent passwd %{name} > /dev/null || \
@@ -85,7 +88,7 @@ exit 0
%{_bindir}/tntnet
%{_libdir}/libtntnet*.so.*
%{_libdir}/tntnet/
-%{_datadir}/tntnet/tntnet-conf2xml.pl
+%{_datadir}/tntnet/
%{_mandir}/man1/ecppc.1.gz
%{_mandir}/man1/ecppl.1.gz
%{_mandir}/man1/ecppll.1.gz
@@ -101,6 +104,10 @@ exit 0
%{_includedir}/tnt/
%changelog
+* Sat Jan 25 2014 Ville Skyttä <ville.skytta at iki.fi> - 2.2.1-2
+- Own the %%{_datadir}/tntnet dir.
+- Run unit tests during build.
+
* Mon Jan 20 2014 Martin Gansser <martinkg at fedoraproject.org> - 2.2.1-1
- new release
More information about the scm-commits
mailing list