[packages/elfio] fix description, standard preamble order, relative subpackages

glen glen at pld-linux.org
Thu May 2 14:44:36 CEST 2013


commit 1acdda3ebdf4ee95f90fb32b1ba34a490b38262e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu May 2 15:44:05 2013 +0300

    fix description, standard preamble order, relative subpackages

 elfio.spec | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/elfio.spec b/elfio.spec
index 40ac5ca..7ba34da 100644
--- a/elfio.spec
+++ b/elfio.spec
@@ -2,24 +2,24 @@ Summary:	ELF (Executable and Linkable Format) reader and producer implemented as
 Name:		elfio
 Version:	2.1
 Release:	1
-Source0:	https://downloads.sourceforge.net/project/elfio/ELFIO-sources/ELFIO-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	d370c4e4ff432626dba661f9a30ff2f1
 License:	MIT
 Group:		Libraries
+Source0:	https://downloads.sourceforge.net/project/elfio/ELFIO-sources/ELFIO-%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	d370c4e4ff432626dba661f9a30ff2f1
 URL:		http://elfio.sourceforge.net/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-ELFIO is a C++ library for reading and generating files in the ELF\
-binary format. This library is unique and not based on any other\
-product. It is also platform independent. The library uses standard\
+ELFIO is a C++ library for reading and generating files in the ELF
+binary format. This library is unique and not based on any other
+product. It is also platform independent. The library uses standard
 ANSI C++ constructions and runs on a wide variety of architectures.
 
-%package -n elfio-devel
+%package devel
 Summary:	Development tools for programs using the elfio library
 Group:		Development/Libraries
 
-%description -n	elfio-devel
+%description devel
 This package contains the header files and libraries needed for
 developing programs using the elfio library.
 
@@ -32,7 +32,6 @@ developing programs using the elfio library.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
@@ -44,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS
 %attr(755,root,root) %{_bindir}/elfdump
 
-%files -n elfio-devel
+%files devel
 %defattr(644,root,root,755)
 %doc doc/elfio.pdf
 %{_includedir}/elfio
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/elfio.git/commitdiff/1acdda3ebdf4ee95f90fb32b1ba34a490b38262e



More information about the pld-cvs-commit mailing list