From 0996175992b34613ba51b5e66a12cfc36ed7a997 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 25 Jan 2012 22:07:15 +0000 Subject: [PATCH] - 1.634: add %nodejs_libdir Changed files: rpm-build-macros.spec -> 1.314 rpm.macros -> 1.634 --- rpm-build-macros.spec | 2 +- rpm.macros | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rpm-build-macros.spec b/rpm-build-macros.spec index 4269c25..a01c59c 100644 --- a/rpm-build-macros.spec +++ b/rpm-build-macros.spec @@ -1,4 +1,4 @@ -%define rpm_macros_rev 1.632 +%define rpm_macros_rev 1.634 %define find_lang_rev 1.35 Summary: PLD Linux RPM build macros Summary(pl.UTF-8): Makra do budowania pakietów RPM dla Linuksa PLD diff --git a/rpm.macros b/rpm.macros index d9946f4..b0caa45 100644 --- a/rpm.macros +++ b/rpm.macros @@ -1003,6 +1003,10 @@ fi \ %py3_ocomp %{__python3} -O -c "import compileall; import sys; compileall.compile_dir(sys.argv[1], ddir=sys.argv[1][len('$RPM_BUILD_ROOT'):])" +# node.js libdir +# Requirements: +# BuildRequires: rpmbuild(macros) >= 1.634 +%nodejs_libdir /usr/lib/node_modules # Hardlink binary identical .pyc and .pyo files %__spec_install_post_py_hardlink {\ -- 2.44.0