]> git.pld-linux.org Git - packages/dutimer.git/commitdiff
- added -build patch - pass CC, CXX
authordarekr <darekr@pld-linux.org>
Tue, 5 Dec 2006 17:21:25 +0000 (17:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- compile with -Wno-deprecated to avoid error

Changed files:
    dutimer.spec -> 1.21

dutimer.spec

index 321b99e1449cb9010c92d59b1903c57a1b4dd2d8..003c02e09fd66b5bfc58622534a9afe3034af3f1 100644 (file)
@@ -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
This page took 0.069464 seconds and 4 git commands to generate.