Updated spec file
Use autosetup macro and drop obsoleted defattr. Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
e4733cdb63
commit
a17333b355
1 changed files with 1 additions and 17 deletions
18
tuned.spec
18
tuned.spec
|
|
@ -255,7 +255,7 @@ Requires: %{name} = %{version}
|
|||
Additional tuned profile(s) targeted to PostgreSQL server loads.
|
||||
|
||||
%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
|
||||
|
|
@ -378,7 +378,6 @@ fi
|
|||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%exclude %{docdir}/README.utils
|
||||
%exclude %{docdir}/README.scomes
|
||||
%exclude %{docdir}/README.NFV
|
||||
|
|
@ -443,7 +442,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
|
||||
|
|
@ -460,7 +458,6 @@ fi
|
|||
%{_libexecdir}/tuned/pmqos-static*
|
||||
|
||||
%files utils-systemtap
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/README.utils
|
||||
%doc doc/README.scomes
|
||||
%doc COPYING
|
||||
|
|
@ -474,66 +471,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
|
||||
|
|
@ -544,7 +529,6 @@ fi
|
|||
%{_mandir}/man7/tuned-profiles-compat.7*
|
||||
|
||||
%files profiles-postgresql
|
||||
%defattr(-,root,root,-)
|
||||
%{_prefix}/lib/tuned/postgresql
|
||||
%{_mandir}/man7/tuned-profiles-postgresql.7*
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue