Re: Need assistance to build LuxCoreRender

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le samedi 03 novembre 2018 à 15:13 -0700, Luya Tshimbalanga a écrit :
Hi,

>Source0:   
> 
> https://github.com/%{name}/LuxCore/archive/luxcorerender_v%{version}.tar.gz
> Source1:   
> https://github.com/%{name}/BlendLuxCore/archive/blendluxcore_v%{version}.tar.gz
> Patch0:        %{name}-cmake-python.patch

You could probably do something like

Name:               luxcorerender
Version:            2.1
%global
prerelease  beta1
%global forgeurl0   https://github.com/%{name}/LuxCore
%global tag0        v%{version}%{?prerelease}

%global forgeurl1   https://github.com/%{name}/BlendLuxCore
%global tag1        blendluxcore_%{tag0}

%forgemeta -a


[…]
Source0:        %{forgesource0}
Source1:        %{forgesource1}

[…]

%prep
%forgesetup -a
%patch0 -p1

With the redhat-rpm-config in rawhide. At least that works fine in a
test spec, but not when injected in yours, because the dos end of lines
in your file cause rpmspec to go bonkers

$ rpmspec -P luxcorerender.spec 
'orgemeta: invalid option -- '
 in forgemeta(az:sviu:)
error: line 13: %forgemeta -a

Regards,

-- 
Nicolas Mailhot
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux