delete mozjs-68 dependence for libproxy

This commit is contained in:
haochenstar 2020-12-02 17:27:42 +08:00
parent 38ead91e29
commit ebb09672ef

View File

@ -1,6 +1,6 @@
Name: libproxy Name: libproxy
Version: 0.4.15 Version: 0.4.15
Release: 18 Release: 19
Summary: Libproxy is a library that provides automatic proxy configuration management Summary: Libproxy is a library that provides automatic proxy configuration management
License: LGPLv2+ License: LGPLv2+
@ -22,10 +22,10 @@ Patch8: libproxy-0.4.15-fix-CVE-2020-25219.patch
BuildRequires: cmake >= 2.6.0 gcc-c++ BuildRequires: cmake >= 2.6.0 gcc-c++
BuildRequires: pkgconfig(gio-2.0) >= 2.26 pkgconfig(mozjs-68) pkgconfig(libnm) python3-devel BuildRequires: pkgconfig(gio-2.0) >= 2.26 pkgconfig(libnm) python3-devel
BuildRequires: pkgconfig(dbus-1) pkgconfig(javascriptcoregtk-4.0) BuildRequires: pkgconfig(dbus-1) pkgconfig(javascriptcoregtk-4.0)
Provides: %{name}-bin %{name}-gnome %{name}-kde %{name}-mozjs %{name}-networkmanager %{name}-pacrunner Provides: %{name}-bin %{name}-gnome %{name}-kde %{name}-networkmanager %{name}-pacrunner
Obsoletes: %{name}-bin %{name}-gnome %{name}-kde %{name}-mozjs %{name}-networkmanager %{name}-pacrunner Obsoletes: %{name}-bin %{name}-gnome %{name}-kde %{name}-mozjs %{name}-networkmanager %{name}-pacrunner
%description %description
@ -69,8 +69,9 @@ This package contains libraries and header files for developing applications.
%build %build
%{cmake} \ %{cmake} \
-DMODULE_INSTALL_DIR=%{_libdir}/%{name}/%{version}/modules \ -DMODULE_INSTALL_DIR=%{_libdir}/%{name}/%{version}/modules \
-DBIPR=OFF \
-DWITH_PERL=OFF -DWITH_GNOME3=ON \ -DWITH_PERL=OFF -DWITH_GNOME3=ON \
-DWITH_PYTHON3=ON -DWITH_WEBKIT3=ON -DWITH_MOZJS=ON . -DWITH_PYTHON3=ON -DWITH_WEBKIT3=ON -DWITH_MOZJS=OFF .
%make_build %make_build
%install %install
@ -115,6 +116,12 @@ make test
%{_mandir}/man1/proxy.1* %{_mandir}/man1/proxy.1*
%changelog %changelog
* Wed Dec 02 2020 xihaochen <xihaochen@huawei.com> - 0.4.15-19
- Type:requirements
- Id:NA
- SUG:NA
- DESC:delete mozjs-68 dependency
* Thu Oct 30 2020 xihaochen <xihaochen@huawei.com> - 0.4.15-18 * Thu Oct 30 2020 xihaochen <xihaochen@huawei.com> - 0.4.15-18
- Type:requirements - Type:requirements
- Id:NA - Id:NA