!3 Update to version 2.3.10

From: @wang--ge 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2023-10-25 06:12:20 +00:00 committed by Gitee
commit cf575282ad
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,5 @@
%global commit 2280ab78b0e19dc494f9c47fd1f4a42dd63c280d
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: js-sizzle
Version: 2.1.1
Version: 2.3.10
Release: 1
Summary: A pure-JavaScript CSS selector engine
BuildArch: noarch
@ -10,7 +8,7 @@ BuildArch: noarch
%global ver_z %(echo %{version} | cut -d. -f3)
License: MIT
URL: http://sizzlejs.com/
Source0: https://github.com/jquery/sizzle/archive/%{commit}/%{name}-%{commit}.tar.gz
Source0: https://github.com/jquery/sizzle/archive/refs/tags/sizzle-%{version}.tar.gz
# disable gzip-js during build
Patch0: %{name}-disable-gzip-js.patch
BuildRequires: web-assets-devel nodejs-packaging
@ -24,7 +22,7 @@ A pure-JavaScript CSS selector engine designed to be easily dropped in to a host
library.
%prep
%setup -qn sizzle-%{commit}
%setup -qn sizzle-%{version}
%patch0 -p1
rm -rf dist/*
@ -45,5 +43,8 @@ ln -s %{version} %{inslibdir}/%{ver_x}.%{ver_y}
%doc AUTHORS.txt CONTRIBUTING.md LICENSE.txt README.md
%changelog
* Wed Oct 25 2023 Ge Wang <wang__ge@126.com> - 2.3.10-1
- update to version 2.3.10
* Thu Aug 20 2020 shenleizhao <shenleizhao@huawei.com> - 2.1.1-1
- package init

BIN
sizzle-2.3.10.tar.gz Normal file

Binary file not shown.