#1 Use __cc macro instead of hard-coding gcc
Merged 4 years ago by ekulik. Opened 4 years ago by tstellar.
rpms/ tstellar/container-exception-logger __cc  into  master

@@ -2,7 +2,7 @@ 

  

  Name: container-exception-logger

  Version: 1.0.3

- Release: 2%{?dist}

+ Release: 3%{?dist}

  Summary: Logging from a container to a host

  

  License: GPLv3+
@@ -24,7 +24,7 @@ 

  %setup -q

  

  %build

- gcc %{optflags} src/container-exception-logger.c -o src/container-exception-logger

+ %{__cc} %{optflags} src/container-exception-logger.c -o src/container-exception-logger

  a2x -d manpage -f manpage man/container-exception-logger.1.asciidoc

  

  %install
@@ -40,6 +40,9 @@ 

  %license COPYING

  

  %changelog

+ * Mon Jan 13 2020 Tom Stellard <tstellar@redhat.com> - 1.0.3-3

+ - Use __cc macro instead of hard-coding gcc

+ 

  * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

  

no initial comment

It might even be better to just run make instead.

Pull-Request has been merged by ekulik

4 years ago