Remove RPM Build Warning Caused by .spec File
This commit is contained in:
parent
5224bf20fd
commit
cbe7508197
@ -1,8 +1,7 @@
|
||||
Name: openresty-zlib
|
||||
Version: 1.2.11
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: The zlib compression library for OpenResty
|
||||
|
||||
Group: System Environment/Libraries
|
||||
|
||||
# /contrib/dotzlib/ have Boost license
|
||||
@ -23,24 +22,21 @@ AutoReqProv: no
|
||||
%description
|
||||
The zlib compression library for use by Openresty ONLY
|
||||
|
||||
|
||||
%package devel
|
||||
|
||||
Summary: Development files for OpenResty's zlib library
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
|
||||
%description devel
|
||||
Provides C header and static library for OpenResty's zlib library.
|
||||
|
||||
|
||||
%package asan
|
||||
Release: 14
|
||||
Summary: Clang AddressSanitizer version for the zlib compression library for OpenResty
|
||||
Group: System Environment/Libraries
|
||||
BuildRequires: libtool, clang, compiler-rt
|
||||
|
||||
|
||||
AutoReqProv: no
|
||||
%description asan
|
||||
The zlib compression library for use by Openresty ONLY. This is the clang AddressSanitizer build.
|
||||
@ -56,9 +52,8 @@ Requires: openresty-zlib-asan = %{version}-%{release}
|
||||
Provides C header and static library for OpenResty's clang AddressSanitizer version of zlib library.
|
||||
|
||||
%prep
|
||||
%setup -q -n zlib-%{version}
|
||||
%autosetup -n zlib-%{version} -p1
|
||||
|
||||
%patch99 -p1
|
||||
|
||||
%build
|
||||
bash ./copy-dir.sh
|
||||
@ -97,21 +92,18 @@ rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%attr(0755,root,root) %{zlib_prefix}/lib/libz.so*
|
||||
%{zlib_prefix}/lib/libz.so*
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%{zlib_prefix}/lib/*.a
|
||||
%{zlib_prefix}/include/zlib.h
|
||||
%{zlib_prefix}/include/zconf.h
|
||||
|
||||
%files asan
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%attr(0755,root,root) %{zlib_prefix_asan}/lib/libz.so*
|
||||
%{zlib_prefix_asan}/lib/libz.so*
|
||||
|
||||
|
||||
%files asan-devel
|
||||
@ -122,6 +114,9 @@ rm -rf %{buildroot}
|
||||
%{zlib_prefix_asan}/include/zconf.h
|
||||
|
||||
%changelog
|
||||
* Tue Jul 23 2024 xuguangmin <xuguangmin@kylinos.cn> - 1.2.11-5
|
||||
- Remove RPM Build Warning Caused by .spec File
|
||||
|
||||
* Thu Mar 24 2022 wulei <wulei80@huawei.com> - 1.2.11-4
|
||||
- Delete {?dist}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user