Branch: master

5400f0ed 2015-12-31 05:26:47 François Andriot
RPM Packaging: minor fixes for openSUSE TumbleWeed
M redhat/applications/kbiff/kbiff-14.0.0.spec
M redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec
M redhat/applications/kstreamripper/kstreamripper-14.0.0.spec
M redhat/extras/fileshareset/fileshareset.spec
M redhat/main/tdebase/tdebase-14.0.0.spec
M redhat/main/tdebindings/tdebindings-14.0.0.spec
diff --git a/redhat/applications/kbiff/kbiff-14.0.0.spec b/redhat/applications/kbiff/kbiff-14.0.0.spec
index ec7965c..c825bae 100644
--- a/redhat/applications/kbiff/kbiff-14.0.0.spec
+++ b/redhat/applications/kbiff/kbiff-14.0.0.spec
@@ -122,7 +122,7 @@
   --enable-closure \
   --enable-rpath \
   --disable-gcc-hidden-visibility
-  
+
 %__make %{?_smp_mflags}
 
 
diff --git a/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec b/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec
index 58bed50..aa9ccb0 100644
--- a/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec
+++ b/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec
@@ -38,7 +38,7 @@
 Epoch:			%{tde_epoch}
 Version:        0.8.1
 Release:		%{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
-Summary:        A FTP client for TDE.
+Summary:        A FTP client for TDE
 Group:          Applications/Internet
 URL:            http://www.kftp.org/
 
diff --git a/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec b/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec
index 6d15702..d7ac6a5 100644
--- a/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec
+++ b/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec
@@ -76,6 +76,7 @@
 %endif
 
 BuildRequires:	scons
+BuildRequires:	python
 
 
 %description
diff --git a/redhat/extras/fileshareset/fileshareset.spec b/redhat/extras/fileshareset/fileshareset.spec
index 482c697..1e66c4d 100644
--- a/redhat/extras/fileshareset/fileshareset.spec
+++ b/redhat/extras/fileshareset/fileshareset.spec
@@ -51,6 +51,10 @@
 
 #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
 add or remove file shares.  It's also possible to list currently shared
diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec
index 2c8c0b3..8473edf 100644
--- a/redhat/main/tdebase/tdebase-14.0.0.spec
+++ b/redhat/main/tdebase/tdebase-14.0.0.spec
@@ -397,6 +397,9 @@
 # TSAK support (requires libudev-devel)
 #  On RHEL5, udev is built statically, so TSAK cannot build.
 %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+%if 0%{?suse_version} >= 1310
+BuildRequires:	udev
+%endif
 BuildRequires:	libudev-devel
 %define with_tsak 1
 %define with_tdehwlib 1
diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec
index 205048b..d43a59b 100644
--- a/redhat/main/tdebindings/tdebindings-14.0.0.spec
+++ b/redhat/main/tdebindings/tdebindings-14.0.0.spec
@@ -1110,18 +1110,21 @@
 fi
 
 # Specific path for RHEL4
-if [ -d /usr/X11R6 ]; then
+if [ -d "/usr/X11R6" ]; then
   export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
 fi
-if [ -d /usr/evolution28 ]; then
+if [ -d "/usr/evolution28" ]; then
   export PATH="/usr/evolution28/bin:${PATH}"
   export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}"
 fi
 
 # Warning: openSUSE 13.1: /usr/include/ruby-2.0.0/ruby.h
-%if 0%{?suse_version} >= 1310
+%if 0%{?suse_version} == 1310 || 0%{?suse_version} == 1320
 EXTRA_INCLUDES="/usr/include/ruby-%{rb20_ver}:/usr/include/ruby-%{rb20_ver}/%{_target}"
 %endif
+%if 0%{?suse_version} >= 1330
+EXTRA_INCLUDES="/usr/include/ruby-%{rb_ver}"
+%endif
 
 # Warning: GCC visibility causes FTBFS [Bug #1285]
 %configure \