avatar
alekseyz has added e045d12c84
Updated firefox.spec
... ... --- a/firefox.spec
... ... +++ b/firefox.spec
... ... @@ -197,7 +197,7 @@ Files and macros mainly for building Firefox extensions.
197 197
198 198
%files devel
199 199
%doc AUTHORS CLOBBER LEGAL LICENSE README.txt
200
%{_sys_macros_dir}/%{name}.macros
200
%{_rpmmacrodir}/*%{name}*
201 201
%if %{mdvver} > 201610
202 202
%{_includedir}/np*.h
203 203
%{_datadir}/pkgconfig/mozilla-plugin.pc
... ... @@ -420,8 +420,7 @@ Cflags: -I%{_includedir} -DXP_UNIX
420 420
EOF
421 421
%endif
422 422
423
mkdir -p %{buildroot}%{_sys_macros_dir}
424
cat <<FIN >%{buildroot}%{_sys_macros_dir}/%{name}.macros
423
cat <<FIN >macro
425 424
# Macros from %{name} package
426 425
%%firefox_major		%{major}
427 426
%%firefox_epoch		%{ff_epoch}
... ... @@ -431,6 +430,7 @@ cat <%{buildroot}%{_sys_macros_dir}/%{name}.macros
430 430
%%firefox_appid		\{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
431 431
%%firefox_extdir	%%(if [ "%%_target_cpu" = "noarch" ]; then echo %%{_datadir}/mozilla/extensions/%%{firefox_appid}; else echo %%{_libdir}/mozilla/extensions/%%{firefox_appid}; fi)
432 432
FIN
433
%install_macro %{name} macro
433 434
434 435
mkdir -p %{buildroot}%{_docdir}/%{name}
435 436

Comments