Fixes build without uglify (#2070613)
This commit is contained in:
parent
00da8f4d0e
commit
b98e07028f
10
dnsdist.spec
10
dnsdist.spec
|
@ -1,13 +1,13 @@
|
|||
%ifarch %{nodejs_arches}
|
||||
# Fedora 33 does not have uglifyjs
|
||||
%if 0%{?fedora} <= 32
|
||||
# el-7 does not have uglifyjs
|
||||
%if "0%{?el7}" == "0"
|
||||
%global uglify 1
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Name: dnsdist
|
||||
Version: 1.7.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Highly DNS-, DoS- and abuse-aware loadbalancer
|
||||
License: GPLv2
|
||||
URL: https://dnsdist.org
|
||||
|
@ -78,6 +78,7 @@ rm html/js/*
|
|||
make min_js
|
||||
%else
|
||||
cp src_js/*.js html/js
|
||||
rename .js .min.js html/js/*.js
|
||||
%endif
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
@ -118,6 +119,9 @@ exit 0
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue May 03 2022 Sander Hoentjen <sander@hoentjen.eu> - 1.7.1-2
|
||||
- Fixes build without uglify (#2070613)
|
||||
|
||||
* Sat Apr 30 2022 Sander Hoentjen <sander@hoentjen.eu> - 1.7.1-1
|
||||
- Update to 1.7.1
|
||||
|
||||
|
|
Loading…
Reference in New Issue