update to upstream version 0.10.0
(cherry picked from commit 413d15ae8927135a5fe011d720882013bc5932f3)
This commit is contained in:
parent
6b398f225c
commit
89deae7bc1
@ -13,9 +13,6 @@ BuildRequires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.0
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig(Qt5Core)
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
%if 0%{?el7}
|
|
||||||
BuildRequires: devtoolset-7-gcc-c++
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Requires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.0
|
Requires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.0
|
||||||
|
|
||||||
@ -24,33 +21,17 @@ Various packaging tools and scripts for LXQt applications.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%if 0%{?el7}
|
|
||||||
scl enable devtoolset-7 - <<\EOF
|
|
||||||
%endif
|
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
%{__mkdir} -p %{_target_platform}
|
%{__mkdir} -p %{_target_platform}
|
||||||
%if 0%{?el7}
|
|
||||||
EOF
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?el7}
|
pushd %{_target_platform}
|
||||||
scl enable devtoolset-7 - <<\EOF
|
|
||||||
%endif
|
|
||||||
|
|
||||||
mkdir build && pushd build
|
|
||||||
%cmake3 -DPULL_TRANSLATIONS=NO ../
|
%cmake3 -DPULL_TRANSLATIONS=NO ../
|
||||||
|
popd
|
||||||
%make_build -C %{_target_platform}
|
%make_build -C %{_target_platform}
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?el7}
|
|
||||||
EOF
|
|
||||||
%endif
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install -C %{_target_platform}
|
%make_install -C %{_target_platform}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user