Created
August 11, 2011 14:19
-
-
Save renepardon/1139761 to your computer and use it in GitHub Desktop.
Experiencing with .spec files for .rpm building
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%if 0%{?rhel} || 0%{?centos_version} | |
# RedHat | CentOS | |
BuildRequires: php-devel >= 5.2 | |
Requires: php5 >= 5.2 | |
%else | |
%if 0%{?fedora} | |
# Fedora | |
BuildRequires: php5-dev >= 5.2 | |
Requires: php5 >= 5.2 | |
%endif | |
%else | |
# SUSE | |
BuildRequires: php5-devel >= 5.2 | |
Requires: php5 >= 5.2 | |
%endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment