From 888f04456038920ad21e4a38d3dfccee1097cbb4 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Dec 02 2014 15:56:27 +0000 Subject: Split out -perl --- diff --git a/bionetgen.spec b/bionetgen.spec index afe4e75..dc76293 100644 --- a/bionetgen.spec +++ b/bionetgen.spec @@ -14,6 +14,7 @@ BuildRequires: openmpi-devel BuildRequires: autoconf automake BuildRequires: libtool Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: %{name}-perl = %{version}-%{release} # BioNetGen does not namespace its perl modules %global __provides_exclude perl\\(.*BNG.*|Cache|CartesianProduct|Compartment.*|Component.*|Console|EnergyPattern|Expression|Function|HNauty|Map|ModelWrapper|Molecule*|Observable|Param*|PatternGraph|Population*|RateLaw|RefineRule|Rxn*|Species*|Transformation*|XML::*|XMLReader\\) @@ -32,6 +33,13 @@ BioNetGen is presently a mixture of Perl and C++. Network generation is currently implemented in Perl, the network simulator is C++, and a new language parser is being developed with ANTLR. +%package perl +Summary: Perl scripts used by bionetgen +BuildArch: noarch +Requires: bionetgen = %{version}-%{release} +%description perl +%{summary}. + %prep %setup -q -n BioNetGen-%{version}-stable pushd Network3 @@ -60,6 +68,8 @@ cp BNG2.pl %{buildroot}/%{perl_vendorlib}/BioNetGen/ %license LICENSE.txt %doc CREDITS.txt CHANGES.txt README_FIRST.txt %{_bindir}/run_network + +%files perl %{perl_vendorlib}/BioNetGen %changelog