Commit c3489eb2 authored by Konstantin Baev's avatar Konstantin Baev

1:1.0-alt3

- Added forgotten part (post and preun) of spec (and modified)
parent 07709437
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
Name: linux-cifs Name: linux-cifs
Version: 1.0 Version: 1.0
Release: alt2 Release: alt3
Serial: 1 Serial: 1
Summary: Advanced Common Internet File System for Linux with Etersoft extension Summary: Advanced Common Internet File System for Linux with Etersoft extension
...@@ -139,6 +139,13 @@ sed -e "s|@DATADIR@|%_datadir/%name|g" < %name.init > %name.init.repl ...@@ -139,6 +139,13 @@ sed -e "s|@DATADIR@|%_datadir/%name|g" < %name.init > %name.init.repl
install -m755 %name.init.repl %buildroot%_initdir/%name install -m755 %name.init.repl %buildroot%_initdir/%name
install -m755 %name.outformat %buildroot%_initdir/%name.outformat install -m755 %name.outformat %buildroot%_initdir/%name.outformat
%post
%post_service %name
service %name build && service %name start ||:
%preun
%preun_service %name
%files %files
%_datadir/%name/* %_datadir/%name/*
%_initdir/%name %_initdir/%name
...@@ -149,6 +156,9 @@ install -m755 %name.outformat %buildroot%_initdir/%name.outformat ...@@ -149,6 +156,9 @@ install -m755 %name.outformat %buildroot%_initdir/%name.outformat
%kernel_src/kernel-source-etercifs-2.6.??-%src_package_version.tar.bz2 %kernel_src/kernel-source-etercifs-2.6.??-%src_package_version.tar.bz2
%changelog %changelog
* Fri Sep 05 2008 Konstantin Baev <kipruss@altlinux.org> 1:1.0-alt3
- Added forgotten part (post and preun) of spec (and modified)
* Thu Sep 04 2008 Konstantin Baev <kipruss@altlinux.org> 1:1.0-alt2 * Thu Sep 04 2008 Konstantin Baev <kipruss@altlinux.org> 1:1.0-alt2
- fixed build problem on kernel 2.6.18 - fixed build problem on kernel 2.6.18
......
#!/bin/sh #!/bin/sh
#
# linux-cifs CIFS support for Linux kernel
#
# Author: Vitaly Lipatov <lav@etersoft.ru> # Author: Vitaly Lipatov <lav@etersoft.ru>
# 2006, 2007, 2008 Public domain
# Multiplatform init script
# linux-cifs - CIFS support for Linux kernel
# #
# chkconfig: 345 03 80 # chkconfig: 345 03 80
# description: linux cifs module
# #
# modulename: cifs # description: linux cifs module \
# Multiplatform init script \
# 2006, 2007, 2008 Public domain
#
# modulename: etercifs
# #
RMMOD=/sbin/rmmod RMMOD=/sbin/rmmod
MODPROBE=/sbin/modprobe MODPROBE=/sbin/modprobe
......
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