Hello.
I want to create rpm package from the .spec file but got an error:

```
media_tools/av_parsers.c: In function 'gf_av1_parse_obu':
media_tools/av_parsers.c:4154:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (int i = state->spatial_id; i < 4; i++) {
  ^
media_tools/av_parsers.c:4154:2: note: use option -std=c99 or -std=gnu99 to compile your code
media_tools/av_parsers.c: At top level:
cc1: warning: unrecognized command line option "-Wno-int-in-bool-context" [enabled by default]
make[1]: *** [media_tools/av_parsers.o] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/gpac-master/src'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.bZUUhm (%build)
```
How can fix the problem?
Problem with create a rpm package from the .spec file
This is a GitHub Issue
repo:gpac
owner:gpac
Title : Problem with create a rpm package from the .spec file
Issue date:

--- start body ---
Hello.
I want to create rpm package from the .spec file but got an error:

```
media_tools/av_parsers.c: In function 'gf_av1_parse_obu':
media_tools/av_parsers.c:4154:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (int i = state->spatial_id; i < 4; i++) {
  ^
media_tools/av_parsers.c:4154:2: note: use option -std=c99 or -std=gnu99 to compile your code
media_tools/av_parsers.c: At top level:
cc1: warning: unrecognized command line option "-Wno-int-in-bool-context" [enabled by default]
make[1]: *** [media_tools/av_parsers.o] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/gpac-master/src'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.bZUUhm (%build)
```
How can fix the problem?
--- end body ---
