2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 22:35:35 +00:00

Set %distro macro correctly when building against fedora core on

opensuse's buildservice (http:://build.opensuse.org)
This commit is contained in:
Steve Beattie
2007-01-18 07:33:09 +00:00
parent c72cf57b65
commit 51d047ba35
2 changed files with 18 additions and 2 deletions

View File

@@ -17,7 +17,15 @@
# norootforbuild
# Check first to see if distro is already defined.
# I hate rpm macros
%if ! %{?distro:1}0
%if %{?suse_version:1}0
%define distro suse
%endif
%if %{?fedora_version:1}0
%define distro redhat
%endif
%endif
%if ! %{?distro:1}0
%define distro suse
%endif