how to write Source directive for tinyerp

Ruben Kerkhof ruben at rubenkerkhof.com
Thu Dec 21 19:40:06 UTC 2006


On 21-dec-2006, at 20:03, Dan Horák wrote:

> http://tinyerp.com/component/option,com_vfm/Itemid,61/do,download/ 
> file,stable|source|tinyerp-server-%{version}.tar.gz/

It seems that CMS send the file as an attachment:

wget -S http://tinyerp.com/component/option,com_vfm/Itemid,61/ 
do,download/file,stable%7Csource%7Ctinyerp-server-4.0.0.tar.gz/
--20:30:20--  http://tinyerp.com/component/option,com_vfm/Itemid,61/ 
do,download/file,stable%7Csource%7Ctinyerp-server-4.0.0.tar.gz/
Resolving tinyerp.com... 213.251.162.133
Connecting to tinyerp.com|213.251.162.133|:80... connected.
HTTP request sent, awaiting response...
   HTTP/1.1 200 OK
   Date: Thu, 21 Dec 2006 19:30:21 GMT
   Server: Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4  
mod_auth_gforge/0.5.9.3 mod_python/3.1.3 Python/2.2.3+ PHP/4.3.10-16  
proxy_html/2.4 mod_ssl/2.0.54 OpenSSL/0.9.7e
   X-Powered-By: PHP/4.3.10-16
   Set-Cookie: 760a10f3bdc545733a99d27fe410c198=-; path=/
   Set-Cookie: mosvisitor=1
   Set-Cookie: PHPSESSID=d600a1ba4dd195aa65f5ca692c2efc1e; path=/
   Expires: Thu, 19 Nov 1981 08:52:00 GMT
   Cache-Control: public
   Pragma: no-cache
   Content-Disposition: attachment; filename="tinyerp- 
server-4.0.0.tar.gz"
   Accept-Ranges: bytes
   Content-Range: bytes 0-2984162/2984163
   Content-Length: 2984163
   Keep-Alive: timeout=8, max=1000
   Connection: Keep-Alive
   Content-Type: application/force-download
Length: 2984163 (2.8M) [application/force-download]
Saving to: `tinyerp-server-4.0.0.tar.gz'

I'm pretty sure rpm can't handle that.

Ruben




More information about the fedora-extras-list mailing list