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.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?prerel2}
|
||||
%autosetup -p1 -n %{name}-%{version}%{?prerel2}
|
||||
|
||||
%build
|
||||
# Docs cannot be generated on RHEL now due to missing asciidoctor dependency
|
||||
|
|
@ -385,7 +385,6 @@ fi
|
|||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%exclude %{docdir}/README.utils
|
||||
%exclude %{docdir}/README.scomes
|
||||
%exclude %{docdir}/README.NFV
|
||||
|
|
@ -453,7 +452,6 @@ fi
|
|||
%{_prefix}/lib/kernel/install.d/92-tuned.install
|
||||
|
||||
%files gtk
|
||||
%defattr(-,root,root,-)
|
||||
%{_sbindir}/tuned-gui
|
||||
%if %{with python3}
|
||||
%{python3_sitelib}/tuned/gtk
|
||||
|
|
@ -470,7 +468,6 @@ fi
|
|||
%{_libexecdir}/tuned/pmqos-static*
|
||||
|
||||
%files utils-systemtap
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/README.utils
|
||||
%doc doc/README.scomes
|
||||
%doc COPYING
|
||||
|
|
@ -484,66 +481,54 @@ fi
|
|||
%{_mandir}/man8/scomes.*
|
||||
|
||||
%files profiles-sap
|
||||
%defattr(-,root,root,-)
|
||||
%{_prefix}/lib/tuned/sap-netweaver
|
||||
%{_mandir}/man7/tuned-profiles-sap.7*
|
||||
|
||||
%files profiles-sap-hana
|
||||
%defattr(-,root,root,-)
|
||||
%{_prefix}/lib/tuned/sap-hana
|
||||
%{_mandir}/man7/tuned-profiles-sap-hana.7*
|
||||
|
||||
%files profiles-mssql
|
||||
%defattr(-,root,root,-)
|
||||
%{_prefix}/lib/tuned/mssql
|
||||
%{_mandir}/man7/tuned-profiles-mssql.7*
|
||||
|
||||
%files profiles-oracle
|
||||
%defattr(-,root,root,-)
|
||||
%{_prefix}/lib/tuned/oracle
|
||||
%{_mandir}/man7/tuned-profiles-oracle.7*
|
||||
|
||||
%files profiles-atomic
|
||||
%defattr(-,root,root,-)
|
||||
%{_prefix}/lib/tuned/atomic-host
|
||||
%{_prefix}/lib/tuned/atomic-guest
|
||||
%{_mandir}/man7/tuned-profiles-atomic.7*
|
||||
|
||||
%files profiles-realtime
|
||||
%defattr(-,root,root,-)
|
||||
%config(noreplace) %{_sysconfdir}/tuned/realtime-variables.conf
|
||||
%{_prefix}/lib/tuned/realtime
|
||||
%{_mandir}/man7/tuned-profiles-realtime.7*
|
||||
|
||||
%files profiles-nfv-guest
|
||||
%defattr(-,root,root,-)
|
||||
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf
|
||||
%{_prefix}/lib/tuned/realtime-virtual-guest
|
||||
%{_mandir}/man7/tuned-profiles-nfv-guest.7*
|
||||
|
||||
%files profiles-nfv-host
|
||||
%defattr(-,root,root,-)
|
||||
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
|
||||
%{_prefix}/lib/tuned/realtime-virtual-host
|
||||
%{_mandir}/man7/tuned-profiles-nfv-host.7*
|
||||
|
||||
%files profiles-nfv
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{docdir}/README.NFV
|
||||
|
||||
%files profiles-cpu-partitioning
|
||||
%defattr(-,root,root,-)
|
||||
%config(noreplace) %{_sysconfdir}/tuned/cpu-partitioning-variables.conf
|
||||
%{_prefix}/lib/tuned/cpu-partitioning
|
||||
%{_mandir}/man7/tuned-profiles-cpu-partitioning.7*
|
||||
|
||||
%files profiles-spectrumscale
|
||||
%defattr(-,root,root,-)
|
||||
%{_prefix}/lib/tuned/spectrumscale-ece
|
||||
%{_mandir}/man7/tuned-profiles-spectrumscale-ece.7*
|
||||
|
||||
%files profiles-compat
|
||||
%defattr(-,root,root,-)
|
||||
%{_prefix}/lib/tuned/default
|
||||
%{_prefix}/lib/tuned/desktop-powersave
|
||||
%{_prefix}/lib/tuned/laptop-ac-powersave
|
||||
|
|
@ -554,12 +539,10 @@ fi
|
|||
%{_mandir}/man7/tuned-profiles-compat.7*
|
||||
|
||||
%files profiles-postgresql
|
||||
%defattr(-,root,root,-)
|
||||
%{_prefix}/lib/tuned/postgresql
|
||||
%{_mandir}/man7/tuned-profiles-postgresql.7*
|
||||
|
||||
%files profiles-openshift
|
||||
%defattr(-,root,root,-)
|
||||
%{_prefix}/lib/tuned/openshift
|
||||
%{_prefix}/lib/tuned/openshift-control-plane
|
||||
%{_prefix}/lib/tuned/openshift-node
|
||||
|
|
|
|||
Loading…
Reference in a new issue