diff --git a/corkscrew.spec b/corkscrew.spec index 9ffd62b..643068b 100644 --- a/corkscrew.spec +++ b/corkscrew.spec @@ -1,17 +1,17 @@ -Summary: Tool for tunneling SSH through HTTP proxies -Name: corkscrew -Version: 2.0 -Release: 6%{dist} -License: GPLv2 -Group: Applications/Internet -URL: http://www.agroman.net/corkscrew/ -Source0: http://www.agroman.net/corkscrew/%{name}-%{version}.tar.gz -Source1: %{name}.1 +Summary: Tool for tunneling SSH through HTTP proxies +Name: corkscrew +Version: 2.0 +Release: 7%{?dist} +License: GPLv2 +Group: Applications/Internet +URL: http://www.agroman.net/corkscrew/ +Source0: http://www.agroman.net/corkscrew/%{name}-%{version}.tar.gz +Source1: %{name}.1 -Patch0: %{name}-%{version}-from-debian.patch -Patch1: %{name}-%{version}-typo.patch +Patch0: %{name}-%{version}-from-debian.patch +Patch1: %{name}-%{version}-typo.patch -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description Corkscrew is a tool for tunneling SSH through HTTP proxies. @@ -35,21 +35,29 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 -make install DESTDIR=$RPM_BUILD_ROOT +make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT # man page -install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1 +install -p -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO +%doc AUTHORS +%doc ChangeLog +%doc COPYING +%doc README +%doc TODO %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.gz %changelog +* Fri Nov 16 2007 Debarshi Ray - 2.0-7 +- Fixed the value of Release according to Fedora dist tag guidelines. +- Preserved timestamps using 'install -p'. + * Fri Aug 03 2007 Debarshi Ray - 2.0-6 - Moved the online manual page from Patch0 to Source1.