Browse code

Move header files to boost-devel

Move header files to boost-devel.

Change-Id: Idcc5bce05eed58c1839f14ba94e2d1e224f0805a

xiaolin-vmware authored on 2015/10/02 05:14:24
Showing 2 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Boost 
2 2
 Name:		boost
3 3
 Version:	1.56.0
4
-Release:	1%{?dist}
4
+Release:	2%{?dist}
5 5
 License:	Boost Software License V1
6 6
 URL:		http://www.boost.org/
7 7
 Group:		System Environment/Security
... ...
@@ -14,6 +14,16 @@ BuildRequires:	bzip2-devel
14 14
 %description
15 15
 Boost provides a set of free peer-reviewed portable C++ source libraries. It includes libraries for 
16 16
 linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions and unit testing.
17
+
18
+%package        devel
19
+Summary:        Development files for boost
20
+Group:          Development/Libraries
21
+Requires:       %{name} = %{version}-%{release}
22
+
23
+%description    devel
24
+The boost-devel package contains libraries, header files and documentation
25
+for developing applications that use boost.
26
+
17 27
 %prep
18 28
 %setup -qn boost_1_56_0
19 29
 %build
... ...
@@ -31,8 +41,13 @@ rm -rf %{buildroot}/*
31 31
 %defattr(-,root,root)
32 32
 %{_libdir}/*.so.*
33 33
 %{_libdir}/*.so
34
+
35
+%files devel
34 36
 %{_libdir}/*.a
35 37
 %{_includedir}/*
38
+
36 39
 %changelog
40
+*	Thu Oct 01 2015 Xiaolin Li <xiaolinl@vmware.com> 1.56.0-2
41
+_	Move header files to devel package.
37 42
 *	Tue Feb 10 2015 Divya Thaluru <dthaluru@vmware.com> 1.56.0-1
38 43
 -	Initial build.	First version
... ...
@@ -7,7 +7,7 @@ Group:		System Environment/Base
7 7
 URL:		https://github.com/jthornber/thin-provisioning-tools
8 8
 Source0:	https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-v%{version}.tar.gz
9 9
 %define sha1 thin-provisioning-tools=d1ccfd0d9036a22b726a4e0011f888e0fda76e56
10
-BuildRequires:	expat , libaio-devel, boost
10
+BuildRequires:	expat , libaio-devel, boost-devel
11 11
 Requires:	expat, libaio
12 12
 Vendor:		VMware, Inc.
13 13
 Distribution:	Photon