Example snippet of a SPEC file:
...
%install
unzip $RPM_SOURCE_DIR/APPLICATION-%{version}.zip -d %{buildroot}/
find %{buildroot} -type f ! -name "*.conf" | awk -F %{buildroot} '{print $2}' > filelist.txt
find %{buildroot} -type f -name "*.conf" | awk -F %{buildroot} '{print $2}' > configfilelist.txt
%files -f filelist.txt
...
For regular files I can use the -f option to load the list in the generated file:
%files -f filelist.txt
I want to apply the confilelist in a similar fashion.
%config(noreplace) xyz
Is there a way to do this?