Partial injection of build flags (rh#1548462)

This commit is contained in:
Parag Nemade 2018-03-07 17:12:05 +05:30
parent a0ef2bce51
commit 1feb87c5db
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- ttmkfdir-3.0.9.old/Makefile 2018-03-07 16:47:47.102558995 +0530
+++ ttmkfdir-3.0.9/Makefile 2018-03-07 16:57:46.484386555 +0530
@@ -29,6 +29,7 @@
CXX=g++
CXXFLAGS=-Wall -pedantic $(FREETYPE_INCL) $(DEBUG) $(OPTFLAGS)
LDFLAGS=$(FREETYPE_LIB) $(DEBUG) -lz
+override LDFLAGS += $(RPM_LD_FLAGS)
DESTDIR=
PREFIX=/usr

View File

@ -1,7 +1,7 @@
Summary: Utility to create fonts.scale files for truetype fonts
Name: ttmkfdir
Version: 3.0.9
Release: 53%{?dist}
Release: 54%{?dist}
# Only licensing attribution is in README, no version.
License: LGPLv2+
# This is a Red Hat maintained package which is specific to
@ -19,6 +19,7 @@ Patch7: ttmkfdir-3.0.9-encoding-dir.patch
Patch8: ttmkfdir-3.0.9-font-scale.patch
Patch9: ttmkfdir-3.0.9-bug434301.patch
Patch10:ttmkfdir-3.0.9-freetype-header-fix2.patch
Patch11:ttmkfdir-3.0.9-fedora-ldflags.patch
Source10: ttmkfdir.1
BuildRequires: freetype-devel >= 2.0
@ -49,6 +50,9 @@ cp -p %{SOURCE10} %{buildroot}%{_mandir}/man1/
%{_mandir}/man1/ttmkfdir.1.gz
%changelog
* Wed Mar 07 2018 Parag Nemade <pnemade AT redhat DOT com> - 3.0.9-54
- Partial injection of build flags (rh#1548462)
* Mon Feb 19 2018 Parag Nemade <pnemade AT redhat DOT com> - 3.0.9-53
- Add BuildRequires: gcc-c++ as per packaging guidelines
- Removed group tag