Enable regex subpackage. Fixes TIVI-505
authorMikko Ylinen <mikko.ylinen@intel.com>
Wed, 20 Mar 2013 13:14:05 +0000 (15:14 +0200)
committerMikko Ylinen <mikko.ylinen@intel.com>
Wed, 20 Mar 2013 13:14:05 +0000 (15:14 +0200)
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
packaging/boost.spec

index 3ed563b..ffe8d84 100644 (file)
@@ -17,6 +17,7 @@ Requires: boost-thread = %{version}-%{release}
 Requires: boost-test = %{version}-%{release}
 Requires: boost-filesystem = %{version}-%{release}
 Requires: boost-system = %{version}-%{release}
+Requires: boost-regex = %{version}-%{release}
 
 BuildRequires: libstdc++-devel
 BuildRequires: bzip2-libs
@@ -92,6 +93,16 @@ Runtime component Boost. FileSystem library, which provides facilities
 to manipulate files and directories, and the paths that identify them.
 
 
+%package regex
+Summary: Runtime component of boost system library
+Group: System/Libraries
+Provides: libboost_regex.so.%{version}
+
+%description regex
+
+Runtime support for boost regular expression library.
+
+
 %package devel
 Summary: The Boost C++ headers and shared development libraries
 Group: Development/Libraries
@@ -149,7 +160,7 @@ HTML documentation files for Boost C++ libraries.
 BOOST_ROOT=`pwd`
 export BOOST_ROOT
 
-BOOST_LIBS="program_options,thread,system,filesystem,test"
+BOOST_LIBS="program_options,thread,system,filesystem,regex,test"
 
 # build make tools, ie bjam, necessary for building libs, docs, and testing
 #(cd tools/jam/src && ./build.sh)
@@ -307,6 +318,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %postun doc -p /sbin/ldconfig
 
+%post regex -p /sbin/ldconfig
+
+%postun regex -p /sbin/ldconfig
 
 %post devel -p /sbin/ldconfig
 
@@ -356,6 +370,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-, root, root, -)
 %doc %{_docdir}/%{name}-%{version}
 
+%files regex
+%defattr(-, root, root, -)
+%{_libdir}/libboost_regex*.so.%{version}
+
 %files devel
 %defattr(-, root, root, -)
 %{_includedir}/boost