[phoronix-test-suite/epel7: 2/2] update to 5.4.1
Markus Mayer
lotharlutz at fedoraproject.org
Wed Dec 24 10:22:49 UTC 2014
commit 900064bc1bfb2121c74c3ee2a4798e31d16683ed
Author: Markus Mayer <lotharlutz at gmx.de>
Date: Wed Dec 24 11:21:42 2014 +0100
update to 5.4.1
.gitignore | 2 ++
phoronix-test-suite.spec | 35 ++++++++++++++++++++++++++++++++---
sources | 2 +-
3 files changed, 35 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3ea2534..b3cb50b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,5 @@ phoronix-test-suite-1.8.1.tar.gz
/phoronix-test-suite-5.0.1.tar.gz
/phoronix-test-suite-5.2.0.tar.gz
/phoronix-test-suite-5.2.1.tar.gz
+/phoronix-test-suite-5.4.0.tar.gz
+/phoronix-test-suite-5.4.1.tar.gz
diff --git a/phoronix-test-suite.spec b/phoronix-test-suite.spec
index fe62575..41a6fc3 100644
--- a/phoronix-test-suite.spec
+++ b/phoronix-test-suite.spec
@@ -1,6 +1,6 @@
Name: phoronix-test-suite
-Version: 5.2.1
-Release: 2%{?dist}
+Version: 5.4.1
+Release: 1%{?dist}
Summary: An Automated, Open-Source Testing Framework
Group: Applications/System
@@ -11,14 +11,29 @@ Source1: README.Fedora
BuildArch: noarch
BuildRequires: desktop-file-utils
+BuildRequires: systemd
+BuildRequires: libappstream-glib
+BuildRequires: appdata-tools
+
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
Requires: php-cli
Requires: php-gd
Requires: php-process
Requires: php-xml
+Requires: php-dom
+Requires: php-openssl
+Requires: php-gd
+Requires: php-sqlite3
+Requires: php-json
+Requires: php-posix
+Requires: php-curl
Requires: hicolor-icon-theme
-%if 0%{?fedora}
+%if 0%{?el7}
+%else
Requires: php-fpdf
%endif
@@ -54,11 +69,14 @@ export DESTDIR=%{buildroot}
./install-sh %{_prefix}
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-launcher.desktop
+appdata-validate --relax %{buildroot}/%{_datadir}/appdata/*.appdata.xml || :
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
/usr/bin/update-desktop-database &> /dev/null || :
+%systemd_post phoromatic-client.service
+%systemd_post phoromatic-server.service
%postun
if [ $1 -eq 0 ] ; then
@@ -68,6 +86,12 @@ if [ $1 -eq 0 ] ; then
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
fi
/usr/bin/update-desktop-database &> /dev/null || :
+%systemd_postun_with_restart phoromatic-client.service
+%systemd_postun_with_restart phoromatic-server.service
+
+%preun
+%systemd_preun phoromatic-client.service
+%systemd_preun phoromatic-server.service
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
@@ -84,8 +108,13 @@ fi
%{_datadir}/applications/*
%{_datadir}/mime/packages/*
%{_datadir}/appdata/%{name}.appdata.xml
+%{_unitdir}/phoromatic-client.service
+%{_unitdir}/phoromatic-server.service
%changelog
+* Wed Dec 24 2014 Markus Mayer <lotharlutz at gmx.de> 5.4.1-1
+- new upstream release
+
* Thu Oct 02 2014 Rex Dieter <rdieter at fedoraproject.org> 5.2.1-2
- update mime scriptlets
diff --git a/sources b/sources
index 8c25fcf..5d7c8cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-51e52d883710dc516c5494bd1c377219 phoronix-test-suite-5.2.1.tar.gz
+a4d1148d228a7ca9e18363806926a0ee phoronix-test-suite-5.4.1.tar.gz
More information about the scm-commits
mailing list