[hwloc] Splitted hwloc package to hwloc-libs subpackage (with only few dependencies) and to the hwloc main p
Jirka Hladky
jhladky at fedoraproject.org
Fri Feb 1 00:54:28 UTC 2013
commit 58c94c3d04e92f43f53d506f7f9a7d9e7f22ea8c
Author: Jirka Hladky <hladky.jiri at gmail.com>
Date: Fri Feb 1 01:53:42 2013 +0100
Splitted hwloc package to hwloc-libs subpackage (with only few dependencies) and to the hwloc main package which includes users utilities
hwloc.spec | 38 ++++++++++++++++++++++++++------------
1 files changed, 26 insertions(+), 12 deletions(-)
---
diff --git a/hwloc.spec b/hwloc.spec
index 06bae44..1dadabf 100644
--- a/hwloc.spec
+++ b/hwloc.spec
@@ -1,11 +1,12 @@
Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures
Name: hwloc
Version: 1.6.1
-Release: 0%{?dist}
+Release: 1%{?dist}
License: BSD
Group: Applications/System
URL: http://www.open-mpi.org/projects/hwloc/
-Source0: http://www.open-mpi.org/software/hwloc/v1.5/downloads/%{name}-%{version}.tar.bz2
+Source0: http://www.open-mpi.org/software/hwloc/v1.6/downloads/%{name}-%{version}.tar.bz2
+Requires: %{name}-libs = %{version}-%{release}
BuildRequires: libX11-devel libxml2-devel cairo-devel ncurses-devel pciutils-devel transfig doxygen w3m
%ifnarch s390 s390x
@@ -33,11 +34,18 @@ about the hardware, bind processes, and much more.
%package devel
Summary: Headers and shared development libraries for hwloc
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
%description devel
Headers and shared object symbolic links for the hwloc.
+%package libs
+Summary: Run time libraries for the hwloc
+Group: Development/Libraries
+
+%description libs
+Run time libraries for the hwloc
+
%prep
%setup -q
@@ -63,24 +71,17 @@ Headers and shared object symbolic links for the hwloc.
%check
%{__make} check
-%post -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
%files
%defattr(-, root, root, -)
%{_bindir}/%{name}*
%{_bindir}/lstopo
%{_bindir}/lstopo-no-graphics
-%{_mandir}/man7/%{name}*
%{_mandir}/man1/%{name}*
%{_mandir}/man1/lstopo*
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/%{name}.dtd
-%{_datadir}/%{name}/%{name}-valgrind.supp
-%dir %{_defaultdocdir}/%{name}-%{version}
-%{_defaultdocdir}/%{name}-%{version}/*[^c]
-%{_libdir}/libhwloc*so.*
%files devel
%defattr(-, root, root, -)
@@ -92,8 +93,21 @@ Headers and shared object symbolic links for the hwloc.
%{_defaultdocdir}/%{name}-%{version}/*c
%{_libdir}/*.so
+%files libs
+%defattr(-, root, root, -)
+%{_mandir}/man7/%{name}*
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/%{name}.dtd
+%{_datadir}/%{name}/%{name}-valgrind.supp
+%dir %{_defaultdocdir}/%{name}-%{version}
+%{_defaultdocdir}/%{name}-%{version}/*[^c]
+%{_libdir}/libhwloc*so.*
+
%changelog
+* Thu Jan 31 2013 Jirka Hladky <hladky.jiri at gmail.com> - 1.6.1-1
+- Created libs package with reduced dependencies
+
* Sat Jan 19 2013 Jirka Hladky <hladky.jiri at gmail.com> - 1.6.1-0
- Update to version 1.6.1
More information about the scm-commits
mailing list