Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro https://src.fedoraproject.org/rpms/NetworkManager/pull-request/4
This commit is contained in:
parent
7a48b33607
commit
8f93680134
@ -806,7 +806,7 @@ intltoolize --automake --copy --force
|
|||||||
--with-config-dns-rc-manager-default=%{dns_rc_manager_default} \
|
--with-config-dns-rc-manager-default=%{dns_rc_manager_default} \
|
||||||
--with-config-logging-backend-default=%{logging_backend_default}
|
--with-config-logging-backend-default=%{logging_backend_default}
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -814,7 +814,7 @@ make %{?_smp_mflags}
|
|||||||
%if %{with meson}
|
%if %{with meson}
|
||||||
%meson_install
|
%meson_install
|
||||||
%else
|
%else
|
||||||
make install DESTDIR=%{buildroot}
|
%make_install
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/
|
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/
|
||||||
|
Loading…
Reference in New Issue
Block a user