#20 Use %set_build_flags macro
Closed 2 years ago by jorton. Opened 2 years ago by tbaeder.
rpms/ tbaeder/httpd rawhide  into  rawhide

file modified
+5 -3
@@ -13,7 +13,7 @@ 

  Summary: Apache HTTP Server

  Name: httpd

  Version: 2.4.52

- Release: 5%{?dist}

+ Release: 6%{?dist}

  URL: https://httpd.apache.org/

  Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2

  Source1: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2.asc
@@ -301,8 +301,7 @@ 

  %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/httpd/build:g" \

          support/apxs.in

  

- export CFLAGS=$RPM_OPT_FLAGS

- export LDFLAGS="-Wl,-z,relro,-z,now"

+ %set_build_flags

  

  # Hard-code path to links to avoid unnecessary builddep

  export LYNX_PATH=/usr/bin/links
@@ -790,6 +789,9 @@ 

  %{_rpmconfigdir}/macros.d/macros.httpd

  

  %changelog

+ * Fir Mar 04 2022 Timm Bäder <tbaeder@redhat.com> - 2.4.52-6

+ - Use %%set_build_flags macro

+ 

  * Tue Feb  1 2022 Joe Orton <jorton@redhat.com> - 2.4.52-5

  - rebuild for new OpenLDAP (#2032699)

  

Instead of harcoding the $LDFLAGS, use them from the environment.

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Looks sensible, can you rebase to current rawhide?

rebased onto 8564d18

2 years ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Pull-Request has been closed by jorton

2 years ago
Metadata