includetest.spec:
```
Name: includetest
Version: 1.0
Release: 1
License: Testing
%include badsummary.inc

%description
%{summary}
```

badsummary.inc:
```
Xummary: Include test
```

> [pmatilai🎩︎localhost SPECS]$ rpmbuild -bb badsummary.inc 
> error: line 1: Unknown tag: Xummary: Include test

That's just terrible because there's no indication of the file where the 
problem is. %include is rare because this is not the only problem it has, but 
dynamically generated spec content suffers from this same issue (although in 
that case there's at least a hint of the file in the output, just not in the 
error message)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2714
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to