Browse code

subversion : Move pkgconfig files to devel package. (Bug 2050435)

Change-Id: Ide0f10c7a8ed43909c34ffab38324882331d3b8a
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4739
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

xiaolin-vmware authored on 2018/02/02 09:51:41
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        The Apache Subversion control system
2 2
 Name:           subversion
3 3
 Version:        1.9.4
4
-Release:        5%{?dist}
4
+Release:        6%{?dist}
5 5
 License:        Apache License 2.0
6 6
 URL:            http://subversion.apache.org/
7 7
 Group:          Utilities/System
... ...
@@ -25,9 +25,9 @@ BuildRequires:  serf-devel
25 25
 %description
26 26
 The Apache version control system.
27 27
 
28
-%package    devel
29
-Summary:    Header and development files for mesos
30
-Requires:   %{name} = %{version}
28
+%package        devel
29
+Summary:        Header and development files for mesos
30
+Requires:       %{name} = %{version}
31 31
 %description    devel
32 32
  subversion-devel package contains header files, libraries.
33 33
 
... ...
@@ -46,19 +46,24 @@ make %{?_smp_mflags}
46 46
 %install
47 47
 make -j1 DESTDIR=%{buildroot} install
48 48
 %find_lang %{name}
49
+find %{buildroot}/%{_libdir} -name '*.la' -delete
50
+
49 51
 %files -f %{name}.lang
50 52
 %defattr(-,root,root)
51 53
 %{_bindir}/svn*
52 54
 %{_libdir}/libsvn_*.so.*
53
-%{_datadir}/*
55
+%{_mandir}/man1/*
56
+%{_mandir}/man5/*
57
+%{_mandir}/man8/*
54 58
 
55 59
 %files devel
56 60
 %{_includedir}/*
57
-%{_libdir}/libsvn_*.*a
58 61
 %{_libdir}/libsvn_*.so
59
-%exclude %{_libdir}/debug/
62
+%{_datadir}/pkgconfig/*.pc
60 63
 
61 64
 %changelog
65
+*   Thu Feb 01 2018 Xiaolin Li <xiaolinl@vmware.com> 1.9.4-6
66
+-   Move pkgconfig files to devel package.
62 67
 *   Mon Jan 22 2018 Xiaolin Li <xiaolinl@vmware.com> 1.9.4-5
63 68
 -   Compile subversion with https repository access module support
64 69
 *   Thu Dec 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.9.4-4