Closed Artoria2e5 closed 9 years ago
How about foo < $PKGVER?
-----原始邮件----- 发件人: "Mingye Wang" notifications@github.com 发送时间: 2014/10/26 20:13 收件人: "AOSC-Dev/autobuild3" autobuild3@noreply.github.com 主题: [autobuild3] Try to wrap up replace in rpm (#6)
PKGREP is not working in rpm, and rpm does not has a replace field. obsolete may be a solution but it requires something to do with the version number.
I am actually afraid that autobuild will use change its define variable pattern to support this. — Reply to this email directly or view it on GitHub.
@MingCongBai Shall we consider the use of a metapackage? Btw we need something like vercmp
in PKGBUILD, which should work like sort -V
.
@MingCongBai Shall we consider the use of a metapackage? Btw we need something like vercmp
in PKGBUILD, which should work like sort -V
.
meta of what?
-----原始邮件----- 发件人: "Mingye Wang" notifications@github.com 发送时间: 2014/10/26 20:29 收件人: "AOSC-Dev/autobuild3" autobuild3@noreply.github.com 抄送: "Jeff Bai" jeffbaichina@members.fsf.org 主题: Re: [autobuild3] Try to wrap up replace in rpm (#6)
@MingCongBai Shall we consider the use of a metapackage? Btw we need something like vercmp in PKGBUILD, which should work like sort -V. — Reply to this email directly or view it on GitHub.
@MingcongBai
if cannot obsolete, then
Build an empty package with description `Replaced by foo`
Btw Make it dependent on foo
Not necessarily a good idea...
-----原始邮件----- 发件人: "Mingye Wang" notifications@github.com 发送时间: 2014/10/26 20:37 收件人: "AOSC-Dev/autobuild3" autobuild3@noreply.github.com 抄送: "Jeff Bai" jeffbaichina@members.fsf.org 主题: Re: [autobuild3] Try to wrap up replace in rpm (#6)
@MingcongBai
if cannot obsolete, then
Build an empty package with description Replaced by foo
Btw Make it dependent on foo
—
Reply to this email directly or view it on GitHub.
Done.
Done, with Obsolete flag. Which works as proven.
PKGREP is not working in rpm, and rpm does not has a replace field.
obsolete may be a solution but it requires something to do with the version number.
I am actually afraid that autobuild will use change its define variable pattern to support this.