7
0

Accepting request 568579 from home:hillwood:branches:devel:languages:nodejs

- Fix Macro about openSUSE version.

OBS-URL: https://build.opensuse.org/request/show/568579
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-underscore?expand=0&rev=3
This commit is contained in:
2018-01-23 13:35:32 +00:00
committed by Git OBS Bridge
parent 45d1599fd7
commit a8b4e56d86
2 changed files with 7 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
#
%define _name underscore
%if 0%{?suse_version} >= 1315 || 0%{?suse_version} <= 1316
%if 0%{?suse_version} == 1315
%define nodejs_modulesdir /usr/lib/node_modules
%endif
@@ -29,7 +29,7 @@ Group: Development/Languages/NodeJS
URL: https://github.com/jashkenas/underscore
Source0: https://github.com/jashkenas/underscore/archive/%{version}/%{_name}-%{version}.tar.gz
BuildArch: noarch
%if 0%{?suse_version} < 1315 || 0%{?suse_version} > 1316
%if 0%{?suse_version} < 1315 || 0%{?suse_version} > 1315
BuildRequires: nodejs-packaging
%endif
BuildRequires: fdupes