Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <rest-service> master : fixed policy file name
  • From: Jiri Suchomel <jsuchome@xxxxxxx>
  • Date: Wed, 16 Sep 2009 15:42:53 +0200
  • Message-id: <E1MnumS-0002C2-92@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit acfe3ae4ec0bf4eb8f7dea36f95170e5459f9fc8
Author: Jiri Suchomel <jsuchome@xxxxxxx>
Date: Wed Sep 16 15:42:53 2009 +0200

fixed policy file name
---
.../package/yast2-webservice-administrator.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/plugins/administrator/package/yast2-webservice-administrator.spec
b/plugins/administrator/package/yast2-webservice-administrator.spec
index 9d7687d..e0d7fd5 100644
--- a/plugins/administrator/package/yast2-webservice-administrator.spec
+++ b/plugins/administrator/package/yast2-webservice-administrator.spec
@@ -12,7 +12,7 @@
Name: yast2-webservice-administrator
PreReq: yast2-webservice
# requires YaPI::USERS
-Requires: ysat2-users
+Requires: yast2-users
Provides:
yast2-webservice:/srv/www/yastws/app/controllers/administrator_controller.rb
License: MIT
Group: Productivity/Networking/Web/Utilities
@@ -21,7 +21,7 @@ Version: 0.0.1
Release: 0
Summary: YaST2 - Webservice - Administrator
Source: www.tar.bz2
-Source1: org.opensuse.yast.modules.yapi.users.administrator.policy
+Source1: org.opensuse.yast.modules.yapi.administrator.policy
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch

@@ -55,6 +55,9 @@ cp -a *
$RPM_BUILD_ROOT/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
mkdir -p $RPM_BUILD_ROOT/usr/share/PolicyKit/policy
install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/PolicyKit/policy/

+# do not package restdoc sources
+rm -rf
$RPM_BUILD_ROOT/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/restdoc
+
%clean
rm -rf $RPM_BUILD_ROOT

@@ -81,7 +84,7 @@ rm -rf $RPM_BUILD_ROOT
/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/doc
%dir /usr/share/PolicyKit
%dir /usr/share/PolicyKit/policy
-%attr(644,root,root) %config
/usr/share/PolicyKit/policy/org.opensuse.yast.modules.yapi.users.%{plugin_name}.policy
+%attr(644,root,root) %config
/usr/share/PolicyKit/policy/org.opensuse.yast.modules.yapi.%{plugin_name}.policy


%changelog
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages