Re: Spaces in tarball directory name

2021-04-19 Thread Vitaly Zaitsev via devel

On 19.04.2021 04:28, Qiyu Yan wrote:

What if %autosetup -n Foo\ Bar-%{version} ?


Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fqLJUo
+ umask 022
+ cd /home/vitaly/rpmbuild/BUILD
+ cd /home/vitaly/rpmbuild/BUILD
+ rm -rf Foo
+ /usr/bin/gzip -dc /home/vitaly/rpmbuild/SOURCES/Foo.Bar-1.0.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Foo
/var/tmp/rpm-tmp.fqLJUo: line 39: cd: Foo: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.fqLJUo (%prep)

--
Sincerely,
  Vitaly Zaitsev (vit...@easycoding.org)
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Spaces in tarball directory name

2021-04-19 Thread Vitaly Zaitsev via devel

On 18.04.2021 22:46, Nico Kadel-Garcia wrote:

What tarball is this? Because that sort of cutesy tarball name is
well, not going to work well for any standard release software.


JetBrains Rider for example. Tarball name: 
"JetBrains.Rider-%{version}.tar.gz", directory name - "JetBrains 
Rider-%{version}".


--
Sincerely,
  Vitaly Zaitsev (vit...@easycoding.org)
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Spaces in tarball directory name

2021-04-18 Thread Qiyu Yan
在 2021-04-18星期日的 19:20 +0200,Vitaly Zaitsev via devel写道:
> Hello.
> 
> I have an upstream tarball with the "Foo Bar-1.0.0" directory name.
> Is 
> it possible to use spaces in the %autosetup/%setup macros?
> 
> Trying: %autosetup -n "Foo Bar-%{version}", but got an error:
What if %autosetup -n Foo\ Bar-%{version} ?
> 
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eAQck5
> + umask 022
> + cd /home/vitaly/rpmbuild/BUILD
> + cd /home/vitaly/rpmbuild/BUILD
> + rm -rf 'Foo  -q
> '
> + /usr/bin/gzip -dc /home/vitaly/rpmbuild/SOURCES/Foo.Bar-
> 1.0.0.tar.gz
> + /usr/bin/tar -xof -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd 'Foo  -q
> '
> /var/tmp/rpm-tmp.eAQck5: line 41: cd: $'Foo  -q\n': No such file or 
> directory
> error: Bad exit status from /var/tmp/rpm-tmp.eAQck5 (%prep)
> 
> -- 
> Sincerely,
>    Vitaly Zaitsev (vit...@easycoding.org)
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-
> US/project/code-of-conduct/
> List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproje
> ct.org
> Do not reply to spam on the list, report it:
> https://pagure.io/fedora-infrastructure



signature.asc
Description: This is a digitally signed message part
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Spaces in tarball directory name

2021-04-18 Thread Nico Kadel-Garcia
On Sun, Apr 18, 2021 at 1:47 PM Neal Gompa  wrote:
>
> On Sun, Apr 18, 2021 at 1:21 PM Vitaly Zaitsev via devel
>  wrote:
> >
> > Hello.
> >
> > I have an upstream tarball with the "Foo Bar-1.0.0" directory name. Is
> > it possible to use spaces in the %autosetup/%setup macros?

What tarball is this? Because that sort of cutesy tarball name is
well, not going to work well for any standard release software.

Nico Kadel-Garcia
y to spam on the list, report it: https://pagure.io/fedora-infrastructure
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Spaces in tarball directory name

2021-04-18 Thread Vitaly Zaitsev via devel

On 18.04.2021 19:46, Neal Gompa wrote:

I don't think I've ever seen such a thing, but that's not a reason for
it to not work. It's definitely a bug that it doesn't work, and I'd
suggest filing a bug with rpm upstream about it:
https://github.com/rpm-software-management/rpm/issues


Done: https://github.com/rpm-software-management/rpm/issues/1644

--
Sincerely,
  Vitaly Zaitsev (vit...@easycoding.org)
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Spaces in tarball directory name

2021-04-18 Thread Neal Gompa
On Sun, Apr 18, 2021 at 1:21 PM Vitaly Zaitsev via devel
 wrote:
>
> Hello.
>
> I have an upstream tarball with the "Foo Bar-1.0.0" directory name. Is
> it possible to use spaces in the %autosetup/%setup macros?
>
> Trying: %autosetup -n "Foo Bar-%{version}", but got an error:
>
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eAQck5
> + umask 022
> + cd /home/vitaly/rpmbuild/BUILD
> + cd /home/vitaly/rpmbuild/BUILD
> + rm -rf 'Foo  -q
> '
> + /usr/bin/gzip -dc /home/vitaly/rpmbuild/SOURCES/Foo.Bar-1.0.0.tar.gz
> + /usr/bin/tar -xof -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd 'Foo  -q
> '
> /var/tmp/rpm-tmp.eAQck5: line 41: cd: $'Foo  -q\n': No such file or
> directory
> error: Bad exit status from /var/tmp/rpm-tmp.eAQck5 (%prep)
>

I don't think I've ever seen such a thing, but that's not a reason for
it to not work. It's definitely a bug that it doesn't work, and I'd
suggest filing a bug with rpm upstream about it:
https://github.com/rpm-software-management/rpm/issues



-- 
真実はいつも一つ!/ Always, there's only one truth!
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Spaces in tarball directory name

2021-04-18 Thread Vitaly Zaitsev via devel

Hello.

I have an upstream tarball with the "Foo Bar-1.0.0" directory name. Is 
it possible to use spaces in the %autosetup/%setup macros?


Trying: %autosetup -n "Foo Bar-%{version}", but got an error:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eAQck5
+ umask 022
+ cd /home/vitaly/rpmbuild/BUILD
+ cd /home/vitaly/rpmbuild/BUILD
+ rm -rf 'Foo  -q
'
+ /usr/bin/gzip -dc /home/vitaly/rpmbuild/SOURCES/Foo.Bar-1.0.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd 'Foo  -q
'
/var/tmp/rpm-tmp.eAQck5: line 41: cd: $'Foo  -q\n': No such file or 
directory

error: Bad exit status from /var/tmp/rpm-tmp.eAQck5 (%prep)

--
Sincerely,
  Vitaly Zaitsev (vit...@easycoding.org)
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure