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.