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}