fixed build with python 3.6 [release 3.2.10-2mamba;Sun Jun 30 2019]
This commit is contained in:
parent
d17a7c209e
commit
86fe9bfb9b
@ -1,5 +1,5 @@
|
|||||||
Name: calamares
|
Name: calamares
|
||||||
Version: 3.2.2
|
Version: 3.2.10
|
||||||
Release: 2mamba
|
Release: 2mamba
|
||||||
Summary: Distribution-independent installer framework
|
Summary: Distribution-independent installer framework
|
||||||
Group: Graphical Desktop/Applications/Utilities
|
Group: Graphical Desktop/Applications/Utilities
|
||||||
@ -32,6 +32,7 @@ BuildRequires: libkcompletion-devel
|
|||||||
BuildRequires: libkconfig-devel
|
BuildRequires: libkconfig-devel
|
||||||
BuildRequires: libkconfigwidgets-devel
|
BuildRequires: libkconfigwidgets-devel
|
||||||
BuildRequires: libkcoreaddons-devel
|
BuildRequires: libkcoreaddons-devel
|
||||||
|
BuildRequires: libkcrash-devel
|
||||||
BuildRequires: libki18n-devel
|
BuildRequires: libki18n-devel
|
||||||
BuildRequires: libkio-devel
|
BuildRequires: libkio-devel
|
||||||
BuildRequires: libkjobwidgets-devel
|
BuildRequires: libkjobwidgets-devel
|
||||||
@ -44,6 +45,7 @@ BuildRequires: libkwidgetsaddons-devel
|
|||||||
BuildRequires: libkxmlgui-devel
|
BuildRequires: libkxmlgui-devel
|
||||||
BuildRequires: libparted-devel
|
BuildRequires: libparted-devel
|
||||||
BuildRequires: libplasma-framework-devel
|
BuildRequires: libplasma-framework-devel
|
||||||
|
BuildRequires: libpwquality-devel
|
||||||
BuildRequires: libpython36-devel
|
BuildRequires: libpython36-devel
|
||||||
BuildRequires: libqt5-devel
|
BuildRequires: libqt5-devel
|
||||||
BuildRequires: libsonnet-devel
|
BuildRequires: libsonnet-devel
|
||||||
@ -54,6 +56,9 @@ BuildRequires: libyaml-cpp-devel
|
|||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: libpolkit-qt5-1-devel
|
BuildRequires: libpolkit-qt5-1-devel
|
||||||
BuildRequires: libboost-devel >= 1.57.0-3mamba
|
BuildRequires: libboost-devel >= 1.57.0-3mamba
|
||||||
|
BuildRequires: libkpmcore-devel >= 4.0.0
|
||||||
|
BuildRequires: python36
|
||||||
|
BuildRequires: libPythonQt-devel
|
||||||
%ifarch x86_64 %{ix86}
|
%ifarch x86_64 %{ix86}
|
||||||
Requires: grub
|
Requires: grub
|
||||||
Requires: grub-efi-x86_64
|
Requires: grub-efi-x86_64
|
||||||
@ -62,6 +67,7 @@ Requires: libqt5-plugins
|
|||||||
Requires: squashfs
|
Requires: squashfs
|
||||||
Requires: gptfdisk
|
Requires: gptfdisk
|
||||||
Requires: ckbcomp
|
Requires: ckbcomp
|
||||||
|
Requires: python36
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
@ -92,10 +98,14 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
|
|
||||||
|
sed -i "s|PYTHONLIBS_VERSION 3.3|PYTHONLIBS_VERSION 3.6|" CMakeLists.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#:<< _EOF
|
#:<< _EOF
|
||||||
%cmake -d build \
|
%cmake -d build \
|
||||||
-DWITH_PARTITIONMANAGER=ON
|
-DWITH_PARTITIONMANAGER=ON \
|
||||||
|
-DKI18N_PYTHON_EXECUTABLE:FILEPATH=%{__python36} \
|
||||||
|
-DWITH_PYTHON=ON
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
@ -122,7 +132,12 @@ install -D -m0755 src/branding/default/squid.png %{buildroot}%{_datadir}/pixmaps
|
|||||||
%dir %{_datadir}/calamares
|
%dir %{_datadir}/calamares
|
||||||
%dir %{_datadir}/calamares/branding
|
%dir %{_datadir}/calamares/branding
|
||||||
%dir %{_datadir}/calamares/branding/default
|
%dir %{_datadir}/calamares/branding/default
|
||||||
%{_datadir}/calamares/branding/default/*
|
%{_datadir}/calamares/branding/default/branding.desc
|
||||||
|
%{_datadir}/calamares/branding/default/languages.png
|
||||||
|
%{_datadir}/calamares/branding/default/show.qml
|
||||||
|
%{_datadir}/calamares/branding/default/squid.png
|
||||||
|
%{_datadir}/calamares/branding/default/stylesheet.qss
|
||||||
|
%dir %{_datadir}/calamares/branding/default/lang
|
||||||
#%dir %{_datadir}/calamares/modules
|
#%dir %{_datadir}/calamares/modules
|
||||||
#%{_datadir}/calamares/modules/*.conf
|
#%{_datadir}/calamares/modules/*.conf
|
||||||
%dir %{_datadir}/calamares/qml
|
%dir %{_datadir}/calamares/qml
|
||||||
@ -159,6 +174,8 @@ install -D -m0755 src/branding/default/squid.png %{buildroot}%{_datadir}/pixmaps
|
|||||||
%{_libdir}/calamares/modules/dummypython/*
|
%{_libdir}/calamares/modules/dummypython/*
|
||||||
%dir %{_libdir}/calamares/modules/finished
|
%dir %{_libdir}/calamares/modules/finished
|
||||||
%{_libdir}/calamares/modules/finished/*
|
%{_libdir}/calamares/modules/finished/*
|
||||||
|
%dir %{_libdir}/calamares/modules/fsresizer
|
||||||
|
%{_libdir}/calamares/modules/fsresizer/*
|
||||||
%dir %{_libdir}/calamares/modules/fstab
|
%dir %{_libdir}/calamares/modules/fstab
|
||||||
%{_libdir}/calamares/modules/fstab/*
|
%{_libdir}/calamares/modules/fstab/*
|
||||||
%dir %{_libdir}/calamares/modules/grubcfg
|
%dir %{_libdir}/calamares/modules/grubcfg
|
||||||
@ -195,6 +212,8 @@ install -D -m0755 src/branding/default/squid.png %{buildroot}%{_datadir}/pixmaps
|
|||||||
%{_libdir}/calamares/modules/netinstall/*
|
%{_libdir}/calamares/modules/netinstall/*
|
||||||
%dir %{_libdir}/calamares/modules/networkcfg
|
%dir %{_libdir}/calamares/modules/networkcfg
|
||||||
%{_libdir}/calamares/modules/networkcfg/*
|
%{_libdir}/calamares/modules/networkcfg/*
|
||||||
|
%dir %{_libdir}/calamares/modules/oemid
|
||||||
|
%{_libdir}/calamares/modules/oemid/*
|
||||||
%dir %{_libdir}/calamares/modules/packages
|
%dir %{_libdir}/calamares/modules/packages
|
||||||
%{_libdir}/calamares/modules/packages/*
|
%{_libdir}/calamares/modules/packages/*
|
||||||
%dir %{_libdir}/calamares/modules/partition
|
%dir %{_libdir}/calamares/modules/partition
|
||||||
@ -205,8 +224,6 @@ install -D -m0755 src/branding/default/squid.png %{buildroot}%{_datadir}/pixmaps
|
|||||||
%{_libdir}/calamares/modules/plymouthcfg/*
|
%{_libdir}/calamares/modules/plymouthcfg/*
|
||||||
%dir %{_libdir}/calamares/modules/removeuser
|
%dir %{_libdir}/calamares/modules/removeuser
|
||||||
%{_libdir}/calamares/modules/removeuser/*
|
%{_libdir}/calamares/modules/removeuser/*
|
||||||
#%dir %{_libdir}/calamares/modules/services
|
|
||||||
#%{_libdir}/calamares/modules/services/*
|
|
||||||
%dir %{_libdir}/calamares/modules/summary
|
%dir %{_libdir}/calamares/modules/summary
|
||||||
%{_libdir}/calamares/modules/summary/*
|
%{_libdir}/calamares/modules/summary/*
|
||||||
%dir %{_libdir}/calamares/modules/umount
|
%dir %{_libdir}/calamares/modules/umount
|
||||||
@ -225,6 +242,8 @@ install -D -m0755 src/branding/default/squid.png %{buildroot}%{_datadir}/pixmaps
|
|||||||
%{_libdir}/calamares/modules/openrcdmcryptcfg/*
|
%{_libdir}/calamares/modules/openrcdmcryptcfg/*
|
||||||
%dir %{_libdir}/calamares/modules/preservefiles/
|
%dir %{_libdir}/calamares/modules/preservefiles/
|
||||||
%{_libdir}/calamares/modules/preservefiles/*
|
%{_libdir}/calamares/modules/preservefiles/*
|
||||||
|
%dir %{_libdir}/calamares/modules/rawfs
|
||||||
|
%{_libdir}/calamares/modules/rawfs/*
|
||||||
%dir %{_libdir}/calamares/modules/services-openrc
|
%dir %{_libdir}/calamares/modules/services-openrc
|
||||||
%{_libdir}/calamares/modules/services-openrc/*
|
%{_libdir}/calamares/modules/services-openrc/*
|
||||||
%dir %{_libdir}/calamares/modules/services-systemd
|
%dir %{_libdir}/calamares/modules/services-systemd
|
||||||
@ -252,6 +271,12 @@ install -D -m0755 src/branding/default/squid.png %{buildroot}%{_datadir}/pixmaps
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.10-2mamba
|
||||||
|
- fixed build with python 3.6
|
||||||
|
|
||||||
|
* Sun Jun 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.10-1mamba
|
||||||
|
- update to 3.2.10
|
||||||
|
|
||||||
* Sun Sep 23 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.2-2mamba
|
* Sun Sep 23 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.2-2mamba
|
||||||
- rebuilt with python 3.3 patch
|
- rebuilt with python 3.3 patch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user