Name: nodejs-npm-rpm-macros Version: 0.0.1 Release: 1%{?dist} Summary: RPM macros to generate dependencies for bundled NodeJS libraries License: GPLv3 URL: http://fedoraproject.org Source0: nodejs_npm.attr Source1: nodejs_npm.prov BuildArch: noarch %description %{summary}. %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/ install -p -m 644 %{SOURCE0} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/ install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/ %files %{_rpmconfigdir}/*.prov %{_rpmconfigdir}/fileattrs/*.attr %changelog * Sat Feb 10 2018 Aurelien Bompard - 0.0.1 - Initial package