SHA256
1
0
forked from pool/joe

- 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
This commit is contained in:
Martin Pluskal 2019-01-03 12:39:56 +00:00 committed by Git OBS Bridge
parent d2e5cfe777
commit cae500e684
2 changed files with 12 additions and 8 deletions

View File

@ -1,7 +1,14 @@
-------------------------------------------------------------------
Thu Jan 3 12:39:35 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- Small packaging simplifications
- Lets enable selinux
-------------------------------------------------------------------
Thu Jan 3 11:56:03 UTC 2019 - Enno Gotthold <egotthold@suse.com>
- 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 <egotthold@suse.com>

View File

@ -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