Changed binary path to /usr/bin not /usr/local/bin.
authorBjoern Sikora <bjoern.sikora@intra2net.com>
Wed, 19 May 2010 08:34:51 +0000 (10:34 +0200)
committerBjoern Sikora <bjoern.sikora@intra2net.com>
Wed, 19 May 2010 08:34:51 +0000 (10:34 +0200)
bpdyndnsd.spec
scripts/bpdyndnsd

index c087262..1a19665 100644 (file)
@@ -30,7 +30,7 @@ cd build
 
 export CFLAGS="$RPM_OPT_FLAGS"
 export CXXFLAGS="$RPM_OPT_FLAGS"
-cmake -DCMAKE_INSTALL_PREFIX="/usr/local" ../
+cmake -DCMAKE_INSTALL_PREFIX="/usr" ../
 
 make %{?_smp_mflags} VERBOSE=1
 
@@ -61,5 +61,5 @@ rm -rf /etc/bpdyndnsd
 %files
 /etc/bpdyndnsd/bpdyndnsd.conf
 /etc/init.d/bpdyndnsd
-/usr/local/bin/bpdyndnsd
+/usr/bin/bpdyndnsd
 %doc /usr/share/doc/%{name}-%{version}
index 64ec95b..941fada 100755 (executable)
@@ -11,7 +11,7 @@
 . /etc/rc.d/init.d/functions
 
 # define the paths to the binaries:
-path_prg=/usr/local/bin/bpdyndnsd
+path_prg=/usr/bin/bpdyndnsd
 
 # other paths:
 path_pidfile=/var/run/bpdyndnsd.pid