Spec URL: http://rezza.hofyland.cz/fedora/packages/polkit-kde/polkit-kde.spec SRPM URL: http://rezza.hofyland.cz/fedora/packages/polkit-kde/polkit-kde-0.95-0.1.20091125svn.fc12.src.rpm Description: Provides Policy Kit Authentication Agent that nicely fits to KDE.
Scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=1830517 RPMLINT polkit-kde.spec:23: W: unversioned-explicit-provides PolicyKit-authentication-agent Comment: polkit-gnome does not specify version neither What about obsoletes? PolicyKit-kde?
To answer your question: 1. Obsoletes: PolicyKit-kde should be moved here from kdebase-workspace. 2. kdebase-workspace should get Requires: polkit-kde instead of PolicyKit-authentication-agent as only polkit-kde will run in KDE. 3. polkit-gnome needs to be switched back to being disabled in KDE (as it originally was). These 3 changes need to happen at the same time to prevent chaos.
#1 issue in this package: this needs a .desktop file so it actually get started!
+1 to what Kevin said, though 2/3 is arguably for f13 only (can provide as tech-preview/whatever to those who really want it in f12, but they'll need to manage the integration by hand, similar to how nm-applet/knetworkmanager is in f12). I'll try to take a closer look here soon.
Doing 1. without 2. and 3. is not a good idea, it will lead to polkit-kde getting dragged in on upgrades from F11, but not new installs. These changes are all dependent on each other and on 4. adding a .desktop file as per comment #3. Doing parts of it doesn't make sense. In fact I'd argue that shipping this package without doing 4. makes no sense at all and that 4. is a recipe for chaos without 3., which requires 1. and 2. to fix the upgrade path. So shipping this package for F12 is only going to work properly if we do all 4 changes from comment #2 and comment #3. And I don't see why we wouldn't do that. There are no worries about user data as all the data/configuration is in the polkit backend. It should be a drop-in replacement.
Ah, good point. Maybe it is best an all-or-nothing proposition then.
(In reply to comment #3) > #1 issue in this package: this needs a .desktop file so it actually get > started! Ops, you're right! How should obsoletes look then? As in kdebase-workspace there's %{version}-%{release} part - is it OK just to match current kdebase-workspace version/release?
Yes, just copy the Obsoletes line from kdebase-workspace.
Ping? What happened to this review request? Jaroslav, can you please add that Obsoletes line and that autostart .desktop file (either with OnlyShowIn=KDE; or in the KDE-specific /usr/share/autostart, of course) so we can continue?
(I can take care of adjusting kdebase-workspace and polkit-gnome once this is in.)
Hi Kevin, sorry for delay. I'm still not sure how to handle obsoletes - in kdebase-workspace these are versioned. Rex, could you please look at your SPEC which version I should set? Thanks.
I guess Obsoletes: PolicyKit-kde < 4.5 should be safe. (We're not going to provide 4.5 for F11, so there shouldn't be a PK-0.9-based PolicyKit-kde higher than 4.4.x.)
Desktop file added + obsoletes. http://rezza.hofyland.cz/fedora/packages/polkit-kde/polkit-kde-0.95-0.2.20091125svn.fc12.src.rpm
I'll take a look, Not a blocker, looks like we have an upstream release/tarball, woo, ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/polkit-kde-1-0.95.1.tar.bz2
Simple spec. $ rpmlint *.rpm */*.rpm polkit-kde.src:24: W: unversioned-explicit-provides PolicyKit-authentication-agent polkit-kde.x86_64: W: obsolete-not-provided PolicyKit-kde polkit-kde.x86_64: W: non-conffile-in-etc /etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop 3 packages and 0 specfiles checked; 0 errors, 3 warnings. License: OK Source: OK (better, when using verifiable upstream tarball) macros: OK Obsoletess/Provides: OK I see now issues or blockers, looks good, APPROVED
Thanks Rex! Sorry for delay - so what about F12? Do we really need it? F13 should be our target, for interested people it can be in kde repo for F12...
New Package CVS Request ======================= Package Name: polkit-kde Short Description: PolicyKit integration for KDE Desktop Owners: jreznik rnovacek ltinkl than rdieter kkofler Branches: F-12 InitialCC:
cvs done.
built for rawhide.