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