[gogoc] Add documentation to systemd service file Define variable as global Remove unneeded BuildRequires

jorti jorti at fedoraproject.org
Wed Jun 27 20:39:37 UTC 2012


commit 7b878ab288424fbf641d4fcb0863f549b4fdd9f9
Author: Juan Orti Alcaine <j.orti.alcaine at gmail.com>
Date:   Wed Jun 27 22:38:45 2012 +0200

    Add documentation to systemd service file
    Define variable as global
    Remove unneeded BuildRequires

 gogoc.service |    1 +
 gogoc.spec    |   10 +++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/gogoc.service b/gogoc.service
index 271d28d..5bca82e 100644
--- a/gogoc.service
+++ b/gogoc.service
@@ -9,6 +9,7 @@ EnvironmentFile=-/etc/sysconfig/gogoc
 ExecStart=/usr/bin/gogoc -f /etc/gogoc/gogoc.conf $GOGOC_OPTS
 KillSignal=SIGHUP
 KillMode=process
+Documentation=man:gogoc(8) man:gogoc.conf(5)
 
 [Install]
 WantedBy=multi-user.target
diff --git a/gogoc.spec b/gogoc.spec
index b220058..cd1d8dc 100644
--- a/gogoc.spec
+++ b/gogoc.spec
@@ -1,9 +1,9 @@
-%define _hardened_build 1
+%global _hardened_build 1
 %global distver 1_2-RELEASE
 
 Name:           gogoc
 Version:        1.2
-Release:        15%{?dist}
+Release:        16%{?dist}
 Summary:        IPv6 TSP client for gogo6
 
 Group:          System Environment/Daemons
@@ -23,7 +23,6 @@ Patch5:         %{name}-%{version}-selinux_fix.patch
 Patch6:         %{name}-%{version}-kill_radvd.patch
 Patch7:         %{name}-%{version}-debug_info.patch
 
-BuildRequires:  kernel-headers
 BuildRequires:  openssl-devel
 BuildRequires:  systemd-units
 
@@ -131,6 +130,11 @@ fi
 %{_unitdir}/%{name}.service
 
 %changelog
+* Wed Jun 27 2012 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-16
+- Add documentation to systemd service file
+- Define variable as global
+- Remove unneeded BuildRequires
+
 * Mon Apr 16 2012 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-15
 - Hardened build
 - Remove unnecesary datadir


More information about the scm-commits mailing list