git.annexia.org
/
fedora-ocaml-rebuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
928ef8b
)
Remove package notes disabling check
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 11 Jul 2023 16:52:02 +0000
(17:52 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 11 Jul 2023 16:52:02 +0000
(17:52 +0100)
Goalfile
patch
|
blob
|
history
diff --git
a/Goalfile
b/Goalfile
index
a41fa96
..
1c96dd4
100644
(file)
--- a/
Goalfile
+++ b/
Goalfile
@@
-224,12
+224,6
@@
pure function get-source-packages () returning strings = {
for pkg in %packages; do
spec=$pkg/%fedora-branch/$pkg.spec
if [ -f $spec ]; then
for pkg in %packages; do
spec=$pkg/%fedora-branch/$pkg.spec
if [ -f $spec ]; then
- # Check that all spec files have disabled the broken
- # "package notes" misfeature.
- if ! grep -sq "%%undefine _package_note_flags" $spec ; then
- echo "ERROR: $pkg does not %%undefine _package_note_flags" >&2
- exit 1
- fi
# Check that the spec file excludes i686.
if ! rpmspec -P $spec | grep -sq 'ExcludeArch:.*i386' ; then
echo "ERROR: $pkg does not ExcludeArch: %%{ix86}" >&2
# Check that the spec file excludes i686.
if ! rpmspec -P $spec | grep -sq 'ExcludeArch:.*i386' ; then
echo "ERROR: $pkg does not ExcludeArch: %%{ix86}" >&2