From 6cb04c4f5511250e8d7018cef111ebdeb4b23bc1 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 01:28:24 +0000 Subject: [PATCH 01/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index c12c2a9..7d31d37 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 9%{?dist} +Release: 10%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit BuildArch: noarch @@ -128,6 +128,9 @@ end %doc README.html README.org docstyle.css %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 1.3.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sun Jun 29 2014 Jamie Nguyen - 1.3.4-9 - add logic for building on EL6 From 842c23a4e0f50d27e69f82bfa9f569d884b7c0fc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 02:16:43 +0000 Subject: [PATCH 02/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index 7d31d37..f30fd30 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 10%{?dist} +Release: 11%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit BuildArch: noarch @@ -128,6 +128,9 @@ end %doc README.html README.org docstyle.css %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 1.3.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Fri Jun 19 2015 Fedora Release Engineering - 1.3.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 2b372ba735cbcc98739be97c6bcc2dac86d18b56 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 16:39:10 +0000 Subject: [PATCH 03/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index f30fd30..737eea1 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 11%{?dist} +Release: 12%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit BuildArch: noarch @@ -128,6 +128,9 @@ end %doc README.html README.org docstyle.css %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.3.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Fri Feb 05 2016 Fedora Release Engineering - 1.3.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From e05f08fc317ffe2352cda86c5cfcad64c7593696 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 20:55:14 +0000 Subject: [PATCH 04/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index 737eea1..6b1d171 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 12%{?dist} +Release: 13%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit BuildArch: noarch @@ -128,6 +128,9 @@ end %doc README.html README.org docstyle.css %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 1.3.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 1.3.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 69e8ccea506c961119bd2347fc9c7275cd49c868 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Tue, 5 Sep 2017 13:55:15 -0700 Subject: [PATCH 05/18] Minor spec file cleanup --- uglify-js1.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index 6b1d171..5021ebd 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,9 +5,8 @@ Name: uglify-js1 Version: 1.3.4 -Release: 13%{?dist} +Release: 14%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit -BuildArch: noarch Group: Development/Tools # BSD license in README.html @@ -17,7 +16,7 @@ Source0: http://registry.npmjs.org/uglify-js/-/uglify-js-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -%if 0%{?fedora} >= 19 +%if 0%{?fedora} >= 19 || 0%{?rhel} > 7 ExclusiveArch: %{nodejs_arches} noarch %else ExclusiveArch: %{ix86} x86_64 %{arm} noarch @@ -128,6 +127,9 @@ end %doc README.html README.org docstyle.css %changelog +* Tue Sep 05 2017 Troy Dawson - 1.3.4-14 +- Minor spec file cleanup + * Thu Jul 27 2017 Fedora Release Engineering - 1.3.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From c3ea70a83c69473cf775b26614ab0b608a0fe01c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 19:55:42 +0000 Subject: [PATCH 06/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index 5021ebd..75ef86f 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 14%{?dist} +Release: 15%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit Group: Development/Tools @@ -127,6 +127,9 @@ end %doc README.html README.org docstyle.css %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.3.4-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Tue Sep 05 2017 Troy Dawson - 1.3.4-14 - Minor spec file cleanup From 6c21ff15d91e6d30ffbf5d3a07d9730827a56254 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 00:46:19 +0100 Subject: [PATCH 07/18] Remove BuildRoot definition None of currently supported distributions need that. It was needed last for EL5 which is EOL now Signed-off-by: Igor Gnatenko --- uglify-js1.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index 75ef86f..c07c7fc 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -13,7 +13,6 @@ Group: Development/Tools License: BSD URL: https://github.com/mishoo/UglifyJS Source0: http://registry.npmjs.org/uglify-js/-/uglify-js-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch %if 0%{?fedora} >= 19 || 0%{?rhel} > 7 From c01a94548b4fb5e8214444e98b18785305b3701d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 09:05:50 +0100 Subject: [PATCH 08/18] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- uglify-js1.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index c07c7fc..54faadb 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -96,9 +96,6 @@ nodeunit test/unit/scripts.js && test/testparser.js && test/testconsolidator.js %endif -%clean -rm -rf %buildroot - %pretrans -p st = posix.stat("%{nodejs_sitelib}/uglify-js1") From 6ae063125d9e815bd0cfcf779160e635f8f40d0d Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 10 Jul 2018 01:41:29 -0500 Subject: [PATCH 09/18] Remove needless use of %defattr --- uglify-js1.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index 54faadb..c8bd6b2 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -111,13 +111,11 @@ end %files -%defattr(-,root,root,-) %{nodejs_sitelib}/uglify-js@1 %{nodejs_sitelib}/uglify-js1 %{_bindir}/uglifyjs1 %files -n js-uglify-1 -%defattr(-,root,root,-) %{_jsdir}/uglify-js-1 %{_datadir}/%{name} %doc README.html README.org docstyle.css From b0a8c059a44694f84c51f2c1dd00310f61209ee2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 08:10:33 +0000 Subject: [PATCH 10/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index c8bd6b2..dc31d46 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 15%{?dist} +Release: 16%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit Group: Development/Tools @@ -121,6 +121,9 @@ end %doc README.html README.org docstyle.css %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 1.3.4-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 1.3.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From b3f2ca388318f45d91a318e63e405670ec7894e0 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:29 +0100 Subject: [PATCH 11/18] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- uglify-js1.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index dc31d46..46767f2 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -8,7 +8,6 @@ Version: 1.3.4 Release: 16%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit -Group: Development/Tools # BSD license in README.html License: BSD URL: https://github.com/mishoo/UglifyJS @@ -40,7 +39,6 @@ use within Node.js. %package -n js-uglify-1 Summary: JavaScript parser, mangler/compressor and beautifier toolkit - core library -Group: System Environment/Libraries Obsoletes: uglify-js1-common < 1.3.4-4 From 3e60e0a72632d9c865f1f8f209975a98f9d5d75a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 10:43:01 +0000 Subject: [PATCH 12/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index 46767f2..66644f1 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 16%{?dist} +Release: 17%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit # BSD license in README.html @@ -119,6 +119,9 @@ end %doc README.html README.org docstyle.css %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 1.3.4-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 1.3.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From eef93ad43c8fcb620cf93288e6c9fd6fb7598c9c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 02:23:14 +0000 Subject: [PATCH 13/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index 66644f1..000c5d2 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 17%{?dist} +Release: 18%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit # BSD license in README.html @@ -119,6 +119,9 @@ end %doc README.html README.org docstyle.css %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 1.3.4-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 03 2019 Fedora Release Engineering - 1.3.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 1deb98c9b7e6c8c5eb370772bff4c27beaa0e9f1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 02:30:09 +0000 Subject: [PATCH 14/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index 000c5d2..8f3ed77 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 18%{?dist} +Release: 19%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit # BSD license in README.html @@ -119,6 +119,9 @@ end %doc README.html README.org docstyle.css %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 1.3.4-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Jul 27 2019 Fedora Release Engineering - 1.3.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From bb405f013bc5f672ceeeb2ffa4b1ea43c7057f03 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 13:13:03 +0000 Subject: [PATCH 15/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index 8f3ed77..c7dd38e 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 19%{?dist} +Release: 20%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit # BSD license in README.html @@ -119,6 +119,9 @@ end %doc README.html README.org docstyle.css %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1.3.4-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 1.3.4-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From a003ab4da640cbff0a7a7654c696828e918e7558 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 22:36:33 +0000 Subject: [PATCH 16/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index c7dd38e..e9fc0f9 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 20%{?dist} +Release: 21%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit # BSD license in README.html @@ -119,6 +119,9 @@ end %doc README.html README.org docstyle.css %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.3.4-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 1.3.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From d3e1b4addf010e43b788d64f3a43f339876fb924 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 19:58:14 +0000 Subject: [PATCH 17/18] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uglify-js1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uglify-js1.spec b/uglify-js1.spec index e9fc0f9..27f110e 100644 --- a/uglify-js1.spec +++ b/uglify-js1.spec @@ -5,7 +5,7 @@ Name: uglify-js1 Version: 1.3.4 -Release: 21%{?dist} +Release: 22%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit # BSD license in README.html @@ -119,6 +119,9 @@ end %doc README.html README.org docstyle.css %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.3.4-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 1.3.4-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 1e6ff42804ce6dc6ae5c6ee6028357e5f76c99aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 22 Nov 2021 13:13:01 +0100 Subject: [PATCH 18/18] Orphaned for 6+ weeks --- .gitignore | 1 - dead.package | 1 + sources | 1 - uglify-js1.spec | 187 ------------------------------------------------ 4 files changed, 1 insertion(+), 189 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 uglify-js1.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index e7c89d1..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/uglify-js-1.3.4.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/sources b/sources deleted file mode 100644 index 77d6c3f..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -ea1e670d7872ca2c77a71a9ee51ddfd4 uglify-js-1.3.4.tgz diff --git a/uglify-js1.spec b/uglify-js1.spec deleted file mode 100644 index 27f110e..0000000 --- a/uglify-js1.spec +++ /dev/null @@ -1,187 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -#enable/disable tests in case the deps aren't there -%global enable_tests 0 - -Name: uglify-js1 -Version: 1.3.4 -Release: 22%{?dist} -Summary: JavaScript parser, mangler/compressor and beautifier toolkit - -# BSD license in README.html -License: BSD -URL: https://github.com/mishoo/UglifyJS -Source0: http://registry.npmjs.org/uglify-js/-/uglify-js-%{version}.tgz - -BuildArch: noarch -%if 0%{?fedora} >= 19 || 0%{?rhel} > 7 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif - -BuildRequires: nodejs-packaging -BuildRequires: web-assets-devel - -%if 0%{?enable_tests} -BuildRequires: npm(nodeunit) -%endif - -Requires: js-uglify-1 = %{version}-%{release} - -%description -JavaScript parser, mangler/compressor and beautifier toolkit. This is the -classic 1.x version of uglify-js. Consider using the new version provided -in the uglify-js package. - -This package ships the uglifyjs command-line tool and a library suitable for -use within Node.js. - -%package -n js-uglify-1 -Summary: JavaScript parser, mangler/compressor and beautifier toolkit - core library - - -Obsoletes: uglify-js1-common < 1.3.4-4 -Provides: uglify-js1-common = %{version}-%{release} -Requires: web-assets-filesystem - -%description -n js-uglify-1 -JavaScript parser, mangler/compressor and beautifier toolkit. This is the -classic 1.x version of uglify-js. Consider using the new version provided -in the uglify-js package. - -This package ships a JavaScript library suitable for use by any JavaScript -runtime. - - -%prep -%setup -q -n package - - -%build -#nothing to do - - -%install -rm -rf %buildroot - - -mkdir -p %{buildroot}%{_jsdir}/uglify-js-1 -cp -pr lib/* %{buildroot}%{_jsdir}/uglify-js-1 - -#compat symlink -mkdir -p %{buildroot}%{_datadir} -ln -sf javascript/uglify-js-1 %{buildroot}%{_datadir}/%{name} - -mkdir -p %{buildroot}%{nodejs_sitelib}/uglify-js@1 -cp -pr bin package.json uglify-js.js %{buildroot}%{nodejs_sitelib}/uglify-js@1 -ln -sf %{_jsdir}/uglify-js-1 %{buildroot}%{nodejs_sitelib}/uglify-js@1/lib - -##compat symlink so old modules continue to work -ln -sf uglify-js@1 %{buildroot}%{nodejs_sitelib}/%{name} - -mkdir -p %{buildroot}%{_bindir} -ln -sf ../lib/node_modules/uglify-js1/bin/uglifyjs %{buildroot}%{_bindir}/uglifyjs1 - -#nodejs-symlink-deps is not called because this package does not have any -#dependencies and can be used outside of node - - -%if 0%{?enable_tests} -%check -%nodejs_symlink_deps --check -nodeunit test/unit/scripts.js && test/testparser.js && test/testconsolidator.js -%endif - - - -%pretrans -p -st = posix.stat("%{nodejs_sitelib}/uglify-js1") -if st and st.type == "directory" then - os.execute("rm -rf %{nodejs_sitelib}/uglify-js1") -end - -%pretrans -n js-uglify-1 -p -st = posix.stat("%{_datadir}/%{name}") -if st and st.type == "directory" then - os.execute("rm -rf %{_datadir}/%{name}") -end - - -%files -%{nodejs_sitelib}/uglify-js@1 -%{nodejs_sitelib}/uglify-js1 -%{_bindir}/uglifyjs1 - -%files -n js-uglify-1 -%{_jsdir}/uglify-js-1 -%{_datadir}/%{name} -%doc README.html README.org docstyle.css - -%changelog -* Fri Jul 23 2021 Fedora Release Engineering - 1.3.4-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 1.3.4-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 1.3.4-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 1.3.4-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 1.3.4-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 03 2019 Fedora Release Engineering - 1.3.4-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 1.3.4-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 1.3.4-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Tue Sep 05 2017 Troy Dawson - 1.3.4-14 -- Minor spec file cleanup - -* Thu Jul 27 2017 Fedora Release Engineering - 1.3.4-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 1.3.4-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Feb 05 2016 Fedora Release Engineering - 1.3.4-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jun 19 2015 Fedora Release Engineering - 1.3.4-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sun Jun 29 2014 Jamie Nguyen - 1.3.4-9 -- add logic for building on EL6 - -* Sun Jun 08 2014 Fedora Release Engineering - 1.3.4-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat May 10 2014 Jamie Nguyen - 1.3.4-7 -- fix scriptlets to run in the correct subpackages - -* Mon Jan 20 2014 T.C. Hollingsworth - 1.3.4-6 -- fix Requires on js-uglify-1 subpackage - -* Mon Jan 20 2014 T.C. Hollingsworth - 1.3.4-5 -- port to new JS guidelines - -* Mon Jan 20 2014 T.C. Hollingsworth - 1.3.4-4 -- add compat symlink so old modules continue to work - -* Sun Jan 19 2014 Tom Hughes - 1.3.4-3 -- use new multi-version packaging rules -- update to latest nodejs packaging standards - -* Sun Aug 04 2013 Fedora Release Engineering - 1.3.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Feb 01 2013 T.C. Hollingsworth - 1.3.4 -- initial package based on the uglify-js (2.x) pacakge