rpms/blktool/devel blktool.spec,1.7,1.8

Jeff Garzik jgarzik at fedoraproject.org
Fri Jul 17 00:37:58 UTC 2009


Author: jgarzik

Update of /cvs/pkgs/rpms/blktool/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23283

Modified Files:
	blktool.spec 
Log Message:
Several minor cleanups to the spec file


Index: blktool.spec
===================================================================
RCS file: /cvs/pkgs/rpms/blktool/devel/blktool.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- blktool.spec	24 Feb 2009 05:01:53 -0000	1.7
+++ blktool.spec	17 Jul 2009 00:37:23 -0000	1.8
@@ -1,14 +1,15 @@
-Summary: Block device settings tool
-Name: blktool
-Version: 4
-Release: 9%{?dist}
-# No version specified in code.
-License: GPL+
-Group: Applications/System
-URL: http://sourceforge.net/projects/gkernel/
-Source0: http://download.sourceforge.net/gkernel/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: glib2-devel
+Name:		blktool
+Version:	4
+Release:	10%{?dist}
+Summary:	Block device settings tool
+
+Group:		Applications/System
+License:	GPL+
+URL:		http://sourceforge.net/projects/gkernel/
+
+Source0:	http://download.sourceforge.net/gkernel/%{name}-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:	glib2-devel
 
 %define _sbindir	/sbin
 
@@ -22,11 +23,12 @@ other settings.
 
 %build
 %configure
-make
+make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-%makeinstall
+make install DESTDIR=%{buildroot}
+
 mkdir -p %{buildroot}/usr/sbin
 ln -s /sbin/blktool %{buildroot}/usr/sbin
 
@@ -34,13 +36,16 @@ ln -s /sbin/blktool %{buildroot}/usr/sbi
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc AUTHORS COPYING INSTALL NEWS README
 /sbin/blktool
 /usr/sbin/blktool
 %{_mandir}/man8/blktool.*
 
 %changelog
+* Thu Jul 16 2009 Jeff Garzik <jgarzik at redhat.com> - 4-10
+- specfile cleanups
+
 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list