rpms/cppad/devel cppad.spec,1.11,1.12

Bradley M. Bell bradbell at fedoraproject.org
Mon Mar 30 15:25:34 UTC 2009


Author: bradbell

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

Modified Files:
	cppad.spec 
Log Message:
Use Provides: for meta base package


Index: cppad.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cppad/devel/cppad.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- cppad.spec	29 Mar 2009 10:49:24 -0000	1.11
+++ cppad.spec	30 Mar 2009 15:25:03 -0000	1.12
@@ -16,8 +16,8 @@
 
 Name: cppad
 Version: 20090303.0
-Release: 1%{?dist}
-Summary: A Package for Differentiation of C++ Algorithms
+Release: 2%{?dist}
+Summary: No base package is installed, see %{name}-devel 
 
 Group: Development/Libraries 
 License: GPLv2
@@ -25,25 +25,24 @@
 Source: http://www.coin-or.org/download/source/CppAD/%{name}-%{version}.gpl.tgz
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: cppad-devel, cppad-doc
 
 %description
-We refer to the step by step conversion from an algorithm that computes 
-function values to an algorithm that computes derivative values as 
-Algorithmic Differentiation (often referred to as Automatic Differentiation.) 
-Given a C++ algorithm that computes function values, %{name} generates an 
-algorithm that computes its derivative values. A brief introduction to 
-Algorithmic Differentiation (AD) can be found at 
-http://en.wikipedia.org/wiki/Automatic_differentiation
+There is no base %{name} package installation, only %{name}-devel is installed.
 
 # ---------------------------------------------------------------------------
 %package devel
 Summary: Development libraries for %{name}
 Group: Development/Libraries
+Provides: %{name} = %{version}%-%{release}
 
 %description devel
-The package %{name}-devel contains all you need to do development with %{name}.
-The documentation package %{name}-doc is not included.
+We refer to the step by step conversion from an algorithm that computes 
+function values to an algorithm that computes derivative values as 
+Algorithmic Differentiation (often referred to as Automatic Differentiation.) 
+Given a C++ algorithm that computes function values, %{name} generates an 
+algorithm that computes its derivative values. A brief introduction to 
+Algorithmic Differentiation (AD) can be found at 
+http://en.wikipedia.org/wiki/Automatic_differentiation
 
 # ----------------------------------------------------------------------------
 %package doc
@@ -68,8 +67,8 @@
 /^int main(void)/N
 s|^int main(void)\n{|# include <cfloat>\\
 int main(void)\\
-{	// print machine epsilon\\
-	std::cout << "DBL_EPSILON =" << DBL_EPSILON << std::endl;\\
+{       // print machine epsilon\\
+        std::cout << "DBL_EPSILON =" << DBL_EPSILON << std::endl;\\
 \\
 |
 EOF
@@ -82,11 +81,10 @@
 # Create the doc_prefix directory (if it does not already exist).
 # (Note we are not using a postfix directory, so can overwrite its case.)
 sed -i.stamp makefile.am \
-	-e '/chmod -R .* $(doc_package)/d'
+        -e '/chmod -R .* $(doc_package)/d'
 sed -i.stamp makefile.in \
-	-e '/chmod -R .* $(doc_package)/d'
+        -e '/chmod -R .* $(doc_package)/d'
 
-	
 %build
 %configure --with-Documentation \
            --with-Example \
@@ -122,6 +120,11 @@
 
 # ----------------------------------------------------------------------------
 %changelog
+* Mon Mar 30 2009 Brad Bell <bradbell at seanet do com> 20080303-2
+- Change tabs to spaces in spec file to avoid an rpmlint warning.
+- The base package in previous release had no files, hence did not exist.
+- Use Provides: in cppad-devel to indicate that it provides cppad.
+
 * Sun Mar 29 2009 Brad Bell <bradbell at seanet dot com> 20080303-1
 - Change to newer version of cppad.
 - Create a base package that requres both devel and doc sub-packages




More information about the fedora-extras-commits mailing list