summaryrefslogtreecommitdiffstats
path: root/redhat/extras/fileshareset/fileshareset.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/extras/fileshareset/fileshareset.spec')
-rw-r--r--redhat/extras/fileshareset/fileshareset.spec18
1 files changed, 12 insertions, 6 deletions
diff --git a/redhat/extras/fileshareset/fileshareset.spec b/redhat/extras/fileshareset/fileshareset.spec
index 408798e28..0db433bc2 100644
--- a/redhat/extras/fileshareset/fileshareset.spec
+++ b/redhat/extras/fileshareset/fileshareset.spec
@@ -12,13 +12,17 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
-# Please submit bugfixes or comments via http:/www.trinitydesktop.org/
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
#
# Extract from 'fileshareset.cpp'
#copyright : (C) 2003 SuSE AG
#email : Uwe.Gansert@suse.de
+%if 0%{?fedora} >= 27
+%global debug_package %{nil}
+%endif
+
Name: fileshareset
Version: 2.0
Release: 1%{?dist}
@@ -48,8 +52,11 @@ PreReq: permissions
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
+BuildRequires: libtool
-#Requires:
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
%description
This package contains the the fileshareset utility to allow users to
@@ -60,6 +67,7 @@ This utility was originally written for openSUSE KDE3.
%prep
%setup -q -n fileshareset2
+%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "ltmain.sh"
aclocal
autoconf
automake -a -c
@@ -69,8 +77,8 @@ automake -a -c
export CXXFLAGS="$CXXFLAGS -fPIE"
export CFLAGS="$CFLAGS -fPIE"
export LDFLAGS="$LDFLAGS -pie"
-%configure
-%__make %{?_smp_mflags}
+%configure --disable-dependency-tracking
+%__make %{?_smp_mflags} || %__make
%install
@@ -111,5 +119,3 @@ echo "RESTRICT=yes" > "${RPM_BUILD_ROOT}%{_sysconfdir}/security/fileshare.conf"
%changelog
-* Sun Oct 5 2014 François Andriot <francois.andriot@free.fr> - 2.0-1
-- Initial build for TDE R14