From 116c50b0f53bae40b3a52a11e201bd187cddfb40 Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Mon, 1 Aug 2011 22:09:41 +0200 Subject: [PATCH] Fix errors reported by rpmlint --- libmodbus.spec.in | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/libmodbus.spec.in b/libmodbus.spec.in index 3671a68..73b7152 100644 --- a/libmodbus.spec.in +++ b/libmodbus.spec.in @@ -1,32 +1,30 @@ Name: libmodbus Version: @PACKAGE_VERSION@ -Release: 1%{?dist} -Summary: A Modbus library written in C - +Release: 2%{?dist} +Summary: A Modbus library Group: Applications/System -License: LGPLv2.1+ +License: LGPLv2+ URL: http://www.libmodbus.org/ Source0: https://github.com/downloads/stephane/libmodbus/libmodbus-%{version}.tar.gz - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: autoconf, xmlto, asciidoc +BuildRequires: autoconf, automake, xmlto, asciidoc %description -The library is written in C and designed to run on Linux, Mac OS X, FreeBSD and -QNX and Windows. +libmodbus is a C library designed to provide a fast and robust implementation of +the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows. This package contains the libmodbus shared library. %package devel -Summary: Development files for the libmodbus library +Summary: Development files for libmodbus Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig %description devel -The library is written in C and designed to run on Linux, Mac OS X, FreeBSD and -QNX and Windows. +libmodbus is a C library designed to provide a fast and robust implementation of +the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows. -This package contains libmodbus related development libraries and header files. +This package contains libraries, header files and developer documentation needed +for developing software which uses the libmodbus library. %prep %setup -q @@ -65,7 +63,7 @@ rm -f %{buildroot}/%{_libdir}/*.la %{_mandir}/man3/*.3.* %changelog -* Mon Jul 23 2011 Stéphane Raimbault - 3.0.2-1 +* Mon Jul 23 2011 Stéphane Raimbault - 3.0.1-2 - package reviewed by Peter Lemenkov and Veeti Paananen of Fedora Quality Assurance team -- libgit2 0.21.4