Merge pull request #400 from yarda/spec-cleanup
spec: drop obsoleted defattr and use autosetup macro
This commit is contained in:
commit
b50356a64b
1 changed files with 1 additions and 18 deletions
19
tuned.spec
19
tuned.spec
|
|
@ -262,7 +262,7 @@ Requires: %{name} = %{version}
|
||||||
Additional TuneD profile(s) optimized for OpenShift.
|
Additional TuneD profile(s) optimized for OpenShift.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?prerel2}
|
%autosetup -p1 -n %{name}-%{version}%{?prerel2}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Docs cannot be generated on RHEL now due to missing asciidoctor dependency
|
# Docs cannot be generated on RHEL now due to missing asciidoctor dependency
|
||||||
|
|
@ -385,7 +385,6 @@ fi
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%exclude %{docdir}/README.utils
|
%exclude %{docdir}/README.utils
|
||||||
%exclude %{docdir}/README.scomes
|
%exclude %{docdir}/README.scomes
|
||||||
%exclude %{docdir}/README.NFV
|
%exclude %{docdir}/README.NFV
|
||||||
|
|
@ -453,7 +452,6 @@ fi
|
||||||
%{_prefix}/lib/kernel/install.d/92-tuned.install
|
%{_prefix}/lib/kernel/install.d/92-tuned.install
|
||||||
|
|
||||||
%files gtk
|
%files gtk
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_sbindir}/tuned-gui
|
%{_sbindir}/tuned-gui
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
%{python3_sitelib}/tuned/gtk
|
%{python3_sitelib}/tuned/gtk
|
||||||
|
|
@ -470,7 +468,6 @@ fi
|
||||||
%{_libexecdir}/tuned/pmqos-static*
|
%{_libexecdir}/tuned/pmqos-static*
|
||||||
|
|
||||||
%files utils-systemtap
|
%files utils-systemtap
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc doc/README.utils
|
%doc doc/README.utils
|
||||||
%doc doc/README.scomes
|
%doc doc/README.scomes
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
@ -484,66 +481,54 @@ fi
|
||||||
%{_mandir}/man8/scomes.*
|
%{_mandir}/man8/scomes.*
|
||||||
|
|
||||||
%files profiles-sap
|
%files profiles-sap
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_prefix}/lib/tuned/sap-netweaver
|
%{_prefix}/lib/tuned/sap-netweaver
|
||||||
%{_mandir}/man7/tuned-profiles-sap.7*
|
%{_mandir}/man7/tuned-profiles-sap.7*
|
||||||
|
|
||||||
%files profiles-sap-hana
|
%files profiles-sap-hana
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_prefix}/lib/tuned/sap-hana
|
%{_prefix}/lib/tuned/sap-hana
|
||||||
%{_mandir}/man7/tuned-profiles-sap-hana.7*
|
%{_mandir}/man7/tuned-profiles-sap-hana.7*
|
||||||
|
|
||||||
%files profiles-mssql
|
%files profiles-mssql
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_prefix}/lib/tuned/mssql
|
%{_prefix}/lib/tuned/mssql
|
||||||
%{_mandir}/man7/tuned-profiles-mssql.7*
|
%{_mandir}/man7/tuned-profiles-mssql.7*
|
||||||
|
|
||||||
%files profiles-oracle
|
%files profiles-oracle
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_prefix}/lib/tuned/oracle
|
%{_prefix}/lib/tuned/oracle
|
||||||
%{_mandir}/man7/tuned-profiles-oracle.7*
|
%{_mandir}/man7/tuned-profiles-oracle.7*
|
||||||
|
|
||||||
%files profiles-atomic
|
%files profiles-atomic
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_prefix}/lib/tuned/atomic-host
|
%{_prefix}/lib/tuned/atomic-host
|
||||||
%{_prefix}/lib/tuned/atomic-guest
|
%{_prefix}/lib/tuned/atomic-guest
|
||||||
%{_mandir}/man7/tuned-profiles-atomic.7*
|
%{_mandir}/man7/tuned-profiles-atomic.7*
|
||||||
|
|
||||||
%files profiles-realtime
|
%files profiles-realtime
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%config(noreplace) %{_sysconfdir}/tuned/realtime-variables.conf
|
%config(noreplace) %{_sysconfdir}/tuned/realtime-variables.conf
|
||||||
%{_prefix}/lib/tuned/realtime
|
%{_prefix}/lib/tuned/realtime
|
||||||
%{_mandir}/man7/tuned-profiles-realtime.7*
|
%{_mandir}/man7/tuned-profiles-realtime.7*
|
||||||
|
|
||||||
%files profiles-nfv-guest
|
%files profiles-nfv-guest
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf
|
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf
|
||||||
%{_prefix}/lib/tuned/realtime-virtual-guest
|
%{_prefix}/lib/tuned/realtime-virtual-guest
|
||||||
%{_mandir}/man7/tuned-profiles-nfv-guest.7*
|
%{_mandir}/man7/tuned-profiles-nfv-guest.7*
|
||||||
|
|
||||||
%files profiles-nfv-host
|
%files profiles-nfv-host
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
|
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
|
||||||
%{_prefix}/lib/tuned/realtime-virtual-host
|
%{_prefix}/lib/tuned/realtime-virtual-host
|
||||||
%{_mandir}/man7/tuned-profiles-nfv-host.7*
|
%{_mandir}/man7/tuned-profiles-nfv-host.7*
|
||||||
|
|
||||||
%files profiles-nfv
|
%files profiles-nfv
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc %{docdir}/README.NFV
|
%doc %{docdir}/README.NFV
|
||||||
|
|
||||||
%files profiles-cpu-partitioning
|
%files profiles-cpu-partitioning
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%config(noreplace) %{_sysconfdir}/tuned/cpu-partitioning-variables.conf
|
%config(noreplace) %{_sysconfdir}/tuned/cpu-partitioning-variables.conf
|
||||||
%{_prefix}/lib/tuned/cpu-partitioning
|
%{_prefix}/lib/tuned/cpu-partitioning
|
||||||
%{_mandir}/man7/tuned-profiles-cpu-partitioning.7*
|
%{_mandir}/man7/tuned-profiles-cpu-partitioning.7*
|
||||||
|
|
||||||
%files profiles-spectrumscale
|
%files profiles-spectrumscale
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_prefix}/lib/tuned/spectrumscale-ece
|
%{_prefix}/lib/tuned/spectrumscale-ece
|
||||||
%{_mandir}/man7/tuned-profiles-spectrumscale-ece.7*
|
%{_mandir}/man7/tuned-profiles-spectrumscale-ece.7*
|
||||||
|
|
||||||
%files profiles-compat
|
%files profiles-compat
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_prefix}/lib/tuned/default
|
%{_prefix}/lib/tuned/default
|
||||||
%{_prefix}/lib/tuned/desktop-powersave
|
%{_prefix}/lib/tuned/desktop-powersave
|
||||||
%{_prefix}/lib/tuned/laptop-ac-powersave
|
%{_prefix}/lib/tuned/laptop-ac-powersave
|
||||||
|
|
@ -554,12 +539,10 @@ fi
|
||||||
%{_mandir}/man7/tuned-profiles-compat.7*
|
%{_mandir}/man7/tuned-profiles-compat.7*
|
||||||
|
|
||||||
%files profiles-postgresql
|
%files profiles-postgresql
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_prefix}/lib/tuned/postgresql
|
%{_prefix}/lib/tuned/postgresql
|
||||||
%{_mandir}/man7/tuned-profiles-postgresql.7*
|
%{_mandir}/man7/tuned-profiles-postgresql.7*
|
||||||
|
|
||||||
%files profiles-openshift
|
%files profiles-openshift
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_prefix}/lib/tuned/openshift
|
%{_prefix}/lib/tuned/openshift
|
||||||
%{_prefix}/lib/tuned/openshift-control-plane
|
%{_prefix}/lib/tuned/openshift-control-plane
|
||||||
%{_prefix}/lib/tuned/openshift-node
|
%{_prefix}/lib/tuned/openshift-node
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue