[rpms/perl-Test-Differences] PR #1: Fix version handling for build with different locales set

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

 



mspacek commented on the pull-request: `Fix version handling for build with different locales set` that you are following:
``
> Is it not sufficient just to change `%(printf` to `%(LANG=C printf`?

It's possible. The question is what is better? :-) What do you think?

I was looking at other spec files.

My proposal is (similar in perl-PDL.spec and some others):
```
%global cpan_version 0.71            
Version:        0.7100
```
or 
```
%global cpan_version 0.71         
Version:        %(LANG=C printf "%.4f" %{cpan_version})
```

I personally prefer the first version without shell usage.

cpan_version variable is used in 56 spec files. It's fine to follow.
``

To reply, visit the link below
https://src.fedoraproject.org/rpms/perl-Test-Differences/pull-request/1
-- 
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite Information]

  Powered by Linux