Remove needless use of %defattr
This commit is contained in:
parent
b5adf3c365
commit
bb002d86e7
@ -578,7 +578,6 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
|
||||
# base/cli tools use the gettext domain 'rhsm', while the
|
||||
# gnome-help tools use domain 'subscription-manager'
|
||||
%files -f rhsm.lang
|
||||
%defattr(-,root,root,-)
|
||||
%if 0%{?suse_version}
|
||||
%dir %{_sysconfdir}/pki
|
||||
|
||||
@ -790,7 +789,6 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
|
||||
|
||||
%if %{use_rhsm_gtk}
|
||||
%files -n rhsm-gtk
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python_sitearch}/subscription_manager/gui
|
||||
%{python_sitearch}/subscription_manager/gui/*.py*
|
||||
%{python_sitearch}/subscription_manager/gui/data/ui/*.ui
|
||||
@ -805,7 +803,6 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
|
||||
%if %{use_subman_gui}
|
||||
#%files -n subscription-manager-gui -f subscription-manager.lang
|
||||
%files -n subscription-manager-gui
|
||||
%defattr(-,root,root,-)
|
||||
%attr(755,root,root) %{_sbindir}/subscription-manager-gui
|
||||
%if 0%{?suse_version}
|
||||
%dir %{python_sitearch}/subscription_manager/gui/data
|
||||
@ -860,7 +857,6 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
|
||||
%if %use_initial_setup
|
||||
|
||||
%files -n subscription-manager-initial-setup-addon
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_datadir}/anaconda/addons/com_redhat_subscription_manager/
|
||||
%{_datadir}/anaconda/addons/com_redhat_subscription_manager/*.py*
|
||||
%{_datadir}/anaconda/addons/com_redhat_subscription_manager/gui/*.py*
|
||||
@ -880,7 +876,6 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
|
||||
|
||||
|
||||
%files -n subscription-manager-migration
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python_sitearch}/subscription_manager/migrate
|
||||
%{python_sitearch}/subscription_manager/migrate/*.py*
|
||||
%if %{with python3}
|
||||
@ -897,7 +892,6 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
|
||||
|
||||
%if %{with python3}
|
||||
%files -n %{py_package_prefix}-intentctl
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python3_sitelib}/intentctl*.egg-info
|
||||
%{python3_sitelib}/intentctl*.egg-info/*
|
||||
%dir %{_sysconfdir}/rhsm/intent
|
||||
@ -908,7 +902,6 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
|
||||
%endif
|
||||
|
||||
%files -n subscription-manager-plugin-container
|
||||
%defattr(-,root,root,-)
|
||||
%if 0%{?suse_version}
|
||||
%dir %{_sysconfdir}/docker
|
||||
%dir %{_sysconfdir}/docker/certs.d
|
||||
@ -930,7 +923,6 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
|
||||
|
||||
%if %has_ostree
|
||||
%files -n subscription-manager-plugin-ostree
|
||||
%defattr(-,root,root,-)
|
||||
%{_sysconfdir}/rhsm/pluginconf.d/ostree_content.OstreeContentPlugin.conf
|
||||
%{rhsm_plugins_dir}/ostree_content.py*
|
||||
%{python_sitearch}/subscription_manager/plugin/ostree/*.py*
|
||||
@ -942,7 +934,6 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
|
||||
|
||||
%if %use_firstboot
|
||||
%files -n subscription-manager-firstboot
|
||||
%defattr(-,root,root,-)
|
||||
%if 0%{?suse_version}
|
||||
%dir %{_datadir}/rhn
|
||||
%dir %{_datadir}/rhn/up2date_client
|
||||
@ -954,19 +945,16 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
|
||||
|
||||
%if %use_dnf
|
||||
%files -n dnf-plugin-subscription-manager
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/dnf-plugins/*
|
||||
%endif
|
||||
|
||||
|
||||
%files -n %{rhsm_package_name}
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python_sitearch}/rhsm
|
||||
%{python_sitearch}/rhsm/*
|
||||
|
||||
%if %{with python2_rhsm}
|
||||
%files -n python2-subscription-manager-rhsm
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python2_sitearch}/rhsm
|
||||
%{python2_sitearch}/rhsm/*
|
||||
%endif
|
||||
@ -979,7 +967,6 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
|
||||
|
||||
%if %use_cockpit
|
||||
%files -n subscription-manager-cockpit
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_datadir}/cockpit/subscription-manager
|
||||
%{_datadir}/cockpit/subscription-manager/index.html
|
||||
%{_datadir}/cockpit/subscription-manager/index.min.js.gz
|
||||
|
Loading…
Reference in New Issue
Block a user