summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-26 12:36:34 +0100
committerRemi Collet <remi@remirepo.net>2018-02-26 12:36:34 +0100
commit976b6333029d117379f1565b5ba956f2929b5285 (patch)
tree898d8a62df9bfae691962ae76f5388190ba94d37
parent5ddd4c2ae7d5f8465e8605609f7b6c8e677312a1 (diff)
F28 cleanup
-rw-r--r--.gitignore9
-rw-r--r--Makefile2
-rw-r--r--termbox.spec16
3 files changed, 19 insertions, 8 deletions
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 <remi@remirepo.net> - 1.1.0-3
+- F28 cleanup
+
* Sun Sep 11 2016 Remi Collet <remi@fedoraproject.org> - 1.1.0-2
- fix F25 build