From d9117bb4510709e80ac1b525f1df346b86068b93316f3cde4741d9f301554376 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 30 Dec 2017 16:16:19 +0000 Subject: [PATCH] Accepting request 560736 from home:jengelh:branches:server:proxy - Instad of removing static libs after the fact, do not even build them in the first place. - Fix RPM groups and spelling errors in the description. OBS-URL: https://build.opensuse.org/request/show/560736 OBS-URL: https://build.opensuse.org/package/show/server:proxy/shadowsocks-libev?expand=0&rev=13 --- shadowsocks-libev.changes | 7 +++++++ shadowsocks-libev.spec | 25 ++++++++++++------------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/shadowsocks-libev.changes b/shadowsocks-libev.changes index b9679ec..dbc7746 100644 --- a/shadowsocks-libev.changes +++ b/shadowsocks-libev.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Dec 30 09:14:46 UTC 2017 - jengelh@inai.de + +- Instad of removing static libs after the fact, do not even build + them in the first place. +- Fix RPM groups and spelling errors in the description. + ------------------------------------------------------------------- Fri Dec 29 13:39:37 UTC 2017 - hillwood@opensuse.org diff --git a/shadowsocks-libev.spec b/shadowsocks-libev.spec index 68d239a..6080669 100644 --- a/shadowsocks-libev.spec +++ b/shadowsocks-libev.spec @@ -55,16 +55,16 @@ Recommends: simple-obfs BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -shadowsocks-libev is a lightweight secured scoks5 proxy -for embedded devices and low end boxes. +shadowsocks-libev is a lightweight secured SOCKS5 proxy +for embedded devices and low-end boxes. %package -n lib%{name}%{libver} Summary: Libev port of Shadowsocks -Group: Productivity/Networking/Web/Proxy +Group: System/Libraries %description -n lib%{name}%{libver} -shadowsocks-libev is a lightweight secured scoks5 proxy -for embedded devices and low end boxes. +shadowsocks-libev is a lightweight secured SOCKS5 proxy +for embedded devices and low-end boxes. This package provides libraries for it. @@ -75,8 +75,8 @@ Requires: %{name} = %{version} BuildArch: noarch %description doc -shadowsocks-libev is a lightweight secured scoks5 proxy -for embedded devices and low end boxes. +shadowsocks-libev is a lightweight secured SOCKS5 proxy +for embedded devices and low-end boxes. This package provides Documents for it. @@ -86,8 +86,8 @@ Group: Development/Libraries/C and C++ Requires: lib%{name}%{libver} = %{version} %description devel -shadowsocks-libev is a lightweight secured scoks5 proxy -for embedded devices and low end boxes. +shadowsocks-libev is a lightweight secured SOCKS5 proxy +for embedded devices and low-end boxes. This package provides development headers for it. @@ -95,14 +95,13 @@ This package provides development headers for it. %setup -q %build -%configure --prefix=%{_prefix} \ - --enable-shared -make %{?_smp_mflags} +%configure --enable-shared +make %{?_smp_mflags} V=1 %install %make_install -rm -rf %{buildroot}%{_libdir}/*.{a,la} +rm -rf %{buildroot}/%{_libdir}/*.la install -d %{buildroot}%{_sysconfdir}/shadowsocks/ install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/shadowsocks/