Install license files as %license
This is meanwhile enforced by the new version of spec-cleaner in the linters check. Change-Id: Ieedf0a9d3f4a317d1251a683fec0f2212999c357
This commit is contained in:
@@ -26,7 +26,8 @@ roboto-fontface javascript library packaged for setuptools (easy_install) / pip.
|
||||
%{py2_install}
|
||||
|
||||
%files
|
||||
%doc README.txt xstatic/pkg/roboto_fontface/data/LICENSE
|
||||
%license xstatic/pkg/roboto_fontface/data/LICENSE
|
||||
%doc README.txt
|
||||
%dir %{python2_sitelib}/xstatic
|
||||
%dir %{python2_sitelib}/xstatic/pkg
|
||||
%{python2_sitelib}/xstatic/pkg/roboto_fontface
|
||||
|
@@ -436,7 +436,8 @@ mkdir -p %{buildroot}%{_localstatedir}/cache/ceilometer
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{_bindir}/ceilometer-upgrade
|
||||
%{_bindir}/ceilometer-send-sample
|
||||
%{_bindir}/ceilometer-rootwrap
|
||||
@@ -461,7 +462,6 @@ mkdir -p %{buildroot}%{_localstatedir}/cache/ceilometer
|
||||
|
||||
%files -n python-{{ pypi_name }}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE
|
||||
%{python_sitelib}/%{ceilometer_name}/
|
||||
%{python_sitelib}/%{ceilometer_name}-*.egg-info
|
||||
# Part of test subpackage (except the tempest tests)
|
||||
|
@@ -79,7 +79,8 @@ su %{apache_user} -s /bin/sh -c "python %{http_dashboard_dir}/manage.py collects
|
||||
%files
|
||||
%{http_dashboard_dir}/openstack_dashboard/enabled/_50_admin_add_monitoring_panel.py
|
||||
%{http_dashboard_dir}/openstack_dashboard/conf/monitoring_policy.json
|
||||
%doc ChangeLog README.md LICENSE
|
||||
%license LICENSE
|
||||
%doc ChangeLog README.md
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%files -n grafana-monasca-ui-drilldown
|
||||
@@ -88,8 +89,8 @@ su %{apache_user} -s /bin/sh -c "python %{http_dashboard_dir}/manage.py collects
|
||||
%endif
|
||||
|
||||
%files -n {{ py2pkg('horizon-plugin-monasca-ui') }}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python2_sitelib}/monitoring
|
||||
%{python2_sitelib}/monasca_ui-*.egg-info
|
||||
%exclude %{http_dashboard_dir}/openstack_dashboard/enabled/_50_admin_add_monitoring_panel.pyc
|
||||
|
Reference in New Issue
Block a user