Vít Ondruch

Results 263 comments of Vít Ondruch

IOW this is what the heading says: ~~~ $ rpm -E "%{lua:rpm.define('foo', '1')}" -E "%foo" error: Macro %foo has empty body error: lua script failed: [string ""]:1: error defining macro...

For the context, I have stumbled upon this issue playing with #2969 and my initial idea was to assign the whole macro body including the new lines to some macro...

I know I had my own #570 where I already proposed 3 possibilities: ~~~ Source0: ftp://ftp.example.com/pub/foo/%{name}-%{version}.tar.gz Checksum0: SHA512 = 2c8211ae5f1578502dc9b29babe7d03ec61f500b3c2dd309be2bbd34fd194abba29d95812e7dab4bfacda13e342323921663464bab4cbf4af0a198e8437233f4 Source0: SHA512 (ftp://ftp.example.com/pub/foo/%{name}-%{version}.tar.gz) = 31bacf58469953282cd5d8b51862dcf4b84dedb927c1871bc3fca32fc157fe49187631575a70838705fe246f4555647577a7ecc26894445a7d64de5503dc11b4 Provides: checksum(SHA512 (%{name}-%{version}.tar.gz) = 31bacf58469953282cd5d8b51862dcf4b...

Thinking further about this, do we actually need something really fancy as special tag? For example, it is quite easy to check if the checksums in the dist-git sources file...

> I actually wonder, why the check is done in `%prep`. This might be due to `BR: gnupg2`, have not investigated this.

> @voxik That is for verifying GPG signatures if they exist, and yes, it requires `gnupg2` as a build dependency in that scenario. But if that was macro included in...

> We could use a bit of bash code `%([ "$(sha256sum | cut -d " " -f 1)" = ])` to do the verification per downloaded source Yep, something like...

I dug into this issue little bit more and the option --path which was available for Rails 2 was apparently removed for Rails 3.0. The question is how to solve...

How about follow the first point, merge this and release something like mongrel-2.0.0-beta? Supporting just rails 2.3 and 3. Or even just rails 3?

I am afraid, that the second issue (the SEGV) was present already in older releases and can be reproduce also with Ruby 1.8. The failing test was introduced by f2b1155794639d069995b45bffe147547cd5f274...