[packages/apache-mod_wsgi] fix .rpmnew filename on trigger
glen
glen at pld-linux.org
Mon Apr 24 01:17:59 CEST 2017
commit aee39979ab33777c132e2d72c9314b0f288032d0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Apr 24 02:17:54 2017 +0300
fix .rpmnew filename on trigger
apache-mod_wsgi.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/apache-mod_wsgi.spec b/apache-mod_wsgi.spec
index 85d4406..6677ad2 100644
--- a/apache-mod_wsgi.spec
+++ b/apache-mod_wsgi.spec
@@ -13,7 +13,7 @@ Summary: WSGI interface for the Apache Web server
Summary(pl.UTF-8): Interfejs WSGI dla serwera WWW Apache
Name: apache-mod_%{mod_name}
Version: 4.5.7
-Release: 3
+Release: 4
License: Apache
Group: Networking/Daemons
Source0: https://github.com/GrahamDumpleton/mod_wsgi/archive/%{version}/mod_%{mod_name}-%{version}.tar.gz
@@ -153,7 +153,7 @@ rm -rf $RPM_BUILD_ROOT
%triggerpostun py2 -- %{name} < 4.5.7-0.2
if [ -f %{_sysconfdir}/61_mod_wsgi.conf.rpmsave ]; then
- mv %{_sysconfdir}/61_mod_wsgi-py2.conf{,rpmnew}
+ mv %{_sysconfdir}/61_mod_wsgi-py2.conf{,.rpmnew}
mv %{_sysconfdir}/61_mod_wsgi{.conf.rpmsave,-py2.conf}
%{__sed} -i -e 's/mod_wsgi.so/mod_wsgi-py2.so/' $RPM_BUILD_ROOT%{_sysconfdir}/61_mod_wsgi-py2.conf
%service -q httpd restart
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache-mod_wsgi.git/commitdiff/aee39979ab33777c132e2d72c9314b0f288032d0
More information about the pld-cvs-commit
mailing list