Skip to content

Commit

Permalink
Remove RPM specfile support for non-RedHat systems
Browse files Browse the repository at this point in the history
RPM specfile support for non-RedHat systems is being dropped since
it has become a maintenance burden to maintain multiple distros
in the same specfile, especially with the transition to systemd.
Packaging details like this are best handled downstream.

The specfile will target the latest CentOS release.  RPM specfiles for
other distros & releases will be placed in a contrib subdir if needed.

Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Issue #27
Issue #36
Issue #39
  • Loading branch information
dun committed Dec 22, 2015
1 parent 64ffcb7 commit b0f993f
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions munge.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,20 @@ License: GPLv3+ and LGPLv3+
URL: https://dun.github.io/munge/
Requires: %{name}-libs = %{version}-%{release}

%if 0%{?suse_version} >= 1100
BuildRequires: libbz2-devel
BuildRequires: libopenssl-devel
BuildRequires: zlib-devel
%else
%if 0%{?sles_version} || 0%{?suse_version}
BuildRequires: bzip2
BuildRequires: openssl-devel
BuildRequires: zlib-devel
%else
BuildRequires: bzip2-devel
BuildRequires: openssl-devel
BuildRequires: zlib-devel
%endif
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}

Source0: %{name}-%{version}.tar.bz2

%if 0%{?suse_version} >= 1230
Requires(pre): shadow
%else
%if 0%{?suse_version}
Requires(pre): pwdutils
%else
Requires(pre): shadow-utils
%endif
%endif

%package devel
Summary: Headers and libraries for developing applications using MUNGE
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
%if 0%{?suse_version}
BuildRequires: pkg-config
%else
BuildRequires: pkgconfig
%endif

%package libs
Summary: Libraries for applications using MUNGE
Expand Down

0 comments on commit b0f993f

Please sign in to comment.