[RackTables/epel7] Update spec

Colin Coe coec at fedoraproject.org
Wed Mar 4 13:20:58 UTC 2015


commit 4fa80ad9522049e25194c3af5261dd37a00865b9
Author: Colin Coe <colin.coe at gmail.com>
Date:   Wed Mar 4 21:20:44 2015 +0800

    Update spec

 RackTables.spec | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/RackTables.spec b/RackTables.spec
index a6e6cae..8d81853 100644
--- a/RackTables.spec
+++ b/RackTables.spec
@@ -1,6 +1,6 @@
 Name:           RackTables
 Version:        0.20.10
-Release:        3%{?dist}
+Release:        5%{?dist}
 Summary:        A data-center asset management system
 
 Group:          Applications/Internet
@@ -13,17 +13,13 @@ Source2:        quickinstall.sh
 Patch1:         %{name}-Fedora-paths.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       httpd php php-mysql php-pdo php-gd php-snmp php-mbstring php-bcmath /bin/sh
-%if 0%{?rhel} <= 6
-Requires: mysql-server
+%if 0%{?rhel}
+%{?el6:Requires: mysql-server}
+%{?el7:Requires: mariadb-server}
 %endif
-%if 0%{?fedora} <= 20
-Requires: mysql-server
-%endif
-%if 0%{?rhel} >= 7
-Requires: mariadb-server
-%endif
-%if 0%{?fedora} >= 21
-Requires: mariadb-server
+%if 0%{?fedora}
+%{?fc20:Requires: mysql-server}
+%{?fc21:Requires: mariadb-server}
 %endif
 BuildArch:      noarch
 
@@ -62,7 +58,13 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/secret.php
 %ghost %config(noreplace) %{_sysconfdir}/%{name}/secret.php
 
 %changelog
-* Thu Mar 4 2015 Colin Coe <colin.coe at gmail.com> - 0.20.10-3
+* Wed Mar 4 2015 Colin Coe <colin.coe at gmail.com> - 0.20.10-5
+- Correct date on changelog entries
+
+* Wed Mar 4 2015 Colin Coe <colin.coe at gmail.com> - 0.20.10-4
+- Really fix mysql dependencies to mariadb for RHEL7 and Fedora21
+
+* Wed Mar 4 2015 Colin Coe <colin.coe at gmail.com> - 0.20.10-3
 - Bump to re-push
 
 * Mon Mar 2 2015 Colin Coe <colin.coe at gmail.com> - 0.20.10-2


More information about the scm-commits mailing list