Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <rest-service> master : fix ntp spec file as it depends only on yast2-dbus-server, then it must ensure YaPI idr exists
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Fri, 25 Sep 2009 11:43:03 +0200
  • Message-id: <E1Mr7Ka-0003pJ-Os@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit ae3268d8383f2ff4ff10fbfa5c3a8114bc16ee04
Author: Josef Reidinger <jreidinger@xxxxxxx>
Date: Fri Sep 25 11:43:03 2009 +0200

fix ntp spec file as it depends only on yast2-dbus-server, then it must
ensure YaPI idr exists
---
plugins/ntp/package/yast2-webservice-ntp.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/plugins/ntp/package/yast2-webservice-ntp.spec
b/plugins/ntp/package/yast2-webservice-ntp.spec
index 2626b15..9699683 100644
--- a/plugins/ntp/package/yast2-webservice-ntp.spec
+++ b/plugins/ntp/package/yast2-webservice-ntp.spec
@@ -10,8 +10,9 @@


Name: yast2-webservice-ntp
+#webservice already require yast2-dbus-server which is needed for yapi
PreReq: yast2-webservice
-# requires HAL for reboot/shutdown actions
+#for YaPI needs ntp
Requires: ntp
Provides:
yast2-webservice:/srv/www/yastws/app/controllers/ntp_controller.rb
License: MIT
@@ -51,6 +52,7 @@ Authors:
#
mkdir -p $RPM_BUILD_ROOT/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
cp -a * $RPM_BUILD_ROOT/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
+mkdir -p $RPM_BUILD_ROOT/usr/share/YaST2/modules/YaPI/
cp %{SOURCE1} $RPM_BUILD_ROOT/usr/share/YaST2/modules/YaPI/
mkdir -p $RPM_BUILD_ROOT/usr/share/PolicyKit/policy/
cp %{SOURCE2} $RPM_BUILD_ROOT/usr/share/PolicyKit/policy/
@@ -69,6 +71,10 @@ rm -rf $RPM_BUILD_ROOT
%dir /srv/www/%{pkg_user}/vendor
%dir /srv/www/%{pkg_user}/vendor/plugins
%dir /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
+# ntp require only yast2-dbus server, so it must ensure that directory exist
+%dir /usr/share/YaST2/
+%dir /usr/share/YaST2/modules/
+%dir /usr/share/YaST2/modules/YaPI/
/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/MIT-LICENSE
/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/README
/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/Rakefile
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages