diff --git a/SPECS/nuxwdog.spec b/SPECS/nuxwdog.spec index 37d3324..ad44ac3 100644 --- a/SPECS/nuxwdog.spec +++ b/SPECS/nuxwdog.spec @@ -1,6 +1,6 @@ Name: nuxwdog Version: 1.0.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Watchdog server to start and stop processes, and prompt for passwords # The entire source code is LGPLv2 except for the perl module, which is GPL+ or Artistic License: LGPLv2 and (GPL+ or Artistic) @@ -21,7 +21,6 @@ BuildRequires: keyutils-libs-devel Requires: nss Requires: keyutils-libs Obsoletes: nuxwdog-client -Obsoletes: nuxwdog-client-perl Source0: https://fedorahosted.org/released/nuxwdog/%{name}-%{version}.tar.gz @@ -58,6 +57,14 @@ The nuxwdog-client-java package contains a JNI interface to the nuxwdog client code, so that Java clients can interact with the nuxwdog watchdog server. +%package client-perl +Group: System Environment/Libraries +Summary: Nuxwdog Watchdog client perl bindings +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: %{name} = %{version}-%{release} + +%description client-perl +The nuxwdog-client-perl package contains a perl interface to nuxwdog. %prep %setup -q -n %{name}-%{version} @@ -110,10 +117,7 @@ rm -rf %{buildroot} %doc LICENSE %{_bindir}/* %{_libdir}/libnuxwdog.so.* -%{_mandir}/man3/Nuxwdogclient.3pm* %{_mandir}/man1/nuxwdog.1* -%{perl_vendorarch}/* -%exclude %dir %{perl_vendorarch}/auto/ %files devel %defattr(-,root,root,-) @@ -127,7 +131,16 @@ rm -rf %{buildroot} %{_libdir}/nuxwdog-jni/ %{_jnidir}/* +%files client-perl +%defattr(-,root,root,-) +%{_mandir}/man3/Nuxwdogclient.3pm* +%{perl_vendorarch}/* +%exclude %dir %{perl_vendorarch}/auto/ + %changelog +* Fri Jun 24 2016 Ade Lee 1.0.3-5 +- Resolves: rhbz#1283272 - Move perl bindings to a subpackage + * Wed Nov 18 2015 Ade Lee 1.0.3-4 - Resolves: rhbz#1283338 - Use java-headless instead