diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-09-11 12:59:53 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-09-11 12:59:53 +0200 |
commit | 3a385d0ff97e49ac93b8e1b5194207c751f3f4bc (patch) | |
tree | 3d2a68be2b6df3ffa29ba6f62fb97aa3179374ab | |
parent | 31d2dd1bc5c89cf878afa41bf99dcc0fe426c0cd (diff) |
termbox: fix F25 build
-rw-r--r-- | termbox.spec | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/termbox.spec b/termbox.spec index cbddff7..56be463 100644 --- a/termbox.spec +++ b/termbox.spec @@ -14,7 +14,7 @@ Name: termbox Version: 1.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Minimalist library for text-based user interfaces Group: System Environment/Libraries @@ -62,6 +62,11 @@ export CFLAGS="%{optflags}" --targets=termbox_shared \ --destdir=%{buildroot} +# F25 workaround +if [ ! -f %{buildroot}%{_includedir}/%{name}.h ]; then + install -Dpm 644 src/termbox.h %{buildroot}%{_includedir}/%{name}.h +fi + %post -p /sbin/ldconfig @@ -81,6 +86,9 @@ export CFLAGS="%{optflags}" %changelog +* Sun Sep 11 2016 Remi Collet <remi@fedoraproject.org> - 1.1.0-2 +- fix F25 build + * Thu Sep 1 2016 Remi Collet <remi@fedoraproject.org> - 1.1.0-1 - update to 1.1.0 |