RPM packaging doxygen.spec : small fixes

Jan Ruzicka <[email protected]> Thu, 25 Apr 2013 16:14:38 -0400
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
Hi

The Mock (clean package rebuild) was showing missing dependencies on flex and bison.
They are tested for by the doxygen build configuration script.

The rpmlint was complaining about:
 - license as it doesn't mention version of GPL in a way it expects.
 - package summary ending in dot
 - a redundant Provides section with package name that is added to package automatically.

Changes are attached below.
Jan

--- doxygen.spec.old	2013-04-25 16:03:54.000000000 -0400
+++ doxygen.spec.new	2013-04-25 16:04:04.000000000 -0400
@@ -9,19 +9,19 @@
 %define suexec_caller doxygen
 %define buildroot /var/tmp/%{name}-%{version}-%{revision}root
 
-Summary: A documentation system for C/C++.
+Summary: A documentation system for C/C++
 Name: doxygen
 Version: %{version}
 Release: %{revision}
 URL: http://www.stack.nl/~dimitri/doxygen/index.html
 Vendor: Dimitri van Heesch
-License: GNU General Public License
+License: GPLv2 GNU General Public License
 Group: Development/Tools
 Source: %{name}-%{version}.src.tar.gz
 BuildRoot: %{buildroot}
 BuildRequires: libstdc++-devel >= 2.96, /usr/bin/perl, /usr/bin/latex, /usr/bin/dvips, /usr/bin/gs
+BuildRequires: flex, bison
 Requires: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv, libstdc++ >= 2.96
-Provides: doxygen = %{mmn}
 
 %description
 Doxygen can generate an online class browser (in HTML) and/or a



Jan Ruzicka
Senior Software Engineer
Comtech Mobile Datacom Corporation
20430 Century Blvd, Germantown, MD 20874
Office: 240-686-3300
Fax: 240-686-3301
 
The information contained in this message may be privileged and/or confidential. If you are not the intended recipient, or responsible for delivering this message to the intended recipient, any review, forwarding, dissemination, distribution or copying of this communication or any attachment(s) is strictly prohibited. If you have received this message in error, please so notify the sender immediately, and delete it and all attachments from your computer and network.


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr