Accepting request 261180 from home:MargueriteSu:branches:devel:languages:nodejs

OBS-URL: https://build.opensuse.org/request/show/261180
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-jscoverage?expand=0&rev=3
This commit is contained in:
2014-11-12 07:28:08 +00:00
committed by Git OBS Bridge
parent 6f1865fe97
commit fa7388e446
2 changed files with 25 additions and 20 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 12 07:24:39 UTC 2014 - i@marguerite.su
- add missing BuildRequires: nodejs-packaging
- clean specfile
-------------------------------------------------------------------
Thu Oct 9 15:08:15 UTC 2014 - jgleissner@suse.com

View File

@@ -1,4 +1,7 @@
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# spec file for package nodejs-jscoverage
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,39 +15,35 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: nodejs-jscoverage
Summary: Jscoverage modified to support SSJS
Version: 0.0.1
Release: 1
License: GPLv2
Url: https://github.com/visionmedia/node-jscoverage
%define git_rev 0d4608a6b4275b020ba665389aa75897d5d4a584
Source: %{name}-%{version}.tar.bz2
Name: nodejs-jscoverage
Version: 0.0.1
Release: 0
Summary: Jscoverage modified to support SSJS
License: GPL-2.0
Group: Development/Libraries/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: https://github.com/visionmedia/node-jscoverage
Source: %{name}-%{version}.tar.bz2
BuildRequires: gcc-c++
%nodejs_find_provides_and_requires
BuildRequires: nodejs-packaging
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{nodejs_find_provides_and_requires}
%description
JScoverage for node.
%prep
%setup -q
%setup -q
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
./configure --prefix=%{_prefix}
make %{?jobs:-j %jobs}
make %{?_smp_mflags}
%install
%makeinstall
%clean
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)