Clean usage of "-n %{name}-"

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/prewikka?expand=0&rev=4
This commit is contained in:
Thomas ANDREJAK
2016-09-04 17:22:12 +00:00
committed by Git OBS Bridge
parent 3b881c3912
commit ed0bf912fa
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Sep 4 21:57:53 UTC 2016 - thomas.andrejak@gmail.com
Fix Group to be a valid OpenSuse Group
Fix Requires
Fix source URL
Fix dependencies
Clean usage of "-n %{name}-"
-------------------------------------------------------------------
Tue May 3 22:03:50 UTC 2016 - thomas.andrejak@gmail.com

View File

@@ -64,7 +64,7 @@ mv %{buildroot}/%{_bindir}/%{name}-httpd %{buildroot}/%{_sbindir}/%{name}-httpd
find %{buildroot} -type f -name '*.pyo' -exec rm -f {} ';'
%find_lang %{name} --with-python
%files -f %{name}.lang -n %{name}
%files -f %{name}.lang
%defattr(-, root, root, -)
%attr(0750, -,-) %dir %{_sysconfdir}/%{name}/
%config(noreplace) %attr(0640, -,-) %{_sysconfdir}/%{name}/%{name}.conf