From 86e5992205666e67803b1670e00cbc702b9636f2 Mon Sep 17 00:00:00 2001 From: darekr Date: Tue, 5 Dec 2006 17:21:25 +0000 Subject: [PATCH] - added -build patch - pass CC, CXX - compile with -Wno-deprecated to avoid error Changed files: dutimer.spec -> 1.21 --- dutimer.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dutimer.spec b/dutimer.spec index 321b99e..003c02e 100644 --- a/dutimer.spec +++ b/dutimer.spec @@ -7,6 +7,7 @@ License: GPL Group: Networking Source0: ftp://viii-lo.krakow.pl/pub/linux/dutimer/%{name}-v%{version}-linux.tar.gz # Source0-md5: 77747b471458ab769cfe7a198b2ac26c +Patch0: %{name}-build.patch URL: http://dutimer.viii-lo.krakow.pl/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -18,9 +19,12 @@ Dial Up Timer wy %prep %setup -q +%patch0 -p1 %build -%{__make} pl +%{__make} pl \ + CC="%{__cc} %{rpmcflags}" \ + CXX="%{__cxx} %{rpmcxxflags} -Wno-deprecated" %install rm -rf $RPM_BUILD_ROOT -- 2.44.0