!4 delete no needed files

Merge pull request !4 from cuibb1/master
This commit is contained in:
openeuler-ci-bot 2020-07-27 15:42:59 +08:00 committed by Gitee
commit f10e165479

View File

@ -1,6 +1,6 @@
Name: nghttp2 Name: nghttp2
Version: 1.41.0 Version: 1.41.0
Release: 1 Release: 2
Summary: Contains the HTTP/2 client, server and proxy programs. Summary: Contains the HTTP/2 client, server and proxy programs.
License: MIT License: MIT
URL: https://nghttp2.org/ URL: https://nghttp2.org/
@ -8,9 +8,6 @@ Source0: https://github.com/nghttp2/nghttp2/releases/download/v%{version}
BuildRequires: CUnit-devel c-ares-devel gcc-c++ libev-devel openssl-devel BuildRequires: CUnit-devel c-ares-devel gcc-c++ libev-devel openssl-devel
BuildRequires: python3-devel systemd-devel zlib-devel BuildRequires: python3-devel systemd-devel zlib-devel
BuildRequires: libnghttp2 nghttp2
Provides: libnghttp2.so.14()(64bit)
Requires: libnghttp2 = %{version}-%{release} Requires: libnghttp2 = %{version}-%{release}
%{?systemd_requires} %{?systemd_requires}
@ -50,7 +47,6 @@ sed -e '1 s|^#!/.*python|&3|' -i script/fetch-ocsp-response
%make_install %make_install
install -d $RPM_BUILD_ROOT%{_unitdir} install -d $RPM_BUILD_ROOT%{_unitdir}
install -p -m0444 contrib/nghttpx.service $RPM_BUILD_ROOT%{_unitdir} install -p -m0444 contrib/nghttpx.service $RPM_BUILD_ROOT%{_unitdir}
cp -p %{_libdir}/libnghttp2.so.14.18.* $RPM_BUILD_ROOT%{_libdir}/
%delete_la %delete_la
%ldconfig_scriptlets -n libnghttp2 %ldconfig_scriptlets -n libnghttp2
@ -77,7 +73,6 @@ make %{?_smp_mflags} check
%files -n libnghttp2 %files -n libnghttp2
%defattr(-,root,root) %defattr(-,root,root)
%license COPYING %license COPYING
%{_libdir}/libnghttp2.so.14.18.*
%{_libdir}/libnghttp2.so.* %{_libdir}/libnghttp2.so.*
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
@ -94,6 +89,12 @@ make %{?_smp_mflags} check
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Mon Jul 27 2020 cuibaobao <cuibaobao1@huawei.com> - 1.41.0-2
- Type:fix in files
- ID:NA
- SUG:NA
- DESC:fix in files
* Thu Jul 23 2020 cuibaobao <cuibaobao1@huawei.com> - 1.41.0-1 * Thu Jul 23 2020 cuibaobao <cuibaobao1@huawei.com> - 1.41.0-1
- Type:update - Type:update
- ID:NA - ID:NA