From 976b6333029d117379f1565b5ba956f2929b5285 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Feb 2018 12:36:34 +0100 Subject: F28 cleanup --- .gitignore | 9 +++++++++ Makefile | 2 +- termbox.spec | 16 +++++++++------- 3 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f69818 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +clog +package-*.xml +*.tgz +*.tar.gz +*.tar.bz2 +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm diff --git a/Makefile b/Makefile index 1e65467..91b0fd5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ SRCDIR := $(shell pwd) NAME := $(shell basename $(SRCDIR)) -include ../common/Makefile +include ../../common/Makefile diff --git a/termbox.spec b/termbox.spec index 71092d6..5a5465b 100644 --- a/termbox.spec +++ b/termbox.spec @@ -1,6 +1,6 @@ -# spec file for termbox +# remirepo spec file for termbox # -# Copyright (c) 2014-2017 Remi Collet +# Copyright (c) 2014-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -14,9 +14,8 @@ Name: termbox Version: 1.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Minimalist library for text-based user interfaces -Group: System Environment/Libraries License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} @@ -32,7 +31,6 @@ programmer to write text-based user interfaces. %package devel Summary: Header files and development libraries for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -68,9 +66,10 @@ if [ ! -f %{buildroot}%{_includedir}/%{name}.h ]; then fi -%post -p /sbin/ldconfig - +%if 0%{?fedora} < 28 && 0%{?rhel} < 8 +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%endif %files @@ -86,6 +85,9 @@ fi %changelog +* Mon Feb 26 2018 Remi Collet - 1.1.0-3 +- F28 cleanup + * Sun Sep 11 2016 Remi Collet - 1.1.0-2 - fix F25 build -- cgit