Re: [Rpm-maint] [rpm-software-management/rpm] %1 in parametric generator contains doubled %{buildroot} (#1162)

2020-04-06 Thread Panu Matilainen
Closed #1162 via #1165.

-- 
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/1162#event-3204580420___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] %1 in parametric generator contains doubled %{buildroot} (#1162)

2020-04-05 Thread Igor Gnatenko
Fixed as one of commits in 
https://github.com/rpm-software-management/rpm/pull/1163.

-- 
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/1162#issuecomment-609431106___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] %1 in parametric generator contains doubled %{buildroot} (#1162)

2020-04-05 Thread Igor Gnatenko
I was trying to port desktop generator to a parametric macro, but hit the 
problem that `rpm.expand("%1")` results into 
`/home/brain/rpmbuild/BUILDROOT/hello-1-1.fc33.x86_64//home/brain/rpmbuild/BUILDROOT/hello-1-1.fc33.x86_64/usr/share/applications/org.gnome.Terminal.desktop`.

As you can see, the BUILDROOT part is twice there.

This seems like a very trivial fix. I'll send PR.

-- 
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/1162___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint