Change-Id: I0c9b6850ef51c55e0af21e0adfd63ee4a6079ef0
Reviewed-on: http://photon-jenkins.eng.vmware.com/383
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Divya Thaluru <dthaluru@vmware.com>
(cherry picked from commit c7e716bd78d4f6b40672a8ea4ea0311e58c60409)
Reviewed-on: http://photon-jenkins.eng.vmware.com/424
Reviewed-by: suezzelur <anishs@vmware.com>
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: Libxslt-1.1.28 |
2 | 2 |
Name: libxslt |
3 | 3 |
Version: 1.1.28 |
4 |
-Release: 1%{?dist} |
|
4 |
+Release: 2%{?dist} |
|
5 | 5 |
License: MIT |
6 | 6 |
URL: http:/http://xmlsoft.org/libxslt/ |
7 | 7 |
Group: System Environment/General Libraries |
... | ... |
@@ -14,6 +14,14 @@ BuildRequires: libxml2-devel |
14 | 14 |
BuildRequires: python2 |
15 | 15 |
%description |
16 | 16 |
The libxslt package contains XSLT libraries used for extending libxml2 libraries to support XSLT files. |
17 |
+ |
|
18 |
+%package devel |
|
19 |
+Summary: Development Libraries for libxslt |
|
20 |
+Group: Development/Libraries |
|
21 |
+Requires: libxslt = %{version}-%{release} |
|
22 |
+%description devel |
|
23 |
+Header files for doing development with libxslt. |
|
24 |
+ |
|
17 | 25 |
%prep |
18 | 26 |
%setup -q |
19 | 27 |
%build |
... | ... |
@@ -36,17 +44,23 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck} |
36 | 36 |
rm -rf %{buildroot}/* |
37 | 37 |
%files |
38 | 38 |
%defattr(-,root,root) |
39 |
-%{_includedir}/* |
|
40 |
-%{_libdir}/*.so |
|
41 | 39 |
%{_libdir}/*.so.* |
42 |
-%{_libdir}/pkgconfig/*.pc |
|
43 | 40 |
%{_libdir}/*.sh |
44 | 41 |
%{_libdir}/libxslt-plugins |
45 | 42 |
%{_bindir}/* |
46 | 43 |
%{_mandir}/man1/* |
47 | 44 |
%{_mandir}/man3/* |
45 |
+ |
|
46 |
+%files devel |
|
47 |
+%defattr(-,root,root,-) |
|
48 |
+%{_libdir}/pkgconfig/*.pc |
|
49 |
+%{_libdir}/*.so |
|
50 |
+%{_includedir}/* |
|
48 | 51 |
%{_docdir}/* |
49 | 52 |
%{_datadir}/aclocal/* |
53 |
+ |
|
50 | 54 |
%changelog |
55 |
+* Tue Jan 19 2016 Xiaolin Li <xiaolinl@vmware.com> 1.1.28-2 |
|
56 |
+- Add a dev subpackage. |
|
51 | 57 |
* Mon Oct 13 2014 Divya Thaluru <dthaluru@vmware.com> 1.1.28-1 |
52 | 58 |
- Initial build. First version |