forked from pool/perl-Test-Without-Module
0.17
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Without-Module?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
Test-Without-Module-0.17.tar.gz
Normal file
3
Test-Without-Module-0.17.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a691b0bf6d92dedbacfd547551021389ebc79c51937de2b914e792457da56ff7
|
||||||
|
size 6709
|
5
perl-Test-Without-Module.changes
Normal file
5
perl-Test-Without-Module.changes
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 25 07:45:50 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- initial version (0.17)
|
||||||
|
|
55
perl-Test-Without-Module.spec
Normal file
55
perl-Test-Without-Module.spec
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
# vim: set sw=4 ts=4 et nu:
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: perl-Test-Without-Module
|
||||||
|
Version: 0.17
|
||||||
|
Release: 0
|
||||||
|
Summary: Test fallback behaviour in absence of modules
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/C/CO/CORION/Test-Without-Module-%{version}.tar.gz
|
||||||
|
URL: http://search.cpan.org/dist/Test-Without-Module/
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
License: Perl License
|
||||||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
BuildRequires: make perl
|
||||||
|
BuildRequires: perl(Test::Pod)
|
||||||
|
BuildRequires: perl(File::Slurp)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module allows you to deliberately hide modules from a program even though
|
||||||
|
they are installed. This is mostly useful for testing modules that have a
|
||||||
|
fallback when a certain dependency module is not installed.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n "Test-Without-Module-%{version}"
|
||||||
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||||||
|
|
||||||
|
%__sed -i 's/\r$//' Changes README
|
||||||
|
%__chmod 0644 Changes README
|
||||||
|
|
||||||
|
%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
|
||||||
|
%dir %{perl_vendorlib}/Test/Without
|
||||||
|
%{perl_vendorlib}/Test/Without/Module.pm
|
||||||
|
%dir %{perl_vendorarch}/auto/Test
|
||||||
|
%dir %{perl_vendorarch}/auto/Test/Without
|
||||||
|
%{perl_vendorarch}/auto/Test/Without/Module
|
||||||
|
%doc %{perl_man3dir}/Test::Without::Module.%{perl_man3ext}%{ext_man}
|
||||||
|
/var/adm/perl-modules/%{name}
|
||||||
|
|
Reference in New Issue
Block a user