From 8564e5cf3f321aecabb7eb8875ded531534c7277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 5 Oct 2014 15:03:10 +0200 Subject: RPM Packaging: add rpmlintrc --- redhat/tdelibs/tdelibs-14.0.0.spec | 12 +++++++----- redhat/tdelibs/trinity-tdelibs-rpmlintrc | 1 + 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 redhat/tdelibs/trinity-tdelibs-rpmlintrc (limited to 'redhat') 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) -- cgit v1.2.1