summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-05 15:03:10 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-05 15:03:10 +0200
commit8564e5cf3f321aecabb7eb8875ded531534c7277 (patch)
tree3857076505c564da828c5e33f5eac8763d2a0471
parent06a8f7549010b575249cd868dbdae8801723eb02 (diff)
downloadtde-packaging-8564e5cf3f321aecabb7eb8875ded531534c7277.tar.gz
tde-packaging-8564e5cf3f321aecabb7eb8875ded531534c7277.zip
RPM Packaging: add rpmlintrc
-rw-r--r--redhat/tdelibs/tdelibs-14.0.0.spec12
-rw-r--r--redhat/tdelibs/trinity-tdelibs-rpmlintrc1
2 files changed, 8 insertions, 5 deletions
diff --git a/redhat/tdelibs/tdelibs-14.0.0.spec b/redhat/tdelibs/tdelibs-14.0.0.spec
index 67355defc..2b7839a99 100644
--- a/redhat/tdelibs/tdelibs-14.0.0.spec
+++ b/redhat/tdelibs/tdelibs-14.0.0.spec
@@ -58,6 +58,7 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: %{name}-rpmlintrc
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
@@ -628,12 +629,13 @@ fi
%suse_update_desktop_file -r tderesources Qt X-TDE-settings-desktop
%endif
-# Remove setuid bit on some binaries
-chmod -s %{?buildroot}%{tde_bindir}/kgrantpty
-chmod -s %{?buildroot}%{tde_bindir}/kpac_dhcp_helper
-chmod -s %{?buildroot}%{tde_bindir}/start_tdeinit
+# Remove setuid bit on some binaries.
+chmod -s "%{?buildroot}%{tde_bindir}/kgrantpty"
+chmod -s "%{?buildroot}%{tde_bindir}/kpac_dhcp_helper"
+chmod -s "%{?buildroot}%{tde_bindir}/start_tdeinit"
-# fileshareset is provided separately.
+# fileshareset 2.0 is provided separately.
+# Remove integrated fileshareset 1.0 .
%__rm -f "%{?buildroot}%{tde_bindir}/filesharelist"
%__rm -f "%{?buildroot}%{tde_bindir}/fileshareset"
diff --git a/redhat/tdelibs/trinity-tdelibs-rpmlintrc b/redhat/tdelibs/trinity-tdelibs-rpmlintrc
new file mode 100644
index 000000000..8668d5e81
--- /dev/null
+++ b/redhat/tdelibs/trinity-tdelibs-rpmlintrc
@@ -0,0 +1 @@
+setBadness('suse-dbus-unauthorized-service', 0)