[fts-monitoring] Update for new upstream release

MIchal Simon simonm at fedoraproject.org
Tue May 13 11:39:05 UTC 2014


commit 09134bb9f679ba3ade460e6a73ea624b5898b8f7
Author: simonm <michal.simon at cern.ch>
Date:   Tue May 13 13:38:38 2014 +0200

    Update for new upstream release

 fts-monitoring-3.2.25-1.el6.src.rpm |  Bin 0 -> 56169 bytes
 fts-monitoring.spec                 |   36 +++++++++-------------------------
 2 files changed, 10 insertions(+), 26 deletions(-)
---
diff --git a/fts-monitoring-3.2.25-1.el6.src.rpm b/fts-monitoring-3.2.25-1.el6.src.rpm
new file mode 100644
index 0000000..304e0bb
Binary files /dev/null and b/fts-monitoring-3.2.25-1.el6.src.rpm differ
diff --git a/fts-monitoring.spec b/fts-monitoring.spec
index 6addc4a..8f92ce0 100644
--- a/fts-monitoring.spec
+++ b/fts-monitoring.spec
@@ -1,12 +1,14 @@
 Summary: FTS3 Web Application for monitoring
 Name: fts-monitoring
-Version: 3.1.74
+Version: 3.2.25
 Release: 1%{?dist}
 URL: https://svnweb.cern.ch/trac/fts3
 License: ASL 2.0
 Group: Applications/Internet
 BuildArch: noarch
 
+BuildRequires:  python2-devel
+
 #Requires: cx_Oracle
 Requires: MySQL-python
 Requires: Django >= 1.3.7
@@ -28,22 +30,18 @@ as some statistics (e.g. success rate)
 service httpd condrestart
 
 %package selinux
-Summary:		SELinux support for fts-monitoring
-Group:			Applications/Internet
+Summary:        SELinux support for fts-monitoring
+Group:          Applications/Internet
 Requires:       fts-monitoring = %{version}-%{release}
 
 %description selinux
 This package labels port 8449, used by fts-monitoring, as http_port_t,
 so Apache can bind to it.
-It also labels /var/log/fts3/ with httpd_sys_content_t, so the log files
-can be served.
 
 %post selinux
 if [ $1 -gt 0 ] ; then # First install
     semanage port -a -t http_port_t -p tcp 8449
     setsebool -P httpd_can_network_connect=1 
-    semanage fcontext -a -t httpd_sys_content_t "/var/log/fts3(/.*)?"
-    restorecon -R /var/log/fts3/
     libnzz="/usr/lib64/oracle/11.2.0.3.0/client/lib64/libnnz11.so"
     if [ -f "$libnzz" ]; then
         execstack -c "$libnzz"
@@ -54,8 +52,6 @@ fi
 if [ $1 -eq 0 ] ; then # Final removal
     semanage port -d -t http_port_t -p tcp 8449
     setsebool -P httpd_can_network_connect=0
-    semanage fcontext -d -t httpd_sys_content_t "/var/log/fts3(/.*)?"
-    restorecon -R /var/log/fts3
     libnzz="/usr/lib64/oracle/11.2.0.3.0/client/lib64/libnnz11.so"
     if [ -f "$libnzz" ]; then
         execstack -s "$libnzz"
@@ -87,29 +83,17 @@ install -m 644 httpd.conf.d/ftsmon.conf           %{buildroot}%{_sysconfdir}/htt
 %files selinux
 
 %changelog
- * Thu Feb 20 2014 Michal Simon <michal.simon at cern.ch> - 3.1.74-1
+* Mon May 12 2014 Michal Simon <michal.simon at cern.ch> - 3.2.25-1
   - Update for new upstream release
-
- * Wed Nov 27 2013 Alejandro Alvarez <aalvarez at cern.ch> - 3.1.41-2
-  - Using semanage instead of chcon to get permanent changes in
-    the SELinux context for /var/log/fts3
-  - Restart httpd on installation/upgrade
-
- * Mon Oct 28 2013 Alejandro Alvarez <aalvarez at cern.ch> - 3.1.33-3
-  - Added versioned dependency fts-monitoring
-
- * Tue Oct 08 2013 Alejandro Alvarez <aalvarez at cern.ch> - 3.1.33-2
+* Tue Oct 08 2013 Alejandro Alvarez <aalvarez at cern.ch> - 3.1.27-1
   - Added selinux rpm
-
- * Mon Sep 02 2013 Michal Simon <michal.simon at cern.ch> - 3.1.1-2
+* Mon Sep 02 2013 Michal Simon <michal.simon at cern.ch> - 3.1.1-2
   - since it is a noarch package removing '%{?_isa}' sufix
-
- * Wed Aug 28 2013 Michal Simon <michal.simon at cern.ch> - 3.1.1-1
+* Wed Aug 28 2013 Michal Simon <michal.simon at cern.ch> - 3.1.1-1
   - replacing '--no-preserve=ownership'
   - python macros have been removed
   - comments regarding svn have been removed
   - '%{_builddir}/%{name}-%{version}/' prefix is not used anymore
   - more detailed description
-
- * Tue Apr 30 2013 Michal Simon <michal.simon at cern.ch> - 3.1.0-1
+* Tue Apr 30 2013 Michal Simon <michal.simon at cern.ch> - 3.1.0-1
   - First EPEL release


More information about the scm-commits mailing list