mirror of
https://abf.rosa.ru/djam/meson.git
synced 2025-02-23 17:32:50 +00:00
Use universal macro installation for both RPM 4 and RPM 5
%%install_macro has been added to the RPM package, %%install_macro and %%_rpmacrodir will be added to RPM 5.
This commit is contained in:
parent
5a4eaf2c6b
commit
919dffa717
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
Summary: High productivity build system
|
Summary: High productivity build system
|
||||||
Name: meson
|
Name: meson
|
||||||
Version: 0.52.0
|
Version: 0.52.0
|
||||||
Release: 1
|
Release: 2
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Url: http://mesonbuild.com
|
Url: http://mesonbuild.com
|
||||||
|
@ -87,7 +87,7 @@ Valgrind, CCache and the like.
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
|
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
|
||||||
%{_mandir}/man1/%{name}.1.*
|
%{_mandir}/man1/%{name}.1.*
|
||||||
%{_sys_macros_dir}/%{name}.macros
|
%{_rpmmacrodir}/*%{name}*
|
||||||
%{py3_puresitedir}/%{name}-%{version}-py*.egg-info/
|
%{py3_puresitedir}/%{name}-%{version}-py*.egg-info/
|
||||||
%{py3_puresitedir}/mesonbuild/
|
%{py3_puresitedir}/mesonbuild/
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ Valgrind, CCache and the like.
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
# Install our rpm macro helper for meson
|
# Install our rpm macro helper for meson
|
||||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_sys_macros_dir}/%{name}.macros
|
%install_macro meson %{SOURCE2}
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
|
|
Loading…
Add table
Reference in a new issue