Re: [Rpm-maint] [rpm-software-management/rpm] rpm's doFoo function tends to expand twice (#313)

2017-08-31 Thread Jeff Johnson
Um, yes, many of the doFoo() routines re-expand the substituted text.

How exactly do you expect recursive substitution to Just Work if that was not 
happening?!?

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


Re: [Rpm-maint] [rpm-software-management/rpm] Fail to check signature (#270)

2017-08-31 Thread Anselmo L. S. Melo
An update, I've contacted the maintainers of the internal signing service to 
obtain information about the rpm version used by their system to sign packages. 
I'll post an update as soon as I hear from them.

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


Re: [Rpm-maint] [rpm-software-management/rpm] rpm's doFoo function tends to expand twice (#313)

2017-08-31 Thread Michael Schroeder
(duplicating first comment to generate mail to rpm-maint)

Watch this:

```
$ rpm --define '%xxx /hello//world' --eval '%xxx'
/hello/%%/world
$ rpm --define '%xxx /hello//world' --eval '%{shrink:%xxx}'
/hello/%/world
$ rpm --define '%xxx /hello//world' --eval '%{dirname:%xxx}'
/hello/%
$ rpm --define '%xxx /hello//world' --eval '%{uncompress:%xxx}'
/usr/bin/cat /hello/%/world
$ rpm --define '%xxx /hello//world' --eval '%{quote:%xxx}'
\037/hello/%/world\037
```

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


[Rpm-maint] [rpm-software-management/rpm] rpm (#313)

2017-08-31 Thread Michael Schroeder


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


Re: [Rpm-maint] [rpm-software-management/rpm] Make queryformat array behavior consistent for all types (6adef6a)

2017-08-31 Thread Michael Schroeder
But isn't that going to break lots of existing scripts? I don't see the harm of 
allowing non-array tags like %{NAME} in array queries. (I.e. automatically add 
a '=' for non-array tags.)

-- 
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/commit/6adef6a3c729fc21ed2254bf2c557c2540995bf1#commitcomment-24000634___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Macro arguments do not support quoting (#222)

2017-08-31 Thread Panu Matilainen
Closed #222.

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


Re: [Rpm-maint] [rpm-software-management/rpm] Macro arguments do not support quoting (#222)

2017-08-31 Thread Panu Matilainen
Since there are no nice quote characters left, implemented with the help of a 
special %{quote:...} macro. It might not be the prettiest solution in existence 
but at least it makes it *possible* to quote the arguments without stepping on 
any existing uses I'd hope.

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