Remove unuse code

Signed-off-by: cherry530 <707078654@qq.com>
(cherry picked from commit dfaccc81ff9201a6f1399493df10b0b61974c4ff)
This commit is contained in:
cherry530 2023-08-29 16:00:32 +08:00 committed by openeuler-sync-bot
parent 5c3fa49875
commit f683c33df3

View File

@ -3,7 +3,7 @@
%global barename clean-css
Name: nodejs-clean-css
Version: 5.3.1
Release: 1
Release: 2
Summary: A well-tested CSS minifier
License: MIT
URL: https://www.npmjs.org/package/clean-css
@ -32,8 +32,6 @@ rm -rf node_modules/
mkdir -p %{buildroot}%{nodejs_sitelib}/clean-css
cp -pr package.json lib index.js \
%{buildroot}%{nodejs_sitelib}/clean-css
mkdir -p %{buildroot}%{_bindir}
ln -s %{nodejs_sitelib}/%{barename}/bin/cleancss %{buildroot}%{_bindir}/
%nodejs_symlink_deps
%check
@ -45,11 +43,14 @@ vows
%files
%doc README.md History.md
%license LICENSE
%{_bindir}/cleancss
%{nodejs_sitelib}/clean-css/
%changelog
* Tue Aug 29 2023 xu_ping <707078654@qq.com> - 5.3.1-2
- Remove unuse code
* Sat Jan 7 2023 wenchaofan <349464272@qq.com> - 5.3.1-1
- Upgrade 5.3.1
* Tue Aug 18 2020 leiju <leiju4@huawei.com> - 3.4.6-1
- Package init