1
0
forked from pool/util-linux

Fix pre_checkin.sh.

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=259
This commit is contained in:
Stanislav Brabec 2014-09-04 14:05:56 +00:00 committed by Git OBS Bridge
parent 3267442cd6
commit b0374a4aa9
3 changed files with 5 additions and 3 deletions

View File

@ -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/
' <util-linux.spec >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.spec >util-linux-systemd.spec
cp -a util-linux.changes python-libmount.changes

View File

@ -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

View File

@ -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.