Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
dahdi-tools
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 9
[-]
[+]
Changed
dahdi-tools.spec
@@ -17,7 +17,7 @@ PreReq: %insserv_prereq %fillup_prereq udev Excludearch: s390 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: http://ftp.digium.com/pub/dahdi/dahdi-tools-%{version}.tar.bz2 +Source0: http://ftp.digium.com/pub/dahdi/dahdi-tools-%{version}.tar.bz2 Source1: dahdi-init.tar.bz2 %description @@ -60,12 +60,12 @@ %install %{__install} -D -p -m 0755 dahdi.init %{buildroot}%{_initrddir}/dahdi -%{__install} -D -p -m 0755 dahdi %{buildroot}/etc/sysconfig/dahdi +%{__install} -D -p -m 0755 dahdi %{buildroot}/var/adm/fillup-templates/sysconfig.dahdi make DESTDIR=%{buildroot} %makeinstall DESTDIR=%{buildroot} make config DESTDIR=%{buildroot} %{__install} -D -p -m 0755 dahdi.init %{buildroot}%{_initrddir}/dahdi -%{__install} -D -p -m 0755 dahdi %{buildroot}/etc/sysconfig/dahdi +%{__install} -D -p -m 0755 dahdi %{buildroot}/var/adm/fillup-templates/sysconfig.dahdi %clean rm -rf %buildroot @@ -77,15 +77,18 @@ %preun %{?stop_on_removal:%stop_on_removal dahdi} +%post +%{?fillup_and_insserv:%fillup_and_insserv} %if %suse_version > 1020 %files %defattr(-,root,root,-) +%dir /etc/dahdi /etc/dahdi/system.conf /etc/hotplug/usb/xpp_fxloader /etc/hotplug/usb/xpp_fxloader.usermap /etc/init.d/dahdi -/etc/sysconfig/dahdi +/var/adm/fillup-templates/sysconfig.dahdi /etc/dahdi/init.conf /etc/dahdi/modules /etc/modprobe.d/dahdi @@ -127,7 +130,7 @@ /etc/hotplug/usb/xpp_fxloader /etc/hotplug/usb/xpp_fxloader.usermap /etc/init.d/dahdi -/etc/sysconfig/dahdi +/var/adm/fillup-templates/sysconfig.dahdi /etc/dahdi/init.conf /etc/dahdi/modules /etc/modprobe.d/dahdi