Skip to content

Commit

Permalink
use new polkit instead of deprecated PolicyKit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladislav Slezak committed Jul 2, 2013
1 parent 2adbc77 commit 1575edd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions package/yast2-registration.changes
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 2 05:30:32 UTC 2013 - lslezak@suse.cz

- use new polkit instead of deprecated PolicyKit

-------------------------------------------------------------------
Tue Nov 20 17:26:13 UTC 2012 - jdsn@suse.de

Expand Down
8 changes: 4 additions & 4 deletions yast2-registration.spec.in
Expand Up @@ -34,7 +34,7 @@ BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-packag
BuildRequires: limal limal-ca-mgm-perl limal-perl perl-TimeDate
BuildRequires: yast2-pkg-bindings >= 2.17.20
BuildRequires: suseRegister
Buildrequires: PolicyKit-devel
Buildrequires: polkit
BuildArch: noarch
Summary: YaST2 - Registration Module

Expand All @@ -54,8 +54,8 @@ Authors:

@INSTALL@

mkdir -p $RPM_BUILD_ROOT/usr/share/PolicyKit/policy
install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/PolicyKit/policy/
mkdir -p $RPM_BUILD_ROOT/usr/share/polkit-1/actions
install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/polkit-1/actions


@CLEAN@
Expand Down Expand Up @@ -125,7 +125,7 @@ fi
@scrconfdir@/cfg_suse_register.scr
#fillup
@fillupdir@/sysconfig.suse_register-yast2-registration
%attr(644,root,root) %config /usr/share/PolicyKit/policy/org.opensuse.yast.modules.*.policy
%attr(644,root,root) %config /usr/share/polkit-1/actions/org.opensuse.yast.modules.*.policy

%files branding-SLE
%defattr(-,root,root)
Expand Down

0 comments on commit 1575edd

Please sign in to comment.