- regenerate with current template
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Without-Module?expand=0&rev=5
This commit is contained in:
parent
bf32ba5371
commit
c9826192e1
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 5 18:43:54 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- regenerate with current template
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 1 06:55:45 UTC 2010 - coolo@novell.com
|
Wed Dec 1 06:55:45 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,55 +1,62 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
# norootforbuild
|
# spec file for package perl-Test-Without-Module
|
||||||
|
#
|
||||||
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Test-Without-Module
|
Name: perl-Test-Without-Module
|
||||||
Version: 0.17
|
Version: 0.17
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define cpan_name Test-Without-Module
|
||||||
Summary: Test fallback behaviour in absence of modules
|
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
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
URL: http://search.cpan.org/dist/Test-Without-Module/
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Perl License
|
Url: http://search.cpan.org/dist/Test-Without-Module/
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
Source: http://www.cpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{version}.tar.gz
|
||||||
%{perl_requires}
|
BuildArch: noarch
|
||||||
BuildRequires: make perl
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Test::Pod)
|
#BuildRequires: perl(My::Module)
|
||||||
BuildRequires: perl(File::Slurp)
|
#BuildRequires: perl(Test::Pod)
|
||||||
|
#BuildRequires: perl(Test::Without::Module)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module allows you to deliberately hide modules from a program even though
|
This module allows you to deliberately hide modules from a program even
|
||||||
they are installed. This is mostly useful for testing modules that have a
|
though they are installed. This is mostly useful for testing modules that
|
||||||
fallback when a certain dependency module is not installed.
|
have a fallback when a certain dependency module is not installed.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Test-Without-Module-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%__sed -i 's/\r$//' Changes README
|
|
||||||
%__chmod 0644 Changes README
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%__make %{?jobs:-j%{jobs}}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%check
|
%files -f %{name}.files
|
||||||
%__make test
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes MANIFEST.skip README
|
||||||
%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}
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user