- Update to a git snapshot from the 0.5.x series.

- Many PolicyKit fixes
- Fixes GetDistroUpgrades (#508022)
This commit is contained in:
Richard Hughes 2009-06-25 09:11:44 +00:00
parent e0de7fb5dd
commit 4f920c7086
4 changed files with 19 additions and 5545 deletions

View File

@ -1 +1 @@
PackageKit-0.4.9-20090616.tar.gz
PackageKit-0.5.0-20090625.tar.gz

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,16 @@
%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
%define glib2_version 2.16.1
%define dbus_version 1.1.1
%define dbus_glib_version 0.74
%define polkit_version 0.92
%define libnm_glib_version 0.6.4
%define alphatag 20090625
%{!?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.2.%{?alphatag}git%{?dist}
Version: 0.5.0
Release: 0.1.%{?alphatag}git%{?dist}
#Release: 1%{?dist}
License: GPLv2+
Group: System Environment/Libraries
@ -24,9 +25,6 @@ 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}
@ -36,6 +34,7 @@ Requires: PackageKit-yum = %{version}-%{release}
Requires: shared-mime-info
Requires: comps-extras
Requires: preupgrade
BuildRequires: polkit >= %{polkit_version}
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: dbus-devel >= %{dbus_version}
@ -64,9 +63,6 @@ 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}
@ -223,14 +219,9 @@ 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
%configure --disable-static --enable-yum --enable-smart --with-default-backend=yum --disable-local --disable-ruck
make %{?_smp_mflags}
@ -238,14 +229,11 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/libpackagekit*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/libpackagekit*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/packagekit-plugin.a
rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/packagekit-plugin.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/libpackagekit-action-lookup.la
touch $RPM_BUILD_ROOT%{_localstatedir}/cache/PackageKit/groups.sqlite
@ -314,6 +302,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%ghost %verify(not md5 size mtime) %{_localstatedir}/lib/PackageKit/transactions.db
%{_datadir}/dbus-1/system-services/*.service
%{_libdir}/pm-utils/sleep.d/95packagekit
%{_libdir}/polkit-1/extensions/libpackagekit-action-lookup.so
%files docs
%defattr(-,root,root,-)
@ -413,6 +402,11 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_includedir}/PackageKit/backend/*.h
%changelog
* Thu Jun 25 2009 Richard Hughes <rhughes@redhat.com> - 0.5.0-0.1.20090625git
- Update to a git snapshot from the 0.5.x series.
- Many PolicyKit fixes
- Fixes GetDistroUpgrades (#508022)
* 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

View File

@ -1 +1 @@
7c85d97708c2b6e096b19c948a1c9d43 PackageKit-0.4.9-20090616.tar.gz
8109f5fa96218403060f1ac854393c27 PackageKit-0.5.0-20090625.tar.gz