Mailinglist Archive: yast-commit (1224 mails)

< Previous Next >
[yast-commit] <rest-service> master : package and install LogFile.rb
  • From: Jiri Suchomel <jsuchome@xxxxxxx>
  • Date: Mon, 9 Nov 2009 15:31:55 +0100
  • Message-id: <E1N7VIi-0003iB-WF@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 934daefad348e12803fcc2961b2870a6f4fc6ade
Author: Jiri Suchomel <jsuchome@xxxxxxx>
Date: Mon Nov 9 15:31:30 2009 +0100

package and install LogFile.rb
---
.../status/package/yast2-webservice-status.spec | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/plugins/status/package/yast2-webservice-status.spec
b/plugins/status/package/yast2-webservice-status.spec
index 8a36875..0130f33 100644
--- a/plugins/status/package/yast2-webservice-status.spec
+++ b/plugins/status/package/yast2-webservice-status.spec
@@ -19,6 +19,7 @@ Summary: YaST2 - Webservice - Status
Source: www.tar.bz2
Source1: org.opensuse.yast.system.status.policy
Source2: org.opensuse.yast.modules.logfile.policy
+Source3: LogFile.rb
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
PreReq: yast2-webservice, collectd, %insserv_prereq
@@ -64,6 +65,10 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/PolicyKit/policy
install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/PolicyKit/policy/
install -m 0644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/PolicyKit/policy/

+# LogFile.rb
+mkdir -p $RPM_BUILD_ROOT/usr/share/YaST2/modules/
+cp %{SOURCE3} $RPM_BUILD_ROOT/usr/share/YaST2/modules/
+
%clean
rm -rf $RPM_BUILD_ROOT

@@ -80,6 +85,9 @@ rccollectd start

%files
%defattr(-,root,root)
+%dir /usr/share/YaST2/
+%dir /usr/share/YaST2/modules/
+/usr/share/YaST2/modules/LogFile.rb
%dir /srv/www/%{pkg_user}
%dir /srv/www/%{pkg_user}/vendor
%dir /srv/www/%{pkg_user}/vendor/plugins
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages