packages: microcode_ctl/microcode_ctl.spec - rel 5; separate microcode file...

arekm arekm at pld-linux.org
Sat Aug 15 20:14:56 CEST 2009


Author: arekm                        Date: Sat Aug 15 18:14:56 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 5; separate microcode file into microcode-data-* package.

---- Files affected:
packages/microcode_ctl:
   microcode_ctl.spec (1.41 -> 1.42) 

---- Diffs:

================================================================
Index: packages/microcode_ctl/microcode_ctl.spec
diff -u packages/microcode_ctl/microcode_ctl.spec:1.41 packages/microcode_ctl/microcode_ctl.spec:1.42
--- packages/microcode_ctl/microcode_ctl.spec:1.41	Sat Mar 21 22:59:37 2009
+++ packages/microcode_ctl/microcode_ctl.spec	Sat Aug 15 20:14:51 2009
@@ -3,18 +3,16 @@
 Summary(pl.UTF-8):	Aktualizator mikrokodu procesorów Intel IA32
 Name:		microcode_ctl
 Version:	1.17
-Release:	4
+Release:	5
 Epoch:		1
 License:	GPL
 Group:		Base
 Source0:	http://www.urbanmyth.org/microcode/%{name}-%{version}.tar.gz
 # Source0-md5:	98a7f06acef8459c8ef2a1b0fb86a99e
 Source1:	%{name}.init
-# http://downloadcenter.intel.com/, enter "microcode" to the search
-Source2:	http://downloadmirror.intel.com/14303/eng/microcode-20080910.tgz
-# Source2-md5:	3c8b13c711380bccbdd2477bbad08d7d
 URL:		http://www.urbanmyth.org/microcode/
 Requires(post,preun):	/sbin/chkconfig
+Requires:	microcode-data
 Requires:	rc-scripts
 Requires:	uname(release) >= 2.6.20
 ExclusiveArch:	i686 pentium2 pentium3 pentium4 x86_64 ia32e
@@ -43,16 +41,10 @@
 stary mikrokod.
 
 %prep
-%setup -q -a2
-mv microcode*.dat microcode.dat
+%setup -q
 
 %build
-if ! grep -q 0x00000000 microcode.dat; then
-	echo >&2 microcode.dat contains giberrish
-	exit 1
-fi
-
-%{__cc} %{rpmldflags} %{rpmcflags} -Wall \
+%{__cc} %{rpmldflags} %{rpmcflags} %{rpmcppflags} -Wall \
 	microcode_ctl.c -o microcode_ctl
 
 %install
@@ -60,7 +52,6 @@
 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir},%{_sbindir},%{_mandir}/man8}
 install	%{name} $RPM_BUILD_ROOT%{_sbindir}
 install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8
-cp -a microcode.dat $RPM_BUILD_ROOT%{_sysconfdir}/microcode.dat
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 
 %clean
@@ -78,7 +69,6 @@
 %defattr(644,root,root,755)
 %doc Changelog README
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
-%attr(640,root,root) %config(noreplace) %{_sysconfdir}/microcode.dat
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man?/*
 
@@ -88,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.42  2009/08/15 18:14:51  arekm
+- rel 5; separate microcode file into microcode-data-* package.
+
 Revision 1.41  2009/03/21 21:59:37  glen
 - use real microcode data file not 404 html page; rel 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/microcode_ctl/microcode_ctl.spec?r1=1.41&r2=1.42&f=u



More information about the pld-cvs-commit mailing list