[microcode_ctl] ftw
Anton Arapov
aarapov at fedoraproject.org
Tue Oct 2 09:24:26 UTC 2012
commit 4a4af77f1e649cd3b7b46f1c3a7b7a7a0cb5d216
Author: Anton Arapov <anton at redhat.com>
Date: Tue Oct 2 11:23:32 2012 +0200
ftw
Signed-off-by: Anton Arapov <anton at redhat.com>
microcode_ctl.spec | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/microcode_ctl.spec b/microcode_ctl.spec
index e540394..3df35be 100644
--- a/microcode_ctl.spec
+++ b/microcode_ctl.spec
@@ -1,3 +1,5 @@
+%define upstream_version 2.0-1
+
Summary: Tool to transform and deploy CPU microcode update for x86.
Name: microcode_ctl
Version: 2.0
@@ -6,7 +8,7 @@ Epoch: 2
Group: System Environment/Base
License: GPLv2+ and Redistributable, no modification permitted
URL: http://fedorahosted.org/microcode_ctl
-Source0: http://fedorahosted.org/released/microcode_ctl/%{name}-%{version}-%{release}.tar.xz
+Source0: http://fedorahosted.org/released/microcode_ctl/%{name}-%{upstream_version}.tar.xz
Buildroot: %{_tmppath}/%{name}-%{version}-root
ExclusiveArch: %{ix86} x86_64
@@ -19,7 +21,7 @@ boot i.e. it doesn't reflash your cpu permanently, reboot and it reverts
back to the old microcode.
%prep
-%setup -q -n %{name}-%{version}-%{release}
+%setup -q -n %{name}-%{upstream_version}
%build
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
More information about the scm-commits
mailing list