|
|
@ -4,7 +4,7 @@
|
|
|
|
%bcond_with tests
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
|
|
Name: uglify-js
|
|
|
|
Name: uglify-js
|
|
|
|
Version: 3.17.4
|
|
|
|
Version: 3.18.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: JavaScript parser, mangler/compressor and beautifier toolkit
|
|
|
|
Summary: JavaScript parser, mangler/compressor and beautifier toolkit
|
|
|
|
License: BSD-2-Clause
|
|
|
|
License: BSD-2-Clause
|
|
|
@ -67,27 +67,29 @@ chmod 0755 bin/uglifyjs
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_jsdir}/%{name}-3
|
|
|
|
mkdir -p %{buildroot}%{_jsdir}/%{name}-3
|
|
|
|
cp -pr lib/* %{buildroot}%{_jsdir}/%{name}-3
|
|
|
|
cp -pr lib/* %{buildroot}%{_jsdir}/%{name}-3
|
|
|
|
ln -sf %{name}-3 %{buildroot}%{_jsdir}/%{name}
|
|
|
|
ln -s %{name}-3 %{buildroot}%{_jsdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
#compat symlink
|
|
|
|
#compat symlink
|
|
|
|
mkdir -p %{buildroot}%{_datadir}
|
|
|
|
mkdir -p %{buildroot}%{_datadir}
|
|
|
|
ln -sf javascript/%{name} %{buildroot}%{_datadir}/%{name}
|
|
|
|
ln -rs %{buildroot}%{_jsdir}/%{name} %{buildroot}%{_datadir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{nodejs_sitelib}/uglify-js@3
|
|
|
|
mkdir -p %{buildroot}%{nodejs_sitelib}/uglify-js@3
|
|
|
|
cp -pr bin tools package.json %{buildroot}%{nodejs_sitelib}/uglify-js@3
|
|
|
|
cp -pr bin tools package.json %{buildroot}%{nodejs_sitelib}/uglify-js@3
|
|
|
|
ln -sf %{_jsdir}/%{name}-3 %{buildroot}%{nodejs_sitelib}/uglify-js@3/lib
|
|
|
|
ln -rs %{buildroot}%{_jsdir}/%{name}-3 \
|
|
|
|
|
|
|
|
%{buildroot}%{nodejs_sitelib}/uglify-js@3/lib
|
|
|
|
# Fix for rpmlint.
|
|
|
|
# Fix for rpmlint.
|
|
|
|
sed -i -e 's|^#! */usr/bin/env node|#!/usr/bin/node|' \
|
|
|
|
sed -i -e 's|^#! */usr/bin/env node|#!/usr/bin/node|' \
|
|
|
|
%{buildroot}%{nodejs_sitelib}/uglify-js@3/bin/*
|
|
|
|
%{buildroot}%{nodejs_sitelib}/uglify-js@3/bin/uglifyjs
|
|
|
|
chmod 755 %{buildroot}%{nodejs_sitelib}/uglify-js@3/bin/uglifyjs
|
|
|
|
chmod 755 %{buildroot}%{nodejs_sitelib}/uglify-js@3/bin/uglifyjs
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
ln -sf ../lib/$(basename %{nodejs_sitelib})/uglify-js@3/bin/uglifyjs %{buildroot}%{_bindir}/uglifyjs-3
|
|
|
|
ln -rs %{buildroot}%{nodejs_sitelib}/uglify-js@3/bin/uglifyjs \
|
|
|
|
ln -sf uglifyjs-3 %{buildroot}%{_bindir}/uglifyjs
|
|
|
|
%{buildroot}%{_bindir}/uglifyjs-3
|
|
|
|
|
|
|
|
ln -s uglifyjs-3 %{buildroot}%{_bindir}/uglifyjs
|
|
|
|
|
|
|
|
|
|
|
|
%nodejs_symlink_deps
|
|
|
|
%nodejs_symlink_deps
|
|
|
|
|
|
|
|
|
|
|
|
ln -sf uglify-js@3 %{buildroot}%{nodejs_sitelib}/uglify-js
|
|
|
|
ln -s uglify-js@3 %{buildroot}%{nodejs_sitelib}/uglify-js
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -132,9 +134,18 @@ end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Jan 10 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.17.4-1
|
|
|
|
* Mon Jun 10 2024 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.18.0-1
|
|
|
|
|
|
|
|
- Update to 3.18.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.17.4-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 10 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.17.4-2
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.17.4-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 15 2023 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.17.4-1
|
|
|
|
* Wed Mar 15 2023 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.17.4-1
|
|
|
|
- Update to 3.17.4
|
|
|
|
- Update to 3.17.4
|
|
|
|
- Rebuilt for updated rpm macros (Fedora 37+)
|
|
|
|
- Rebuilt for updated rpm macros (Fedora 37+)
|
|
|
|