[kernel] Adjust obsoletes/provides to replace the cpupowerutils package
Josh Boyer
jwboyer at fedoraproject.org
Thu Aug 18 15:47:17 UTC 2011
commit 02587b4efa279dbcc9d7f80fd7636074bb905012
Author: Josh Boyer <jwboyer at redhat.com>
Date: Thu Aug 18 11:44:24 2011 -0400
Adjust obsoletes/provides to replace the cpupowerutils package
kernel.spec | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index fb629f4..c2ca4b9 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -51,7 +51,7 @@ Summary: The Linux kernel
# For non-released -rc kernels, this will be prepended with "0.", so
# for example a 3 here will become 0.3
#
-%global baserelease 2
+%global baserelease 3
%global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching
@@ -804,7 +804,14 @@ Summary: Assortment of tools for the Linux kernel
Group: Development/System
License: GPLv2
Obsoletes: perf
-Provides: perf
+Provides: perf
+Provides: cpupowerutils = 1:009-0.6.p1
+Obsoletes: cpupowerutils < 1:009-0.6.p1
+Provides: cpufreq-utils = 1:009-0.6.p1
+Provides: cpufrequtils = 1:009-0.6.p1
+Obsoletes: cpufreq-utils < 1:009-0.6.p1
+Obsoletes: cpufrequtils < 1:009-0.6.p1
+Obsoletes: cpuspeed < 1:1.5-16
%description -n kernel-tools
This package contains the tools/ directory from the kernel source
- the perf tool and the supporting documentation.
@@ -813,6 +820,7 @@ This package contains the tools/ directory from the kernel source
Summary: Assortment of tools for the Linux kernel
Group: Development/System
License: GPLv2
+Requires: kernel-tools = %{version}-%{release}
%description -n kernel-tools-devel
This package contains the development files for the tools/ directory from
the kernel source.
@@ -2063,6 +2071,9 @@ fi
# || ||
%changelog
* Thu Aug 18 2011 Josh Boyer <jwboyer at redhat.com>
+- Adjust provides/obsoletes to replace the cpupowerutils package
+
+* Thu Aug 18 2011 Josh Boyer <jwboyer at redhat.com>
- Add patch to fix perf build against rawhide glibc
- Add BR for gettext for cpupower translations
More information about the scm-commits
mailing list