```
Name: hello
Version: 1
Release: 1%{?dist}
Summary: Hello

License: Public Domain
URL: https://google.com

%if 0%{?foo} >= 8

%define test() \
%if 1\
BUG\
%endif\
%{nil}

%endif

%description
%{summary}.

%prep
%autosetup -c -T

%files
```

Make sure that `foo` is not defined in your environment.

This produces:

```
error: line 9: Unclosed %if
```

This is happening with `rpm-build-4.15.90-0.git14971.8.fc33.x86_64`.

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

Reply via email to