#2 Package headers in devel package, in prep for MPI-bash
Merged 2 years ago by svashisht. Opened 2 years ago by junghans.

file modified
+17 -2

@@ -7,7 +7,7 @@

  Version: %{baseversion}%{patchleveltag}

  Name: bash

  Summary: The GNU Bourne Again shell

- Release: 12%{?dist}

+ Release: 13%{?dist}

  License: GPLv3+

  Url: http://www.gnu.org/software/bash

  Source0: ftp://ftp.gnu.org/gnu/bash/bash-%{baseversion}.tar.gz

@@ -106,6 +106,14 @@

  incorporates useful features from the Korn shell (ksh) and the C shell

  (csh). Most sh scripts can be run by bash without modification.


+ %package devel

+ Summary: Development headers for %{name}

+ Requires: %{name} = %{version}-%{release}

+ Requires: pkgconf-pkg-config


+ %description devel

+ This package contains development headers for %{name}.


  %package doc

  Summary: Documentation files for %{name}

  Requires: %{name} = %{version}-%{release}

@@ -140,7 +148,7 @@

  # Fix bug #83776

  sed -i -e 's,bashref\.info,bash.info,' doc/bashref.info


- %make_install

+ %make_install install-headers


  mkdir -p %{buildroot}/etc


@@ -303,7 +311,14 @@

  %files doc -f %{name}-doc.files

  %doc doc/*.ps doc/*.0 doc/*.html doc/article.txt


+ %files devel

+ %{_includedir}/%{name}

+ %{_libdir}/pkgconfig/%{name}.pc



+ * Wed Nov 08 2017 Christoph Junghans <junghans@votca.org> - 4.4.12-13

+ - Package headers in devel package, in prep for MPI-bash


  * Mon Oct 30 2017 Siteshwar Vashisht <svashisht@redhat.com> - 4.4.12-12

  - Revert change to always source from /etc/bashrc


I want to package MPI-Bash, which needs the bash headers.

rebased onto 6c8f282

2 years ago

Much much less hackish solution using bash-4.4 make install-headers.

LGTM to me. I am waiting for review from @kdudka .

I am not a native speaker but "Development headers bash" sounds confusing to me. Should it say "... for bash" or "... of bash" instead?

Also, if the -devel subpackage does not own the %{_libdir}/pkgconfig directory, it should require a package that will install it. Otherwise, the changes look good.

rebased onto 353794e

2 years ago

I forgot, I could do that, but here is a successful scratch build:

Thanks for the fixup! Looks perfect now.

Thanks for the fixup! Looks perfect now.

I am glad. I will post the link to mpibash package review bug here once you merge this.

Pull-Request has been merged by svashisht

2 years ago