[Rpm-maint] [rpm-software-management/rpm] Add shortcut to rpmbuild --without debuginfo (#497)

Filipe Brandenburger notifications at github.com
Tue Aug 7 06:09:42 UTC 2018


Currenlty, the incantation to skip creating debuginfo RPMs is:

```
$ rpmbuild -ba --define "debug_package %{nil}" hello.spec
```

Which looks ad-hoc and always requires me to go back and check my notes...

This commit adds a shortcut by making it possible to run:

```
$ rpmbuild -ba --without debuginfo hello.spec
```

Also add test coverage for the new feature.

You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/497

-- Commit Summary --

  * Add shortcut to --without debuginfo

-- File Changes --

    M macros.in (3)
    M tests/rpmbuild.at (30)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/497.patch
https://github.com/rpm-software-management/rpm/pull/497.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/497
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180806/26e4adc6/attachment.html>


More information about the Rpm-maint mailing list