[hostapd] Remove version info from /usr/share/doc/hostapd/hostapd.conf

John W. Linville linville at fedoraproject.org
Tue Oct 28 14:29:27 UTC 2014


commit 3c993070dae5052ff259e943cb23bb3751b83145
Author: John W. Linville <linville at tuxdriver.com>
Date:   Tue Oct 28 10:29:31 2014 -0400

    Remove version info from /usr/share/doc/hostapd/hostapd.conf

 hostapd.conf |    2 +-
 hostapd.spec |    7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/hostapd.conf b/hostapd.conf
index c836bc4..1d86ab4 100644
--- a/hostapd.conf
+++ b/hostapd.conf
@@ -6,7 +6,7 @@
 # A complete, well commented example configuration file is
 # available here:
 #
-#	/usr/share/doc/hostapd-HOSTAPD_VERSION/hostapd.conf
+#	/usr/share/doc/hostapd/hostapd.conf
 #
 # For more information, look here:
 #
diff --git a/hostapd.spec b/hostapd.spec
index 693224a..4ce4595 100644
--- a/hostapd.spec
+++ b/hostapd.spec
@@ -2,7 +2,7 @@
 
 Name:           hostapd
 Version:        2.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
 License:        BSD
 URL:            http://w1.fi/hostapd
@@ -60,7 +60,7 @@ Logwatch scripts for hostapd.
 %patch1 -p1 -b .message_length
 
 # Prepare default config file
-cat %{SOURCE2} | sed -e 's/HOSTAPD_VERSION/'%{version}'/' > %{name}.conf
+cp %{SOURCE2} %{name}.conf
 
 %build
 cd hostapd
@@ -176,6 +176,9 @@ fi
 %{_sysconfdir}/logwatch/scripts/services/%{name}
 
 %changelog
+* Tue Oct 28 2014 John W. Linville <linville at redhat.com> - 2.3-2
+- Remove version info from /usr/share/doc/hostapd/hostapd.conf
+
 * Thu Oct 23 2014 John W. Linville <linville at redhat.com> - 2.3-1
 - Update to version 2.3 from upstream
 


More information about the scm-commits mailing list