mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
contrib/rpm: use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
https://src.fedoraproject.org/rpms/NetworkManager/pull-request/4
8f93680134
This commit is contained in:
parent
fef16c3f54
commit
d19a13e4b1
|
@ -815,7 +815,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
|
||||||
|
|
||||||
|
@ -823,7 +823,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 a new issue