From cae500e6847eaaf297197375d25d1f1053882a4cb88dbe815174eef0a62e0118 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 3 Jan 2019 12:39:56 +0000 Subject: [PATCH] - Small packaging simplifications - Lets enable selinux - Added patch to fix build on SLe_12_Sp3 and openSUSE_Leap_42.3 * joe-4.6-nonvoid-functions.patch OBS-URL: https://build.opensuse.org/package/show/editors/joe?expand=0&rev=32 --- joe.changes | 9 ++++++++- joe.spec | 11 ++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/joe.changes b/joe.changes index 0484785..cc8fd46 100644 --- a/joe.changes +++ b/joe.changes @@ -1,7 +1,14 @@ +------------------------------------------------------------------- +Thu Jan 3 12:39:35 UTC 2019 - Martin Pluskal + +- Small packaging simplifications +- Lets enable selinux + ------------------------------------------------------------------- Thu Jan 3 11:56:03 UTC 2019 - Enno Gotthold -- Added patch to fix build on SLe_12_Sp3 and openSUSE_Leap_42.3 +- Added patch to fix build on SLe_12_Sp3 and openSUSE_Leap_42.3 + * joe-4.6-nonvoid-functions.patch ------------------------------------------------------------------- Thu Jan 3 11:36:05 UTC 2019 - Enno Gotthold diff --git a/joe.spec b/joe.spec index 8253ac2..446c905 100644 --- a/joe.spec +++ b/joe.spec @@ -34,6 +34,7 @@ Patch10: joe-sigiot.patch Patch11: joe-4.6-desktop_files.patch Patch12: joe-4.6-nonvoid-functions.patch BuildRequires: automake +BuildRequires: libselinux-devel BuildRequires: ncurses-devel %description @@ -54,11 +55,7 @@ WordStar keybindings used in Borland's development environment. autoreconf -fiv export CFLAGS="%{optflags} -W -Wno-unused" %configure \ - --prefix=%{_prefix} \ - --mandir=%{_mandir} \ - --sysconfdir=%{_sysconfdir} \ --docdir=%{_defaultdocdir}/%{name} - make %{?_smp_mflags} %install @@ -81,8 +78,8 @@ rm -rf %{buildroot}/%{_datadir}/%{name}/lang %{_datadir}/%{name}/charmaps %dir %{_datadir}/%{name}/syntax %config(noreplace) %{_datadir}/%{name}/syntax/* -/usr/share/applications/*.desktop -/usr/share/joe/colors -/usr/share/joe/colors/*.jcf +%{_datadir}/applications/*.desktop +%{_datadir}/joe/colors +%{_datadir}/joe/colors/*.jcf %changelog