From 6ea9c3b8090c7d066afb11459e9728997307ccb0a3c82a7ef46a919bca7bde4c Mon Sep 17 00:00:00 2001 From: Hillwood Yang Date: Thu, 28 Sep 2017 03:18:17 +0000 Subject: [PATCH] Accepting request 529040 from home:hillwood:branches:server:proxy - Fix Request tag. OBS-URL: https://build.opensuse.org/request/show/529040 OBS-URL: https://build.opensuse.org/package/show/server:proxy/shadowsocks-libev?expand=0&rev=8 --- shadowsocks-libev.changes | 5 +++++ shadowsocks-libev.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/shadowsocks-libev.changes b/shadowsocks-libev.changes index bd597e3..1ee43c5 100644 --- a/shadowsocks-libev.changes +++ b/shadowsocks-libev.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 28 03:03:17 UTC 2017 - hillwood@opensuse.org + +- Fix Request tag. + ------------------------------------------------------------------- Tue Sep 19 02:26:24 UTC 2017 - hillwood@opensuse.org diff --git a/shadowsocks-libev.spec b/shadowsocks-libev.spec index 0801237..ec661e1 100644 --- a/shadowsocks-libev.spec +++ b/shadowsocks-libev.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%define libver 2 Name: shadowsocks-libev Version: 3.1.0 Release: 0 @@ -56,10 +57,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build shadowsocks-libev is a lightweight secured scoks5 proxy for embedded devices and low end boxes. -%package -n lib%{name}2 +%package -n lib%{name}%{libver} Summary: Libev port of Shadowsocks -%description -n lib%{name}2 +%description -n lib%{name}%{libver} shadowsocks-libev is a lightweight secured scoks5 proxy for embedded devices and low end boxes. @@ -80,7 +81,7 @@ This package provides Documents for it. %package devel Summary: Development headers for shadowsocks-libev Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} +Requires: lib%{name}%{libver} = %{version} %description devel shadowsocks-libev is a lightweight secured scoks5 proxy @@ -159,7 +160,7 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcshadowsocks-libev-tunnel %{_sbindir}/rcshadowsocks-libev-* %{_unitdir}/%{name}-*.service -%files -n lib%{name}2 +%files -n lib%{name}%{libver} %defattr(-,root,root) %{_libdir}/lib%{name}.so.*