%{?nodejs_find_provides_and_requires} %global packagename buffer-shims Name: nodejs-%{packagename} Version: 1.0.0 Release: 3%{?dist} Summary: Some shims for node buffers License: MIT URL: https://github.com/calvinmetcalf/%{packagename} Source0: https://github.com/calvinmetcalf/%{packagename}/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %description Functions to make sure the new buffer methods work in older browsers. %prep %autosetup -n %{packagename}-%{version} # Fix the test case sed -i '839d' test/alloc.js %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} cp -pr package.json *.js \ %{buildroot}%{nodejs_sitelib}/%{packagename} %nodejs_symlink_deps %files %doc readme.md %license license.md %{nodejs_sitelib}/%{packagename} %changelog * Thu Feb 08 2018 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri May 12 2017 Parag Nemade - 1.0.0-1 - initial package