Confusing error message in cabal-tweak-flag, as follows: if ! grep -q -i "^flag *$FLAG" $CABALFILE; then echo "$CABALFILE does have flag $FLAG" exit 1 fi It seems this should rather say "does not have flag". Observed in: ghc-rpm-macros-1.0.7.4-1.fc20.x86_64
Oops, good catch! Thanks for reporting this. I committed a fix to the master branch http://pkgs.fedoraproject.org/cgit/ghc-rpm-macros.git/commit/?id=1107962ad8dbbe25edf291614eccac8b3de04086 and built it for f22 rawhide. It should get backported to current releases later.
ghc-rpm-macros-1.2.19-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/ghc-rpm-macros-1.2.19-1.fc21
Package ghc-rpm-macros-1.2.19-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ghc-rpm-macros-1.2.19-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1109/ghc-rpm-macros-1.2.19-1.fc21 then log in and leave karma (feedback).
ghc-rpm-macros-1.2.19-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
ghc-rpm-macros-1.0.7.5-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-5eff081c6c
ghc-rpm-macros-1.0.7.5-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'yum --enablerepo=epel-testing update ghc-rpm-macros' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-5eff081c6c
This bug is currently assigned to an unsupported release. If you think this bug is still valid and should remain open, please re-assign it to a supported release (F22, F23) or to rawhide. Bugs which will be assigned to an unsupported release are going to be closed as EOL (End Of Life) on January 26th, 2016.
ghc-rpm-macros-1.0.7.5-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
Already fixed in later releases.