Remove unuse code
Signed-off-by: cherry530 <707078654@qq.com> (cherry picked from commit dfaccc81ff9201a6f1399493df10b0b61974c4ff)
This commit is contained in:
parent
5c3fa49875
commit
f683c33df3
@ -3,7 +3,7 @@
|
|||||||
%global barename clean-css
|
%global barename clean-css
|
||||||
Name: nodejs-clean-css
|
Name: nodejs-clean-css
|
||||||
Version: 5.3.1
|
Version: 5.3.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A well-tested CSS minifier
|
Summary: A well-tested CSS minifier
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://www.npmjs.org/package/clean-css
|
URL: https://www.npmjs.org/package/clean-css
|
||||||
@ -32,8 +32,6 @@ rm -rf node_modules/
|
|||||||
mkdir -p %{buildroot}%{nodejs_sitelib}/clean-css
|
mkdir -p %{buildroot}%{nodejs_sitelib}/clean-css
|
||||||
cp -pr package.json lib index.js \
|
cp -pr package.json lib index.js \
|
||||||
%{buildroot}%{nodejs_sitelib}/clean-css
|
%{buildroot}%{nodejs_sitelib}/clean-css
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
|
||||||
ln -s %{nodejs_sitelib}/%{barename}/bin/cleancss %{buildroot}%{_bindir}/
|
|
||||||
%nodejs_symlink_deps
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -45,11 +43,14 @@ vows
|
|||||||
%files
|
%files
|
||||||
%doc README.md History.md
|
%doc README.md History.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/cleancss
|
|
||||||
%{nodejs_sitelib}/clean-css/
|
%{nodejs_sitelib}/clean-css/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jan 7 2023 wenchaofan <349464272@qq.com> - 5.3.1-1
|
||||||
- Upgrade 5.3.1
|
- Upgrade 5.3.1
|
||||||
|
|
||||||
* Tue Aug 18 2020 leiju <leiju4@huawei.com> - 3.4.6-1
|
* Tue Aug 18 2020 leiju <leiju4@huawei.com> - 3.4.6-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user