- Apply a patch to convert to the PolKit1 API.
- Do autoreconf and automake as the polkit patch is pretty invasive - Fix up file lists with the new polkit action paths
This commit is contained in:
parent
dd2b988bda
commit
e0de7fb5dd
5520
PackageKit-port-to-polkit1.patch
Normal file
5520
PackageKit-port-to-polkit1.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,15 +1,15 @@
|
||||
%define glib2_version 2.16.1
|
||||
%define dbus_version 1.1.1
|
||||
%define dbus_glib_version 0.74
|
||||
%define policykit_version 0.8
|
||||
%define alphatag 20090616
|
||||
%define glib2_version 2.16.1
|
||||
%define dbus_version 1.1.1
|
||||
%define dbus_glib_version 0.74
|
||||
%define polkit_version 0.92
|
||||
%define alphatag 20090616
|
||||
|
||||
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
Summary: Package management service
|
||||
Name: PackageKit
|
||||
Version: 0.4.9
|
||||
Release: 0.1.%{?alphatag}git%{?dist}
|
||||
Release: 0.2.%{?alphatag}git%{?dist}
|
||||
#Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
@ -24,6 +24,9 @@ Patch0: PackageKit-0.3.8-Fedora-Vendor.conf.patch
|
||||
# Fedora specific: the yum backend doesn't do time estimation correctly
|
||||
Patch1: PackageKit-0.4.4-Fedora-turn-off-time.conf.patch
|
||||
|
||||
# from upstream polkit1 branch, automatically generated
|
||||
Patch2: PackageKit-port-to-polkit1.patch
|
||||
|
||||
Requires: dbus >= %{dbus_version}
|
||||
Requires: dbus-glib >= %{dbus_glib_version}
|
||||
Requires: PackageKit-glib = %{version}-%{release}
|
||||
@ -42,7 +45,7 @@ BuildRequires: libX11-devel
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: NetworkManager-glib-devel >= %{libnm_glib_version}
|
||||
BuildRequires: PolicyKit-devel >= %{policykit_version}
|
||||
BuildRequires: polkit-devel >= %{polkit_version}
|
||||
BuildRequires: libtool
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: gnome-doc-utils
|
||||
@ -61,6 +64,9 @@ BuildRequires: fontconfig-devel
|
||||
#BuildRequires: gtk-sharp2-devel
|
||||
#BuildRequires: mono-core
|
||||
|
||||
# low level icky tools (due to polkit1 patch)
|
||||
BuildRequires: automake, autoconf, libtool
|
||||
|
||||
# functionality moved to udev itself
|
||||
Obsoletes: PackageKit-udev-helper < %{version}-%{release}
|
||||
Obsoletes: udev-packagekit < %{version}-%{release}
|
||||
@ -217,6 +223,11 @@ using PackageKit.
|
||||
#%setup -q
|
||||
%patch0 -p1 -b .fedora
|
||||
%patch1 -p1 -b .no-time
|
||||
%patch2 -p1 -b .polkit1
|
||||
|
||||
# we messed about with configure.ac and Makefile.am, so regenerate (due to polkit1 patch)
|
||||
autoreconf
|
||||
automake
|
||||
|
||||
%build
|
||||
%configure --enable-yum --enable-smart --with-default-backend=yum --disable-local --disable-ruck
|
||||
@ -289,7 +300,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
%dir %{_datadir}/PackageKit/icons
|
||||
%{_datadir}/PackageKit/helpers/test_spawn/*
|
||||
%{_datadir}/man/man1/*.1.gz
|
||||
%{_datadir}/PolicyKit/policy/*.policy
|
||||
%{_datadir}/polkit-1/actions/*.policy
|
||||
%{_datadir}/mime/packages/packagekit-*.xml
|
||||
%{_datadir}/PackageKit/pk-upgrade-distro.sh
|
||||
%{_sbindir}/packagekitd
|
||||
@ -402,6 +413,11 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
%{_includedir}/PackageKit/backend/*.h
|
||||
|
||||
%changelog
|
||||
* Tue Jun 16 2009 Richard Hughes <rhughes@redhat.com> - 0.4.9-0.2.20090616git
|
||||
- Apply a patch to convert to the PolKit1 API.
|
||||
- Do autoreconf and automake as the polkit patch is pretty invasive
|
||||
- Fix up file lists with the new polkit action paths
|
||||
|
||||
* Tue Jun 16 2009 Richard Hughes <rhughes@redhat.com> - 0.4.9-0.1.20090616git
|
||||
- Don't hardcode network access to install or update packages
|
||||
- Add subclasses to our registered mime-types
|
||||
|
||||
Loading…
Reference in New Issue
Block a user