From 91e537c939e0531a45e8588b56f887d5be4058d0d113721266a705f73f296e42 Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Thu, 11 Feb 2010 17:39:18 +0000 Subject: [PATCH] - replace mail address by http url in xdg_data check (bnc#510720) OBS-URL: https://build.opensuse.org/package/show/Base:System/brp-check-suse?expand=0&rev=6 --- brp-check-suse-fix_mail.patch | 11 +++++++++++ brp-check-suse.changes | 5 +++++ brp-check-suse.spec | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 brp-check-suse-fix_mail.patch diff --git a/brp-check-suse-fix_mail.patch b/brp-check-suse-fix_mail.patch new file mode 100644 index 0000000..4b87e43 --- /dev/null +++ b/brp-check-suse-fix_mail.patch @@ -0,0 +1,11 @@ +--- brp-desktop.data/xdg_menu ++++ brp-desktop.data/xdg_menu +@@ -1980,7 +1980,7 @@ + $output = output_validate($menu); + print $output; + if ( $validate_error eq 1 ) { +- print "Errors in installed desktop file detected. Please mail stbinner\@suse.de, if you think this is wrong.\n"; ++ print "Errors in installed desktop file detected. Please refer to http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros\n"; + exit 1; + } + exit 0; diff --git a/brp-check-suse.changes b/brp-check-suse.changes index 11d917d..1fe7d5c 100644 --- a/brp-check-suse.changes +++ b/brp-check-suse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 11 18:38:31 CET 2010 - ro@suse.de + +- replace mail address by http url in xdg_data check (bnc#510720) + ------------------------------------------------------------------- Fri Sep 18 01:44:06 CEST 2009 - ro@suse.de diff --git a/brp-check-suse.spec b/brp-check-suse.spec index bd7b9b0..0197db3 100644 --- a/brp-check-suse.spec +++ b/brp-check-suse.spec @@ -26,6 +26,7 @@ Summary: build root policy check scripts Version: 1.0 Release: 22 Source0: %{name}-%{version}.tar.bz2 +Patch0: brp-check-suse-fix_mail.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -36,6 +37,7 @@ build root policy check scripts %prep %setup -q +%patch0 %build # nothing to do