- Update to 1.9.1
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nghttp2?expand=0&rev=52
This commit is contained in:
committed by
Git OBS Bridge
parent
dbe016dfdc
commit
7594387cca
16
nghttp2.spec
16
nghttp2.spec
@@ -21,7 +21,7 @@
|
||||
%define soname_asio libnghttp2_asio
|
||||
%define sover_asio 1
|
||||
Name: nghttp2
|
||||
Version: 1.8.0
|
||||
Version: 1.9.1
|
||||
Release: 0
|
||||
Summary: Implementation of Hypertext Transfer Protocol version 2 in C
|
||||
License: MIT
|
||||
@@ -39,6 +39,7 @@ BuildRequires: jemalloc-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python-Cython
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: pkgconfig(cunit)
|
||||
@@ -113,7 +114,7 @@ HTTP/2 client, server and proxy.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch0
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
@@ -123,24 +124,21 @@ autoreconf -fiv
|
||||
--enable-asio-lib \
|
||||
--enable-app \
|
||||
--enable-python-bindings
|
||||
|
||||
make %{?_smp_mflags} all html
|
||||
pushd python
|
||||
make %{?_smp_mflags} nghttp2.c
|
||||
python2 setup.py build
|
||||
python setup.py build
|
||||
popd
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
pushd python
|
||||
python2 setup.py install \
|
||||
--root=%{buildroot} --prefix=%{_prefix}
|
||||
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||
popd
|
||||
|
||||
# Move to the correct directory.
|
||||
mkdir -p %{buildroot}%{_docdir}/
|
||||
mv -f %{buildroot}%{_datadir}/doc/%{name}/ %{buildroot}%{_docdir}/%{name}-doc/
|
||||
mkdir -p %{buildroot}%{_docdir}
|
||||
mv -f %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}-doc
|
||||
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
|
Reference in New Issue
Block a user