Greetings,
I'm packaging an updated version of mediawiki-semantic. Tt seems the upstream source URL now contains spaces [1] (%20). Up to now, I've been including the URL [1] with appropriate URL escape code (%20) to replace the spaces.
Source0: http://downloads.sourceforge.net/project/semediawiki/semediawiki/Semantic%20...
This worked fine for mock, but seems to be insufficient when built through koji [2]. I can provide commented-out instructions for extracting an archive from upstream source control. However, I prefer a direct link to the upstream tarball.
Anyone have suggestions?
Thanks, James
[1] http://sourceforge.net/projects/semediawiki/files/semediawiki/Semantic% 20MediaWiki%201.8.0.4/Semantic%20MediaWiki%201.8.0.4.zip/download [2] http://koji.fedoraproject.org/koji/getfile?taskID=5091047&name=root.log&...
On Thu, 07 Mar 2013 10:36:22 -0500, James Laska wrote:
Greetings,
I'm packaging an updated version of mediawiki-semantic. Tt seems the upstream source URL now contains spaces [1] (%20). Up to now, I've been including the URL [1] with appropriate URL escape code (%20) to replace the spaces.
Source0: http://downloads.sourceforge.net/project/semediawiki/semediawiki/Semantic%20...
This worked fine for mock, but seems to be insufficient when built through koji [2]. I can provide commented-out instructions for extracting an archive from upstream source control. However, I prefer a direct link to the upstream tarball.
Anyone have suggestions?
$ cat sources ce5730523d0ebc98b0e978d170e93247 Semantic%2520MediaWiki%25201.8.0.4.zip
http://pkgs.fedoraproject.org/repo/pkgs/mediawiki-semantic/Semantic%2520Medi...
On Thu, 2013-03-07 at 20:14 +0100, Michael Schwendt wrote:
On Thu, 07 Mar 2013 10:36:22 -0500, James Laska wrote:
Greetings,
I'm packaging an updated version of mediawiki-semantic. Tt seems the upstream source URL now contains spaces [1] (%20). Up to now, I've been including the URL [1] with appropriate URL escape code (%20) to replace the spaces.
Source0: http://downloads.sourceforge.net/project/semediawiki/semediawiki/Semantic%20...
This worked fine for mock, but seems to be insufficient when built through koji [2]. I can provide commented-out instructions for extracting an archive from upstream source control. However, I prefer a direct link to the upstream tarball.
Anyone have suggestions?
$ cat sources ce5730523d0ebc98b0e978d170e93247 Semantic%2520MediaWiki%25201.8.0.4.zip
http://pkgs.fedoraproject.org/repo/pkgs/mediawiki-semantic/Semantic%2520Medi...
Thanks for the tip! My previous attempt to escape the '%' via "%25%20" wasn't sufficient. This works, but man is it ugly :)
Thanks, James
On Fri, 08 Mar 2013 08:46:10 -0500, James Laska wrote:
Source0: http://downloads.sourceforge.net/project/semediawiki/semediawiki/Semantic%20...
This worked fine for mock, but seems to be insufficient when built through koji [2]. I can provide commented-out instructions for extracting an archive from upstream source control. However, I prefer a direct link to the upstream tarball.
Anyone have suggestions?
$ cat sources ce5730523d0ebc98b0e978d170e93247 Semantic%2520MediaWiki%25201.8.0.4.zip
http://pkgs.fedoraproject.org/repo/pkgs/mediawiki-semantic/Semantic%2520Medi...
Thanks for the tip! My previous attempt to escape the '%' via "%25%20" wasn't sufficient. This works, but man is it ugly :)
It's ugly, because it only adjusts to what is found in the directories at:
http://pkgs.fedoraproject.org/repo/pkgs/mediawiki-semantic/ -> http://pkgs.fedoraproject.org/repo/pkgs/mediawiki-semantic/Semantic%2520Medi...
The zip file there does not contain any spaces. And it does not explain why and when escaping has been applied [before]. The "sources" file ought to handle space characters just fine.
packaging@lists.fedoraproject.org