summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Ward <david.ward@ll.mit.edu>2018-03-25 19:03:15 -0400
committerDavid Ward <david.ward@ll.mit.edu>2018-03-26 19:19:21 -0400
commit1d3807c4da1e3cadf16b71192d2e41fac3488814 (patch)
treec8aeb92d1a6eac2ec775292163707b10c1f6b199
parent99f4b0aafda99603ae4dcbe344b8adebfb018ac4 (diff)
downloadATCD-1d3807c4da1e3cadf16b71192d2e41fac3488814.tar.gz
Explicitly require Data::Dumper Perl module to build RPM packages
In Fedora, this Perl module is located in a separate package that may not be installed automatically in a minimal build environment (for example, when building packages with Mock [1]). This module is used by MPC during the build. This change adds the virtual package name "perl(Data::Dumper)" to the BuildRequires: tag, which ensures that the package containing this module is installed for any RPM-based distribution. This was tested with the openSUSE Build Service. [1]: https://github.com/rpm-software-management/mock/wiki
-rw-r--r--ACE/rpmbuild/ace-tao.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/rpmbuild/ace-tao.spec b/ACE/rpmbuild/ace-tao.spec
index a91db76813a..de43de6d99a 100644
--- a/ACE/rpmbuild/ace-tao.spec
+++ b/ACE/rpmbuild/ace-tao.spec
@@ -112,7 +112,7 @@ BuildRequires: zlib-devel
BuildRequires: bzip2
%endif
-BuildRequires: perl
+BuildRequires: perl perl(Data::Dumper)
%if %{?_with_fltk:1}%{!?_with_fltk:0}
BuildRequires: fltk-devel