From 3583058dd711e5b70e06dcee20b32840b42be382 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Oct 07 2018 13:45:04 +0000 Subject: Drop EPEL/RHEL support --- diff --git a/cinnamon-desktop.spec b/cinnamon-desktop.spec index be934b9..2361a60 100644 --- a/cinnamon-desktop.spec +++ b/cinnamon-desktop.spec @@ -7,7 +7,7 @@ Summary: Shared code among cinnamon-session, nemo, etc Name: cinnamon-desktop Version: 3.8.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ and LGPLv2+ and MIT URL: https://github.com/linuxmint/ Source0: %url/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -67,30 +67,15 @@ libcinnamon-desktop. %meson_install #Remove libtool archives. -find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f +find %buildroot -name '*.la' -or -name '*.a' | xargs rm -f -mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/ -install -m 644 %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/applications/x-cinnamon-mimeapps.list +mkdir -p %buildroot%{_datadir}/applications/ +install -m 644 %SOURCE1 %buildroot%{_datadir}/applications/x-cinnamon-mimeapps.list %find_lang %{po_package} --all-name --with-gnome -%if (0%{?rhel} && 0%{?rhel <= 7}) -%post -p /sbin/ldconfig - -%postun -/sbin/ldconfig -if [ $1 -eq 0 ] ; then - /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -fi - -%posttrans -/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : - -%postun -p /sbin/ldconfig -%else # (0%%{?rhel} && 0%%{?rhel <= 7}) %ldconfig_scriptlets -%endif # (0%%{?rhel} && 0%%{?rhel <= 7}) %files -f %{po_package}.lang @@ -109,6 +94,9 @@ fi %{_datadir}/gir-1.0/C*.gir %changelog +* Sun Oct 07 2018 Leigh Scott - 3.8.1-3 +- Drop EPEL/RHEL support + * Thu Jul 12 2018 Fedora Release Engineering - 3.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild