diff --git a/ttmkfdir-3.0.9-fedora-ldflags.patch b/ttmkfdir-3.0.9-fedora-ldflags.patch new file mode 100644 index 0000000..0c2f7b8 --- /dev/null +++ b/ttmkfdir-3.0.9-fedora-ldflags.patch @@ -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 diff --git a/ttmkfdir.spec b/ttmkfdir.spec index 8b50e17..ee7b361 100644 --- a/ttmkfdir.spec +++ b/ttmkfdir.spec @@ -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 - 3.0.9-54 +- Partial injection of build flags (rh#1548462) + * Mon Feb 19 2018 Parag Nemade - 3.0.9-53 - Add BuildRequires: gcc-c++ as per packaging guidelines - Removed group tag