move the directives to build the devel file to the end of the specfile
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 23 Aug 2010 06:00:19 +0000 (16:00 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 23 Aug 2010 06:00:19 +0000 (16:00 +1000)
so that the dependencies are right
or else the dependencies all end up in the devel package and not the main
ctdb package

packaging/RPM/ctdb.spec.in

index 833dae8095484e635130776e2f1f57afd035c74b..d14db30b206a6efc67767bcebb5ce707d110d32d 100644 (file)
@@ -9,9 +9,6 @@ Epoch: 0
 License: GNU GPL version 3
 Group: System Environment/Daemons
 URL: http://ctdb.samba.org/
-%package devel
-Summary: CTDB developmnet libraries
-Group: Development
 
 Source: ctdb-%{version}.tar.gz
 
@@ -27,9 +24,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
 %description
 ctdb is the clustered database used by samba
 
-%description devel
-development libraries for ctdb
-
 
 #######################################################################
 
@@ -132,6 +126,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %{_docdir}/ctdb/tests/bin/ctdb_transaction
 
+%package devel
+Summary: CTDB developmnet libraries
+Group: Development
+
+%description devel
+development libraries for ctdb
+
 %files devel
 %defattr(-,root,root)
 %{_includedir}/ctdb.h