devel/x86info x86info.spec,1.31,1.32
Dave Jones (davej)
fedora-extras-commits at redhat.com
Mon Mar 17 20:11:09 UTC 2008
Author: davej
Update of /cvs/pkgs/devel/x86info
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21189
Modified Files:
x86info.spec
Log Message:
* Mon Mar 17 2008 Dave Jones <davej at redhat.com>
- More specfile cleanups.
Index: x86info.spec
===================================================================
RCS file: /cvs/pkgs/devel/x86info/x86info.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- x86info.spec 13 Mar 2008 20:53:23 -0000 1.31
+++ x86info.spec 17 Mar 2008 20:10:30 -0000 1.32
@@ -6,8 +6,8 @@
Group: System Environment/Base
License: GPLv2+
Source0: x86info-%{version}.tgz
-Buildroot: %{_tmppath}/%{name}-%{version}-root
-ExclusiveArch: i386 x86_64
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
+ExclusiveArch: %{ix86} x86_64
Url: http://www.codemonkey.org.uk/projects/x86info
Obsoletes: kernel-utils
@@ -17,31 +17,32 @@
as cache configuration and supported features.
%prep
-%setup -q -c -a 0
+%setup -q -n %{name}-%{version}
%build
-cd x86info-%{version}
-make CFLAGS="$RPM_OPT_FLAGS"
+make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/man/man{1,8}
-cd x86info-%{version}
-install x86info %{buildroot}/usr/sbin/x86info
+install x86info %{buildroot}%{_sbindir}x86info
install x86info.1 %{buildroot}/usr/share/man/man1/
chmod -R a-s %{buildroot}
%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
+rm -rf %{buildroot}
%files
%defattr(-,root,root)
-/usr/sbin/x86info
+%{_sbindir}/x86info
%attr(0644,root,root) %{_mandir}/*/*
%changelog
+* Mon Mar 17 2008 Dave Jones <davej at redhat.com>
+- More specfile cleanups.
+
* Thu Mar 13 2008 Dave Jones <davej at redhat.com>
- Fix rpmlint warnings.
More information about the fedora-extras-commits
mailing list