Bug ID 1207289
Summary windows:mingw:win{32|64}: drop obsolete BuildRoot: line in spec files
Classification openSUSE
Product openSUSE.org
Version unspecified
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component 3rd party software
Assignee fstrba@suse.com
Reporter ralf.habacker@freenet.de
QA Contact screening-team-bugs@suse.de
CC fridrich.strba@bluewin.ch, hib@hiberis.nl, mkbosmans@gmail.com
Found By ---
Blocker ---

In the past, several changes were made to the packages of the listed projects,
including the removal of the line "BuildRoot:".

As this is used by many *.spec files (398 out of 547 existing):

osc co windows:mingw:win32
cd windows:mingw:win32
find -maxdepth 2 -type f -name '*.spec' -exec grep -Hn "BuildRoot:" {} \; | wc
-l
398
find -maxdepth 2 -type f -name '*.spec' | wc -l
547

it could save the packagers time to do this removal as a bulk change with:

osc co windows:mingw:win32
cd windows:mingw:win32
find -maxdepth 2 -type f -name '*.spec' -exec gawk -i inplace '$1 ==
"BuildRoot:" { getline } { print $0}' {} \;
osc ci -m "Drop BuildRoot:"


You are receiving this mail because: