Skip to content

Commit

Permalink
Merge pull request #3632 from yosefe/topic/spec-remove-static-v1.6.x
Browse files Browse the repository at this point in the history
SPEC: Remove ucx-static package since it's unusable - v1.6.x
  • Loading branch information
yosefe authored May 27, 2019
2 parents 5ce26e4 + 61fcc6b commit eab54fc
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions ucx.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: Header files required for developing with UCX
Group: Development/Libraries

%package static
Requires: %{name}-devel = %{version}-%{release}
Summary: Static libraries required for developing with UCX
Group: Development/Libraries

%description devel
Provides header files and examples for developing with UCX.

%description static
Provides static libraries required for developing with UCX.

%prep
%setup -q

Expand Down Expand Up @@ -104,6 +96,7 @@ make %{?_smp_mflags} V=1
%install
make DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_libdir}/*.la
rm -f %{buildroot}%{_libdir}/*.a
rm -f %{buildroot}%{_libdir}/ucx/*.la
rm -f %{buildroot}%{_libdir}/ucx/lib*.so
rm -f %{buildroot}%{_libdir}/ucx/lib*.a
Expand All @@ -123,9 +116,6 @@ rm -f %{buildroot}%{_libdir}/ucx/lib*.a
%{_libdir}/pkgconfig/ucx.pc
%{_datadir}/ucx/examples

%files static
%{_libdir}/lib*.a

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

Expand Down

0 comments on commit eab54fc

Please sign in to comment.