Commit 661338b6 authored by Pavel Shilovsky's avatar Pavel Shilovsky

Fix removed %_sysconfigdir macro

parent d261c70a
...@@ -168,8 +168,8 @@ URL specification though. ...@@ -168,8 +168,8 @@ URL specification though.
%setup %setup
%install %install
mkdir -p %buildroot%_sysconfigdir/ mkdir -p %buildroot%_sysconfdir/sysconfig/
cat <<EOF >%buildroot%_sysconfigdir/%name.conf cat <<EOF >%buildroot%_sysconfdir/sysconfig/%name.conf
# etercifs configuration file # etercifs configuration file
# this options useful only for wine share using and security=share setting in smb.conf # this options useful only for wine share using and security=share setting in smb.conf
...@@ -185,7 +185,7 @@ DEFAULT_MOUNTPOINT=/net/sharebase ...@@ -185,7 +185,7 @@ DEFAULT_MOUNTPOINT=/net/sharebase
EOF EOF
%__subst "s|@DATADIR@|%_datadir/%name|g" functions.sh etercifs etermount etercifs-build %__subst "s|@DATADIR@|%_datadir/%name|g" functions.sh etercifs etermount etercifs-build
%__subst "s|@SYSCONFIGDIR@|%_sysconfigdir|g" functions.sh etercifs etermount %__subst "s|@SYSCONFIGDIR@|%_sysconfdir/sysconfig|g" functions.sh etercifs etermount
install -D -m644 buildmodule.sh %buildroot%_datadir/%name/buildmodule.sh install -D -m644 buildmodule.sh %buildroot%_datadir/%name/buildmodule.sh
install -D -m644 functions.sh %buildroot%_datadir/%name/functions.sh install -D -m644 functions.sh %buildroot%_datadir/%name/functions.sh
...@@ -347,7 +347,7 @@ ln -s ../../../../%etercifs_src/%src_package_name-3.3-%src_3_3_version.tar.bz2 \ ...@@ -347,7 +347,7 @@ ln -s ../../../../%etercifs_src/%src_package_name-3.3-%src_3_3_version.tar.bz2 \
%_bindir/etermount %_bindir/etermount
%_initrddir/%name %_initrddir/%name
%_unitdir/%name.service %_unitdir/%name.service
%config %_sysconfigdir/%name.conf %config %_sysconfdir/sysconfig/%name.conf
%config %_sysconfdir/modprobe.d/etersoft.conf %config %_sysconfdir/modprobe.d/etersoft.conf
%_datadir/%name/ %_datadir/%name/
%_usrsrc/kernel/sources/%src_package_name-*-%version.tar.bz2 %_usrsrc/kernel/sources/%src_package_name-*-%version.tar.bz2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment