Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Improved python version and operator handling. (#1015)

2020-01-22 Thread Gordon Messmer
gordonmessmer commented on this pull request. > +version_id = version_id[:-2] +version = RpmVersion(version_id) +lower_version = RpmVersion(version_id).increment() +else: +version = RpmVersion(version_id) +lower_version = version +return '(%s < %s

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Improved python version and operator handling. (#1015)

2020-01-22 Thread Gordon Messmer
gordonmessmer commented on this pull request. > +else: +rpm_epoch = '' +while self.version[-1] == 0: +self.version.pop() +rpm_version = '.'.join(str(x) for x in self.version) +if self.pre: +rpm_suffix = '~%s' % ''.join(str(x) fo

Re: [Rpm-maint] [rpm-software-management/rpm] Add %alias_provides() as a new "useful generic macro" (#614)

2020-01-22 Thread Michal Domonkos
(Please ignore the "mention" above, I used the wrong link there.) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/614#issuecomment-577103505_

Re: [Rpm-maint] [rpm-software-management/rpm] "rpmbuild -br --nodeps" returns 11 even though all dependencies are satisfied (#963)

2020-01-22 Thread Michal Domonkos
Note: Based on a chat with @praiskup, a fix (if any) should not happen until mock has fixed (worked around this) itself, otherwise we would run a risk of breaking it. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Improved python version and operator handling. (#1015)

2020-01-22 Thread Miro Hrončok
hroncok commented on this pull request. > +version_id = version_id[:-2] +version = RpmVersion(version_id) +lower_version = RpmVersion(version_id).increment() +else: +version = RpmVersion(version_id) +lower_version = version +return '(%s < %s or %s

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Improved python version and operator handling. (#1015)

2020-01-22 Thread Miro Hrončok
hroncok commented on this pull request. > +else: +rpm_epoch = '' +while self.version[-1] == 0: +self.version.pop() +rpm_version = '.'.join(str(x) for x in self.version) +if self.pre: +rpm_suffix = '~%s' % ''.join(str(x) for x in

Re: [Rpm-maint] [rpm-software-management/rpm] "rpmbuild -br --nodeps" returns 11 even though all dependencies are satisfied (#963)

2020-01-22 Thread Michal Domonkos
Reopened #963. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/963#event-2969273020___ Rpm-maint mailing list Rpm-maint@lists.r

Re: [Rpm-maint] [rpm-software-management/rpm] "rpmbuild -br --nodeps" returns 11 even though all dependencies are satisfied (#963)

2020-01-22 Thread Michal Domonkos
I think we should reconsider this one. Returning `RPMBUILD_MISSINGBUILDREQUIRES` when `--nodeps` is in effect [doesn't seem](https://github.com/rpm-software-management/mock/issues/434#issuecomment-577086572) right. -- You are receiving this because you are subscribed to this thread. Reply to t

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Improved python version and operator handling. (#1015)

2020-01-22 Thread Miro Hrončok
Thank you @gordonmessmer! I'll check out the code, but the results look promising. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1015#issuecomment-577084086__

Re: [Rpm-maint] [rpm-software-management/rpm] Add macros for default flags of file extractors. (#557)

2020-01-22 Thread Michal Domonkos
@ascherer Thanks for the fast reply! @pmatilai Do we want to pursue this change in the long run (and thus should keep it open)? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/p

Re: [Rpm-maint] [rpm-software-management/rpm] rpmbuild -br returns 11 even though all dependencies are satisfied (#963)

2020-01-22 Thread Igor Gnatenko
Closed #963. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/963#event-2969121023___ Rpm-maint mailing list Rpm-maint@lists.rpm