From a290091296b0469f0c74dc746cd47e09bac8a6ed Mon Sep 17 00:00:00 2001 From: Jochen Schmitt Date: Tue, 11 Oct 2005 17:16:37 +0000 Subject: [PATCH] Description: Fix typo in highlight-2.4-rpmoptflags.patch --- highlight-2.4-rpmoptflags.patch | 2 +- highlight.spec | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/highlight-2.4-rpmoptflags.patch b/highlight-2.4-rpmoptflags.patch index 18880b0..5be8e4b 100644 --- a/highlight-2.4-rpmoptflags.patch +++ b/highlight-2.4-rpmoptflags.patch @@ -5,7 +5,7 @@ CXX=c++ -CFLAGS := -O2 -Wall -pedantic -DHL_DATA_DIR=\"${HL_DATA_DIR}\" -+CFLAGS := $(RPM_OPTS_FLAG) -DHL_DATA_DIR=\"${HL_DATA_DIR}\" -DUSE_FN_MATCH ++CFLAGS := ${RPM_OPT_FLAGS} -DHL_DATA_DIR=\"${HL_DATA_DIR}\" -DUSE_FN_MATCH LDFLAGS = -L/usr/lib -s diff --git a/highlight.spec b/highlight.spec index be2b3d6..942d3c9 100644 --- a/highlight.spec +++ b/highlight.spec @@ -4,7 +4,7 @@ Name: highlight Summary: Universal source code to formatted text converter Version: %{hver}.%{lver} -Release: 2%{?dist} +Release: 3%{?dist} Group: Development/Tools License: GPL @@ -26,7 +26,7 @@ It is easily possible to create new language definitions and colour themes. %prep %setup -q -n %{name}-%{hver}-%{lver} -%patch1 -p1 -b .mak +%patch1 -p1 %patch2 -p1 %build @@ -52,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT %doc ChangeLog AUTHORS README* COPYING TODO examples/ %changelog +* Tue Oct 11 2005 Jochen Schmitt 2.4.2-3 +- Fix typo in highlight-2.4-rpmoptflags.patch + * Mon Oct 10 2005 Jochen Schmitt 2.4.2-2 - Use -DUSE_FN_MATCH