Commit f0bcf078 authored by Sébastien Blin's avatar Sébastien Blin

packaging: fix postun script for fedora

%postun -p /sbin/ldconfig is recommended if the only thing
present in the scriptlet is calling ldconfig. This is not the case
here. Source https://bugzilla.redhat.com/show_bug.cgi?id=1379030

Note: fix pipeline for fedora 29

Change-Id: I558f1f2c779cfc67331ebf98bd7c89610e322f74
parent 0fcaed39
......@@ -7,6 +7,7 @@ RUN dnf clean all
RUN dnf upgrade -y && \
dnf install -y mesa-libgbm-devel mesa-dri-drivers && \
dnf install -y libinput-devel && \
dnf install -y qt5-qtbase-5.11.1-7.fc29 qt5-linguist-5.11.1-2.fc29 qt5-qtbase-devel-5.11.1-7.fc29 && \
dnf install -y \
git \
rpm-build \
......@@ -60,6 +61,8 @@ RUN dnf upgrade -y && \
openssl-static \
sqlite-devel
RUN echo "exclude=qt5-qtbase* qt5-linguist*" >> /etc/dnf/dnf.conf
ADD scripts/build-package-fedora.sh /opt/build-package-fedora.sh
CMD /opt/build-package-fedora.sh
......@@ -208,7 +208,8 @@ DESTDIR=%{buildroot} make -C client-gnome/build install
/sbin/ldconfig
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun -p /sbin/ldconfig
%postun
/sbin/ldconfig
#for < f24 we have to update the schema explicitly
%if 0%{?fedora} < 24
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment