On Sun, 29 Mar 2009 10:49:55 +0000 (UTC), Bradley wrote:
Author: bradbell
Update of /cvs/pkgs/rpms/cppad/devel
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: cppad-devel, cppad-doc
%description
-There is no base %{name} package installation,
-only %{name}-devel and %{name}-doc sub-packages are installed.
-
-# ---------------------------------------------------------------------------
-%package devel
-Summary: A Package for Differentiation of C++ Algorithms
-Group: Development/Libraries
-
-%description devel
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.)
@@ -44,14 +36,28 @@
Algorithmic Differentiation (AD) can be found at
http://en.wikipedia.org/wiki/Automatic_differentiation
+# ---------------------------------------------------------------------------
+%package devel
+Summary: Development libraries for %{name}
+Group: Development/Libraries
+
+%description devel
+The package %{name}-devel contains all you need to do development with %{name}.
+The documentation package %{name}-doc is not included.
+
%changelog
+* 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
+
Hint: A package which doesn't include any %files is _not_ created at all.