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
%files
/etc/bpdyndnsd/bpdyndnsd.conf
/etc/init.d/bpdyndnsd
-/usr/local/bin/bpdyndnsd
+/usr/bin/bpdyndnsd
%doc /usr/share/doc/%{name}-%{version}
. /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