I am writing a spec file. Everything build fine until the very last. Make throw an error and I don't understand why.

Part of the spec file:
------------
....
cd %{_builddir}
install -Dm755 bin/platform %{buildroot}%{_datadir}/%{name}/bin/platform
install -Dm755 mattermost.sh %{buildroot}%{_bindir}/mattermost
install -Dm644 mattermost.service %{buildroot}%{_unitdir}/mattermost.service
install -Dm644 user.conf %{buildroot}%{_sysusersdir}/mattermost.conf
install -Dm644 tmpfile.conf %{buildroot}%{_libdir}/tmpfiles.d/mattermost.conf

%files
%{_sysconfdir}/%{name}/*
%{_bindir}/%{name}
%{_unitdir}/mattermost.service
%{_sysusersdir}/mattermost.conf
%{_defaultdocdir}/*
%{_datadir}/%{name}/*
.....
---------------------------------------

Now the end of the build log:

-------------------------------
....
+ install -Dm644 user.conf /home/makerpm/rpmbuild/BUILDROOT/mattermost-3.6-0.1.gitd64d51a.fc25.x86_64/usr/lib/sysusers.d/mattermost.conf
+ install -Dm644 tmpfile.conf /home/makerpm/rpmbuild/BUILDROOT/mattermost-3.6-0.1.gitd64d51a.fc25.x86_64/usr/lib64/tmpfiles.d/mattermost.conf
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
error: Bad file: /home/makerpm/build_package/mattermost/mattermost-user.conf: No such file or directory
----------------------------------------

build directory:

[makerpm@thetradinghall mattermost]$ ls -al
total 30580
drwxrwxr-x 1 makerpm makerpm      346 Jan 14 11:50 .
drwxrwxr-x 1 makerpm makerpm       58 Jan 13 16:50 ..
drwxr-xr-x 1 makerpm makerpm       26 Jan 13 16:21 bin
-rw-rw-r-- 1 makerpm makerpm   156500 Jan 14 11:43 .build-3.6-0.1.gitd64d51a.fc25.log
-rw-rw-r-- 1 makerpm makerpm      104 Jan 13 10:17 .gitignore
-rw-rw-r-- 1 makerpm makerpm 31108310 Jan 13 16:07 master.zip
-rw-rw-r-- 1 makerpm makerpm      319 Jan 13 10:17 mattermost.service
-rw-rw-r-- 1 makerpm makerpm      169 Jan 13 10:17 mattermost.sh
-rw-rw-r-- 1 makerpm makerpm     4031 Jan 14 11:38 mattermost.spec
-rw-r--r-- 1 makerpm makerpm    16384 Jan 14 11:50 .mattermost.spec.swp
drwxr-xr-x 1 makerpm makerpm       22 Jan 13 16:21 pkg
drwxr-xr-x 1 makerpm makerpm      596 Jan 14 11:42 platform-master
drwxr-xr-x 1 makerpm makerpm       20 Jan 13 16:07 src
-rw-rw-r-- 1 makerpm makerpm     1169 Jan 13 10:17 .SRCINFO
-rw-rw-r-- 1 makerpm makerpm      164 Jan 13 10:17 tmpfile.conf
-rw-rw-r-- 1 makerpm makerpm       32 Jan 13 10:17 user.conf

------------------------------

I don't understand why the mattermost-user.conf file comes in the build process. There is no place where this file can be found, and no instructions in the spec file regarding this file.
The log doesn't say much. How can I solve this issue? Is there any method, hint?

Thank you for help.