From 15cfaf8b3bb33ebe483e8030b740124a9d158de4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 1 Jul 2016 16:33:28 +0200 Subject: [PATCH] Add ChangeLog and other example files --- mosquitto.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mosquitto.spec b/mosquitto.spec index 4866373..18d4a83 100644 --- a/mosquitto.spec +++ b/mosquitto.spec @@ -70,6 +70,7 @@ FOE mkdir -p %{buildroot}%{_unitdir} install -p -m 0644 %{name}.service %{buildroot}%{_unitdir}/%{name}.service +mv %{buildroot}%{_sysconfdir}/%{name}/%{name}.example %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf %check #make test @@ -93,13 +94,14 @@ exit 0 /sbin/ldconfig %files -%doc CONTRIBUTING.md readme.md +%doc ChangeLog.txt CONTRIBUTING.md readme.md %license LICENSE.txt %{_bindir}/* %{_sbindir}/* %{_libdir}/*.so.* %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf +%config%{_sysconfdir}/%{name}/*.example %{_unitdir}/%{name}.service %{_mandir}/man1/*.1.* %{_mandir}/man5/*.5.*