Re: RPM build error on Rawhide

2021-06-03 Thread Panu Matilainen

On 6/3/21 1:28 PM, Vitaly Zaitsev via devel wrote:

On 6/3/21 12:20 PM, Miroslav Suchý wrote:

You can try with:
rpm --eval '%{_javadir}/pycharm-community'


F34:

$ rpm --eval '%{_javadir}/pycharm-community'
/usr/share/java/pycharm-community

On Rawhide it doesn't exists. Maybe it was extracted to a separate 
*-macros package?




Yep:

[pmatilai🎩︎lumikko ~]$ grep _javadir /usr/lib/rpm/macros.d/*
/usr/lib/rpm/macros.d/macros.javapackages-filesystem:%_javadir 
%{_datadir}/java
[pmatilai🎩︎lumikko ~]$ rpm -qf 
/usr/lib/rpm/macros.d/macros.javapackages-filesystem

javapackages-filesystem-5.3.0-13.fc33.noarch

- Panu -
___
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: RPM build error on Rawhide

2021-06-03 Thread Vitaly Zaitsev via devel

On 6/3/21 12:20 PM, Miroslav Suchý wrote:

Common culprit is that this macro is not defined.


Adding BuildRequires: javapackages-filesystem fixed issue for me.

--
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: RPM build error on Rawhide

2021-06-03 Thread Vitaly Zaitsev via devel

On 6/3/21 12:20 PM, Miroslav Suchý wrote:

You can try with:
rpm --eval '%{_javadir}/pycharm-community'


F34:

$ rpm --eval '%{_javadir}/pycharm-community'
/usr/share/java/pycharm-community

On Rawhide it doesn't exists. Maybe it was extracted to a separate 
*-macros package?


--
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: RPM build error on Rawhide

2021-06-03 Thread Miroslav Suchý

Dne 03. 06. 21 v 12:03 Vitaly Zaitsev via devel napsal(a):

Hello all.

RPM build errors:
    File must begin with "/": %{_javadir}/pycharm-community

F33 and F34 were built fine.


Common culprit is that this macro is not defined.

It then expand to '%{_javadir}/pycharm-community'. LIteraly.


You can try with:

rpm --eval '%{_javadir}/pycharm-community'


Miroslav
___
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


RPM build error on Rawhide

2021-06-03 Thread Vitaly Zaitsev via devel

Hello all.

RPM build errors:
File must begin with "/": %{_javadir}/pycharm-community

F33 and F34 were built fine.

--
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