summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-26 11:33:05 +0100
committerRemi Collet <remi@remirepo.net>2018-02-26 11:33:05 +0100
commit68502f3287a08eea44a240d9ab8372fc2f775278 (patch)
treea3a0a963504b201a5af7ebd071ba12f2fe69b6e5
parentefa9290b4223100664106680771be079bbaf6c96 (diff)
F28 cleanup
-rw-r--r--libip2location.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/libip2location.spec b/libip2location.spec
index 3cf869c..0df7ba4 100644
--- a/libip2location.spec
+++ b/libip2location.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for libip2location
#
-# Copyright (c) 2017 Remi Collet
+# Copyright (c) 2017-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -20,13 +20,13 @@
Name: libip2location
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
Release: 1%{?dist}
-Group: System Environment/Libraries
Summary: IP2Location C Library
License: MIT
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: %{url}/archive/%{gh_commit}/%{gh_project}-%{upstream_version}%{?upstream_prever}-%{gh_short}.tar.gz
+BuildRequires: gcc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@@ -45,7 +45,6 @@ Supported IPv4 and IPv6 address.
%package -n ip2location-country
-Group: Development/Libraries
Summary: Country database for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
@@ -55,7 +54,6 @@ The %{name}-country package contains IPv4 anb IPv6 country databases.
%package devel
-Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -93,8 +91,10 @@ install -Dpm 755 tools/download.pl %{buildroot}%{dbdir}/download.pl
make check
-%post -p /sbin/ldconfig
+%if 0%{?fedora} < 28 && 0%{?rhel} < 8
+%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%endif
%files
@@ -114,5 +114,8 @@ make check
%changelog
+* Mon Feb 26 2018 Remi Collet <remi@remirepo.net> - 8.0.7-2
+- F28 cleanup
+
* Tue Nov 7 2017 Remi Collet <remi@remirepo.net> - 8.0.7-1
- initial package