From 20c46e375647d5375f78d1bd191e77cb6378452a Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Sun, 10 Aug 2008 01:20:26 +0000 Subject: [PATCH] Some more improvements. git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@239 bc163920-b10d-0410-b2c5-a5491ca2ceef --- Makefile | 3 ++- contrib/proxytunnel.spec | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index dc5bf1f..e4b9b3e 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,8 @@ CC ?= cc CFLAGS ?= -Wall -O2 -ggdb -OPTFLAGS = -DREVISION=\"$(shell svnversion | awk 'BEGIN { RS=":" } { next } END { print $$1 }')\" +#OPTFLAGS = -DREVISION=\"$(shell svnversion | awk 'BEGIN { RS=":" } { next } END { print $$1 }')\" +OPTFLAGS = -DREVISION=\"$(shell echo '$Revision: 234$' | sed -e 's/\$Revision: \([0-9]\+\)\$$/\1/')\" # Comment on non-gnu systems OPTFLAGS += -DHAVE_GETOPT_LONG diff --git a/contrib/proxytunnel.spec b/contrib/proxytunnel.spec index dd1629b..0c0493d 100644 --- a/contrib/proxytunnel.spec +++ b/contrib/proxytunnel.spec @@ -10,7 +10,7 @@ License: GPL Group: Applications/Internet URL: http://proxytunnel.sourceforge.net/ -Source: http://dl.sf.net/proxytunnel/proxytunnel-%{version}.tgz +Source: http://dl.sf.net/proxytunnel/proxytunnel-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: openssl-devel @@ -40,14 +40,14 @@ proxy authentication. %install %{__rm} -rf %{buildroot} -%{__make} install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" +%{__make} install DESTDIR="%{buildroot}" prefix="%{_prefix}" %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) -%doc CHANGES CREDITS INSTALL KNOWN_ISSUES LICENSE.txt README REL_NOTES TODO docs/*.txt docs/*.html +%doc CHANGES CREDITS INSTALL KNOWN_ISSUES LICENSE.txt README RELNOTES TODO docs/*.txt docs/*.html %doc %{_mandir}/man1/proxytunnel.1* %{_bindir}/proxytunnel