Marcus Meissner 2013-12-10 16:54:57 +00:00 committed by Git OBS Bridge
parent a5407b44b2
commit ad972b7b36

View File

@ -149,12 +149,12 @@ and 6.
This package contains the development files.
%if %{with static_libs}
%package static
%package static-devel
Requires: %{name}-devel = %{version}
Summary: static library for libarchive
Group: Development/Libraries/C and C++
%description static
%description static-devel
static library for libarchive
%endif
@ -207,7 +207,7 @@ sed -i -e '/Libs.private/d' %{buildroot}%{_libdir}/pkgconfig/libarchive.pc
%{_libdir}/pkgconfig/libarchive.pc
%if %{with static_libs}
%files static
%files static-devel
%defattr(-,root,root)
%{_libdir}/%{name}.a
%endif