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
_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to