0.92 bump
This commit is contained in:
parent
be5068d580
commit
ea2e611652
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
IPC-Run-0.84.tar.gz
|
IPC-Run-0.84.tar.gz
|
||||||
/IPC-Run-0.89.tar.gz
|
/IPC-Run-0.89.tar.gz
|
||||||
|
/IPC-Run-0.92.tar.gz
|
||||||
|
@ -1,17 +1,23 @@
|
|||||||
Name: perl-IPC-Run
|
Name: perl-IPC-Run
|
||||||
Version: 0.89
|
Version: 0.92
|
||||||
Release: 9%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Perl module for interacting with child processes
|
Summary: Perl module for interacting with child processes
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/IPC-Run/
|
URL: http://search.cpan.org/dist/IPC-Run/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(constant)
|
||||||
|
BuildRequires: perl(Data::Dumper)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(IO::Pty) >= 1.00
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl(IO::Handle)
|
||||||
|
BuildRequires: perl(IO::Pty) >= 1.08
|
||||||
BuildRequires: perl(Test::More) >= 0.47
|
BuildRequires: perl(Test::More) >= 0.47
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
Requires: perl(IO::Pty) >= 1.00
|
Requires: perl(IO::Pty) >= 1.08
|
||||||
|
|
||||||
%description
|
%description
|
||||||
IPC::Run allows you run and interact with child processes using files,
|
IPC::Run allows you run and interact with child processes using files,
|
||||||
@ -23,38 +29,38 @@ and DOS command lines are provided.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n IPC-Run-%{version}
|
%setup -q -n IPC-Run-%{version}
|
||||||
chmod 644 lib/IPC/*.pm lib/IPC/Run/*.pm Changes eg/*
|
|
||||||
for file in eg/run_daemon abuse/timers abuse/blocking_debug_with_sub_coprocess ; do
|
for file in eg/run_daemon abuse/timers abuse/blocking_debug_with_sub_coprocess ; do
|
||||||
%{__perl} -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file"
|
perl -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
%{_fixperms} %{buildroot}/*
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
rm -f %{buildroot}%{perl_vendorlib}/IPC/Run/Win32*.pm
|
||||||
|
rm -f %{buildroot}%{_mandir}/man3/IPC::Run::Win32*.3*
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/IPC/Run/Win32*.pm
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man3/IPC::Run::Win32*.3*
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# test doesn't work in this mock with tty
|
make test
|
||||||
#make test
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes LICENSE README TODO
|
%doc Changes LICENSE README TODO
|
||||||
%doc abuse/ eg/
|
%doc abuse/ eg/
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 16 2012 Petr Šabata <contyk@redhat.com> - 0.92-1
|
||||||
|
- 0.92 bump
|
||||||
|
- Modernize the spec
|
||||||
|
- Fix dependencies
|
||||||
|
- Enable the test suite
|
||||||
|
- Drop command macros
|
||||||
|
|
||||||
* Thu Sep 13 2012 Petr Pisar <ppisar@redhat.com> - 0.89-9
|
* Thu Sep 13 2012 Petr Pisar <ppisar@redhat.com> - 0.89-9
|
||||||
- IO::Pty is required when passing ">pty>" argument (bug #857030)
|
- IO::Pty is required when passing ">pty>" argument (bug #857030)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user