[phpMyAdmin] Use %{pkgname} rather %{name} in %post scriptlet (#1173189)
Robert Scheck
robert at fedoraproject.org
Thu Dec 11 21:48:24 UTC 2014
commit 00ea5517ba7ce55621d1109253d8ead872dfd0d5
Author: Robert Scheck <robert at fedoraproject.org>
Date: Thu Dec 11 22:48:25 2014 +0100
Use %{pkgname} rather %{name} in %post scriptlet (#1173189)
phpMyAdmin.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/phpMyAdmin.spec b/phpMyAdmin.spec
index 38f3b80..bd316fe 100644
--- a/phpMyAdmin.spec
+++ b/phpMyAdmin.spec
@@ -18,7 +18,7 @@
Summary: Handle the administration of MySQL over the World Wide Web
Name: phpMyAdmin
Version: 4.3.1
-Release: 1%{?dist}
+Release: 2%{?dist}
# MIT (js/jquery/, js/canvg/, js/codemirror/), GPLv2+ (the rest)
License: GPLv2+ and MIT
Group: Applications/Internet
@@ -146,7 +146,7 @@ rm -rf $RPM_BUILD_ROOT
%post
# Generate a secret key for this installation
sed -e "/'blowfish_secret'/s/MUSTBECHANGEDONINSTALL/$RANDOM$RANDOM$RANDOM$RANDOM/" \
- -i %{_sysconfdir}/%{name}/config.inc.php
+ -i %{_sysconfdir}/%{pkgname}/config.inc.php
%files
%defattr(-,root,root,-)
@@ -166,6 +166,9 @@ sed -e "/'blowfish_secret'/s/MUSTBECHANGEDONINSTALL/$RANDOM$RANDOM$RANDOM$RANDOM
%dir %attr(0750,apache,apache) %{_localstatedir}/lib/%{pkgname}/config/
%changelog
+* Thu Dec 11 2014 Robert Scheck <robert at fedoraproject.org> 4.3.1-2
+- Use %%{pkgname} rather %%{name} in %%post scriptlet (#1173189)
+
* Tue Dec 09 2014 Robert Scheck <robert at fedoraproject.org> 4.3.1-1
- Upgrade to 4.3.1
More information about the scm-commits
mailing list