summaryrefslogtreecommitdiffstats
path: root/redhat/extras/fileshareset
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2018-11-27 21:34:48 +0100
committerFrançois Andriot <[email protected]>2018-11-27 21:34:48 +0100
commita615d19df88eb2e989316b480519161945dbc7dc (patch)
tree369970b98042998b86c11024598155e037b76fec /redhat/extras/fileshareset
parent76a93e0011ade1583a1ec672f33411dfd35454f3 (diff)
downloadtde-packaging-a615d19df88eb2e989316b480519161945dbc7dc.tar.gz
tde-packaging-a615d19df88eb2e989316b480519161945dbc7dc.zip
RPM: merge redhat directory with master branch
Diffstat (limited to 'redhat/extras/fileshareset')
-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
+%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