[Rpm-maint] [PATCH] rpmbuild: Reset attrFlags in generateBuildIDs.

Panu Matilainen pmatilai at redhat.com
Tue May 30 08:37:37 UTC 2017


On 05/24/2017 11:37 AM, Mark Wielaard wrote:
> On Tue, May 23, 2017 at 02:01:46PM +0300, Panu Matilainen wrote:
>> Hmm, I'm getting FAILED on the test:
>>
>> --- -	2017-05-23 10:52:13.874228079 +0000
>> +++ /home/pmatilai/repos/rpm/tests/rpmtests.dir/at-groups/144/stdout
>> 2017-05-23 10:52:13.870950157 +0000
>> @@ -1,2 +1,2 @@
>> -/usr/local/etc/config.file
>> +/etc/config.file
>>
>> ...so probably because of different ./configure options to rpm itself that
>> are inherited by the macro. %{_bindir}, %{_sysconfdir} etc are best avoided
>> in the test-suite to avoid these issues.
> 
> O right of course. What about the attached which just uses /bin and /etc.
> The actual path used doesn't really matter for the test and this should
> work whatever --prefix you happen to configure with.

Works for me. Applied, thanks.

Oh and sorry about the late response, inbox overflowing :-/

	- Panu -


More information about the Rpm-maint mailing list