diff --git a/bzip2.spec b/bzip2.spec index 689ef81a80143f0810021f2999ff52623bcf37d5..cb42dae69f7e51f4ca2b1bc8719dd272588a15ad 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -1,6 +1,6 @@ Name: bzip2 Version: 1.0.8 -Release: 5 +Release: 6 Summary: A high-quality data compressor License: BSD @@ -10,6 +10,7 @@ Source1: bzip2.pc Patch0: 0001-add-compile-option.patch Patch1: 0002-CVE-2019-12900.patch +Patch2: 0003-support-clang.patch BuildRequires: gcc @@ -40,6 +41,7 @@ header files for bzip2 %make_build -f Makefile-libbz2_so "CFLAGS=%{optflags} -Winline -fpic -fPIC -D_FILE_OFFSET_BITS=64" %make_build "CFLAGS=%{optflags} -fpic -fPIC -Winline -D_FILE_OFFSET_BITS=64" + %install rm -rf %RPM_BUILD_ROOT %make_install PREFIX=%{buildroot}%{_prefix} @@ -90,6 +92,9 @@ make check %{_mandir}/man1/b*.1.gz %changelog +* Fri Apr 14 2023 jammyjellyfish - 1.0.8-6 +- Support specify CC + * Tue Sep 20 2022 zhoupengcheng - 1.0.8-5 - Delete redundant .so files