代码拉取完成,页面将自动刷新
%{?nodejs_find_provides_and_requires}
%global enable_tests 0
%global barename clean-css
Name: nodejs-clean-css
Version: 5.3.2
Release: 1
Summary: A well-tested CSS minifier
License: MIT
URL: https://www.npmjs.org/package/clean-css
Source0: http://registry.npmjs.org/clean-css/-/clean-css-%{version}.tgz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging >= 6
%if 0%{?enable_tests}
BuildRequires: npm(browserify) npm(http-proxy) npm(nock) npm(jshint) npm(server-destroy)
BuildRequires: npm(uglify-js) npm(vows)
%endif
%description
Clean-css is a fast and efficient [Node.js](http://nodejs.org/) library for
minifying CSS files.
%prep
%setup -q -n package
rm -rf node_modules/
%nodejs_fixdep commander
%nodejs_fixdep source-map "^0.5.2"
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/clean-css
cp -pr package.json lib index.js \
%{buildroot}%{nodejs_sitelib}/clean-css
%nodejs_symlink_deps
%check
%if 0%{?enable_tests}
%nodejs_symlink_deps --check
vows
%endif
%files
%doc README.md History.md
%license LICENSE
%{nodejs_sitelib}/clean-css/
%changelog
* Mon Oct 30 2023 wulei <wu_lei@hoperun.com> - 5.3.2-1
- Update to 5.3.2
* 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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。