commit 97f3992a664071ebd1fd350fc5421f63d4b2aee76c0b5151d3acdf1f281aebf3 Author: Pascal Bleser Date: Wed Aug 25 10:12:59 2010 +0000 0.12 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-SharedFork?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Test-SharedFork-0.12.tar.gz b/Test-SharedFork-0.12.tar.gz new file mode 100644 index 0000000..abe50d7 --- /dev/null +++ b/Test-SharedFork-0.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a88b32ffa87ab54c669e55e3bf94d530651cc9d5aeb984f24d556c931e07285 +size 24073 diff --git a/perl-Test-SharedFork.changes b/perl-Test-SharedFork.changes new file mode 100644 index 0000000..1b3d78d --- /dev/null +++ b/perl-Test-SharedFork.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Aug 25 10:12:42 UTC 2010 - pascal.bleser@opensuse.org + +- initial package (0.12) + diff --git a/perl-Test-SharedFork.spec b/perl-Test-SharedFork.spec new file mode 100644 index 0000000..d430fa5 --- /dev/null +++ b/perl-Test-SharedFork.spec @@ -0,0 +1,51 @@ +# vim: set sw=4 ts=4 et nu: +# norootforbuild + +Name: perl-Test-SharedFork +Version: 0.12 +Release: 0 +Summary: Perl Module to Test Forks +Source: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-SharedFork-%{version}.tar.gz +URL: http://search.cpan.org/dist/Test-SharedFork/ +Group: Development/Libraries/Perl +License: Perl License +BuildRoot: %{_tmppath}/build-%{name}-%{version} +Requires: perl = %{perl_version} +BuildRequires: make perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +BuildRequires: perl(Test::More) >= 0.88 +Requires: perl(Test::More) >= 0.88 + +%description +Test::SharedFork is a utility module for Test::Builder to test forking. +It merges the test count with parent process & child process. + +%prep +%setup -q -n "Test-SharedFork-%{version}" +%__sed -i '/^auto_install/d' Makefile.PL + +%build +%__perl Makefile.PL PREFIX="%{_prefix}" +%__make %{?jobs:-j%{jobs}} + +%install +%perl_make_install +%perl_process_packlist + +%check +%__make test + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files +%defattr(-,root,root) +%doc Changes README +%dir %{perl_vendorlib}/Test +%{perl_vendorlib}/Test/SharedFork.pm +%{perl_vendorlib}/Test/SharedFork +%dir %{perl_vendorarch}/auto/Test +%{perl_vendorarch}/auto/Test/SharedFork +%doc %{perl_man3dir}/Test::SharedFork.%{perl_man3ext}%{ext_man} +/var/adm/perl-modules/%{name} +