Commit 116c50b0f53bae40b3a52a11e201bd187cddfb40

Authored by Stéphane Raimbault
1 parent f5e0585b

Fix errors reported by rpmlint

- increase package release
- license name
- readd automake
Showing 1 changed file with 12 additions and 14 deletions
libmodbus.spec.in
1 1 Name: libmodbus
2 2 Version: @PACKAGE_VERSION@
3   -Release: 1%{?dist}
4   -Summary: A Modbus library written in C
5   -
  3 +Release: 2%{?dist}
  4 +Summary: A Modbus library
6 5 Group: Applications/System
7   -License: LGPLv2.1+
  6 +License: LGPLv2+
8 7 URL: http://www.libmodbus.org/
9 8 Source0: https://github.com/downloads/stephane/libmodbus/libmodbus-%{version}.tar.gz
10   -
11   -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12   -BuildRequires: autoconf, xmlto, asciidoc
  9 +BuildRequires: autoconf, automake, xmlto, asciidoc
13 10  
14 11 %description
15   -The library is written in C and designed to run on Linux, Mac OS X, FreeBSD and
16   -QNX and Windows.
  12 +libmodbus is a C library designed to provide a fast and robust implementation of
  13 +the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows.
17 14  
18 15 This package contains the libmodbus shared library.
19 16  
20 17 %package devel
21   -Summary: Development files for the libmodbus library
  18 +Summary: Development files for libmodbus
22 19 Group: Development/Libraries
23 20 Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
24 21  
25 22 %description devel
26   -The library is written in C and designed to run on Linux, Mac OS X, FreeBSD and
27   -QNX and Windows.
  23 +libmodbus is a C library designed to provide a fast and robust implementation of
  24 +the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows.
28 25  
29   -This package contains libmodbus related development libraries and header files.
  26 +This package contains libraries, header files and developer documentation needed
  27 +for developing software which uses the libmodbus library.
30 28  
31 29 %prep
32 30 %setup -q
... ... @@ -65,7 +63,7 @@ rm -f %{buildroot}/%{_libdir}/*.la
65 63 %{_mandir}/man3/*.3.*
66 64  
67 65 %changelog
68   -* Mon Jul 23 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.2-1
  66 +* Mon Jul 23 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.1-2
69 67 - package reviewed by Peter Lemenkov <lemenkov@gmail.com> and Veeti Paananen
70 68 <veeti.paananen@rojekti.fi> of Fedora Quality Assurance team
71 69  
... ...