Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

munge.spec for openSUSE #5

Closed
GoogleCodeExporter opened this issue May 15, 2015 · 4 comments
Closed

munge.spec for openSUSE #5

GoogleCodeExporter opened this issue May 15, 2015 · 4 comments
Labels
Milestone

Comments

@GoogleCodeExporter
Copy link

Hi,

the package bzip2-devel does not exist under openSUSE or SLES products. the package that contains the bzlib.h file is named libbz2-devel.

1] Some informations:

openSUSE# cat /etc/SuSE-release 
openSUSE 11.2 (x86_64)
VERSION = 11.2
openSUSE# rpmbuilt -ta munge-0.5.9.tar.bz2
error: Failed build dependencies:
    bzip2-devel is needed by munge-0.5.9-1.src
openSUSE# rpm -ql libbz2-devel
/usr/include/bzlib.h
/usr/lib64/libbz2.so

2] Here is the modification I made to munge.spec to have it build on openSUSE 11.2:

openSUSE# diff munge.spec.orig munge.spec
13d12
< BuildRequires:    bzip2-devel
14a14,22
> 
> %if 0%{?fedora_version}
> BuildRequires:    bzip2-devel
> %endif
> 
> %if 0%{?suse_version}
> BuildRequires:    libbz2-devel
> %endif
> 

It is not really an issue but it could help someone else running munge on SUSE systems... maybe a line in the README file could be sufficient.

Cheers,
Matthieu

Original issue reported on code.google.com by timhaute on 2 Feb 2011 at 11:00

@GoogleCodeExporter
Copy link
Author

Thanks!

Back in SLES9, bzlib.h & libbz2.so were in the bzip2 rpm.

I just now checked an openSUSE 11.2 VM and found I needed to install "libopenssl-devel" (yet the BuildRequires seemed to work with either "openssl-devel" or "libopenssl-devel").

I still need to do a little more investigation to see what changed when and where.

Original comment by chris.m.dunlap on 3 Feb 2011 at 2:07

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

This issue was updated by svn:r908 / 1707418.

SLES 9 - 10 places the bzip2 include & lib files within the "bzip2" package. openSUSE 11.0 separates these files into the "libbz2-devel" package (changelog entry on 2007-05-30). RedHat/Fedora call this the "bzip2-devel" package.

In addition, openSUSE changes the "openssl-devel" package name to "libopenssl-devel" (changelog entry on 2007-04-25); note that this package still provides "openssl-devel".

Added RPM conditional tests for %sles_version & %suse_version as per https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto.

Tested changes on openSUSE 11.2, SLES9, RHEL5, RHEL6, and FC13.

Original comment by chris.m.dunlap on 4 Feb 2011 at 3:19

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

This issue was closed by svn:r909 / 6d5f98a.

Original comment by chris.m.dunlap on 4 Feb 2011 at 3:24

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Original comment by chris.m.dunlap on 4 Feb 2011 at 3:31

  • Added labels: Milestone-0.5.10

@dun dun added bug and removed auto-migrated labels Jun 4, 2015
@dun dun added this to the 0.5.10 milestone Jun 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants