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
This commit is contained in:
Martin Pluskal 2017-12-30 16:16:19 +00:00 committed by Git OBS Bridge
parent c48473e4e0
commit d9117bb451
2 changed files with 19 additions and 13 deletions

View File

@ -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 Fri Dec 29 13:39:37 UTC 2017 - hillwood@opensuse.org

View File

@ -55,16 +55,16 @@ Recommends: simple-obfs
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
shadowsocks-libev is a lightweight secured scoks5 proxy shadowsocks-libev is a lightweight secured SOCKS5 proxy
for embedded devices and low end boxes. for embedded devices and low-end boxes.
%package -n lib%{name}%{libver} %package -n lib%{name}%{libver}
Summary: Libev port of Shadowsocks Summary: Libev port of Shadowsocks
Group: Productivity/Networking/Web/Proxy Group: System/Libraries
%description -n lib%{name}%{libver} %description -n lib%{name}%{libver}
shadowsocks-libev is a lightweight secured scoks5 proxy shadowsocks-libev is a lightweight secured SOCKS5 proxy
for embedded devices and low end boxes. for embedded devices and low-end boxes.
This package provides libraries for it. This package provides libraries for it.
@ -75,8 +75,8 @@ Requires: %{name} = %{version}
BuildArch: noarch BuildArch: noarch
%description doc %description doc
shadowsocks-libev is a lightweight secured scoks5 proxy shadowsocks-libev is a lightweight secured SOCKS5 proxy
for embedded devices and low end boxes. for embedded devices and low-end boxes.
This package provides Documents for it. This package provides Documents for it.
@ -86,8 +86,8 @@ Group: Development/Libraries/C and C++
Requires: lib%{name}%{libver} = %{version} Requires: lib%{name}%{libver} = %{version}
%description devel %description devel
shadowsocks-libev is a lightweight secured scoks5 proxy shadowsocks-libev is a lightweight secured SOCKS5 proxy
for embedded devices and low end boxes. for embedded devices and low-end boxes.
This package provides development headers for it. This package provides development headers for it.
@ -95,14 +95,13 @@ This package provides development headers for it.
%setup -q %setup -q
%build %build
%configure --prefix=%{_prefix} \ %configure --enable-shared
--enable-shared make %{?_smp_mflags} V=1
make %{?_smp_mflags}
%install %install
%make_install %make_install
rm -rf %{buildroot}%{_libdir}/*.{a,la} rm -rf %{buildroot}/%{_libdir}/*.la
install -d %{buildroot}%{_sysconfdir}/shadowsocks/ install -d %{buildroot}%{_sysconfdir}/shadowsocks/
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/shadowsocks/ install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/shadowsocks/