diff options
Diffstat (limited to 'redhat/extras/fileshareset')
-rw-r--r-- | redhat/extras/fileshareset/fileshareset.spec | 18 |
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 : [email protected] +%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 <[email protected]> - 2.0-1 -- Initial build for TDE R14 |