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 @@
Name: linux-cifs
Version: 1.0
Release: alt2
Release: alt3
Serial: 1
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
install -m755 %name.init.repl %buildroot%_initdir/%name
install -m755 %name.outformat %buildroot%_initdir/%name.outformat
%post
%post_service %name
service %name build && service %name start ||:
%preun
%preun_service %name
%files
%_datadir/%name/*
%_initdir/%name
......@@ -149,6 +156,9 @@ install -m755 %name.outformat %buildroot%_initdir/%name.outformat
%kernel_src/kernel-source-etercifs-2.6.??-%src_package_version.tar.bz2
%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
- fixed build problem on kernel 2.6.18
......
#!/bin/sh
#
# linux-cifs CIFS support for Linux kernel
#
# 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
# description: linux cifs module
#
# modulename: cifs
#
# description: linux cifs module \
# Multiplatform init script \
# 2006, 2007, 2008 Public domain
#
# modulename: etercifs
#
RMMOD=/sbin/rmmod
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