Skip to content

Commit 9263b5a

Browse files
author
Andrey Maslennikov
committed
rpm: package static libraries into -static package
1 parent d802cba commit 9263b5a

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

ucx.spec.in

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,19 @@ the following shared memory mechanisms: posix. sysv, cma, knem, xpmem.
2626

2727
%package devel
2828
Requires: %{name}%{?_isa} = %{version}-%{release}
29-
Provides: %{name}-static = %{version}-%{release}
30-
Summary: Header files and libraries required to develop with ucx
29+
Summary: Header files required to develop with UCX
30+
Group: Development/Libraries
31+
32+
%package static
33+
Requires: %{name}-devel = %{version}-%{release}
34+
Summary: Static libraries required to develop with UCX
3135
Group: Development/Libraries
3236

3337
%description devel
34-
Provides header files, static libraries and examples for developing with UCX.
38+
Provides header files and examples for developing with UCX.
39+
40+
%description static
41+
Provides static libraries required for development with UCX.
3542

3643
%prep
3744
%setup -q
@@ -61,11 +68,13 @@ rm -f %{buildroot}%{_libdir}/*.la
6168

6269
%files devel
6370
%{_includedir}/uc*
64-
%{_libdir}/lib*.a
6571
%{_libdir}/lib*.so
6672
%{_libdir}/pkgconfig/ucx.pc
6773
%{_datadir}/ucx/examples
6874

75+
%files static
76+
%{_libdir}/lib*.a
77+
6978
%post -p /sbin/ldconfig
7079
%postun -p /sbin/ldconfig
7180

0 commit comments

Comments
 (0)