diff --git a/rpm/SPECS/shadowsocks-libev.spec.in b/rpm/SPECS/shadowsocks-libev.spec.in index 2b486762..684831b5 100644 --- a/rpm/SPECS/shadowsocks-libev.spec.in +++ b/rpm/SPECS/shadowsocks-libev.spec.in @@ -84,7 +84,8 @@ fi /usr/share/doc/shadowsocks-libev/ss-server.html /usr/share/doc/shadowsocks-libev/ss-tunnel.html %{_bindir}/* -%{_libdir}/* +%{_libdir}/*.so.* +%{_libdir}/pkgconfig/*.pc %config(noreplace) %{_sysconfdir}/shadowsocks-libev/config.json %{_datadir}/bash-completion/completions/* %doc %{_mandir}/* @@ -100,12 +101,15 @@ fi Summary: Development files for shadowsocks-libev Group: Applications/Internet License: GPLv3+ +Requires: shadowsocks-libev == %{version}-%{release} %description devel Development files for shadowsocks-libev %files devel %{_includedir}/* +%{_libdir}/libshadowsocks-libev.la +%{_libdir}/libshadowsocks-libev.so %changelog