%%install_macro has been added to the RPM package,
%%install_macro and %%_rpmacrodir will be added to RPM 5.
... | ... | --- a/meson.spec |
... | ... | +++ b/meson.spec |
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 |
Summary: High productivity build system
|
5 | 5 |
Name: meson
|
6 | 6 |
Version: 0.52.0
|
7 |
Release: 1
|
|
7 |
Release: 2
|
|
8 | 8 |
License: ASL 2.0
|
9 | 9 |
Group: Development/Tools
|
10 | 10 |
Url: http://mesonbuild.com
|
... | ... | @@ -87,7 +87,7 @@ Valgrind, CCache and the like. |
… | … | |
87 | 87 |
%{_bindir}/%{name}
|
88 | 88 |
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
|
89 | 89 |
%{_mandir}/man1/%{name}.1.*
|
90 |
%{_sys_macros_dir}/%{name}.macros
|
|
90 |
%{_rpmmacrodir}/*%{name}*
|
|
91 | 91 |
%{py3_puresitedir}/%{name}-%{version}-py*.egg-info/
|
92 | 92 |
%{py3_puresitedir}/mesonbuild/
|
93 | 93 |
|
... | ... | @@ -105,7 +105,7 @@ Valgrind, CCache and the like. |
… | … | |
105 | 105 |
%py3_install
|
106 | 106 |
|
107 | 107 |
# Install our rpm macro helper for meson
|
108 |
install -D -m 0644 %{SOURCE2} %{buildroot}%{_sys_macros_dir}/%{name}.macros
|
|
108 |
%install_macro meson %{SOURCE2}
|
|
109 | 109 |
|
110 | 110 |
%if %{with check}
|
111 | 111 |
%check
|
New comment