From b0374a4aa9cb885e72ac00e81b003fe0e1c859b49f2d80a8b7e615e8e1178ede Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Thu, 4 Sep 2014 14:05:56 +0000 Subject: [PATCH] Fix pre_checkin.sh. OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=259 --- pre_checkin.sh | 2 ++ python-libmount.spec | 4 ++-- util-linux-systemd.spec | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pre_checkin.sh b/pre_checkin.sh index 4ed7c53..5cd0052 100644 --- a/pre_checkin.sh +++ b/pre_checkin.sh @@ -21,11 +21,13 @@ fi sed ' s/spec file for package util-linux/spec file for package python-libmount/; /^Name:/s/util-linux/python-libmount/; + s/WARNING: After editing this file please/WARNING: Never edit this file!!! Edit util-linux.spec and/ ' python-libmount.spec sed ' s/spec file for package util-linux/spec file for package util-linux-systemd/; /^Name:/s/util-linux/util-linux-systemd/; + s/WARNING: After editing this file please/WARNING: Never edit this file!!! Edit util-linux.spec and/ ' util-linux-systemd.spec cp -a util-linux.changes python-libmount.changes diff --git a/python-libmount.spec b/python-libmount.spec index 7b60de9..40487d4 100644 --- a/python-libmount.spec +++ b/python-libmount.spec @@ -23,7 +23,7 @@ Name: python-libmount %define _name util-linux -# WARNING: After editing this file please call pre_checkin.sh to update spec files: +# WARNING: Never edit this file!!! Edit util-linux.spec and call pre_checkin.sh to update spec files: %define _name util-linux # To prevent dependency loop in automatic build systems, we want to # build util-linux in parts. To build all at once, set build_all to 1. @@ -76,7 +76,7 @@ Name: python-libmount %endif Summary: %main_summary License: GPL-2.0+ -Group: %group_pl +Group: %main_group BuildRequires: audit-devel BuildRequires: bc BuildRequires: binutils-devel diff --git a/util-linux-systemd.spec b/util-linux-systemd.spec index 93a7f36..1e375fd 100644 --- a/util-linux-systemd.spec +++ b/util-linux-systemd.spec @@ -23,7 +23,7 @@ Name: util-linux-systemd %define _name util-linux -# WARNING: After editing this file please call pre_checkin.sh to update spec files: +# WARNING: Never edit this file!!! Edit util-linux.spec and call pre_checkin.sh to update spec files: %define _name util-linux # To prevent dependency loop in automatic build systems, we want to # build util-linux in parts. To build all at once, set build_all to 1.