diff --git a/Acme-Damn-0.04.tar.gz b/Acme-Damn-0.04.tar.gz deleted file mode 100644 index 61c3af5..0000000 --- a/Acme-Damn-0.04.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1765c02fc886b636e00dd57c341f447863a57b40978c2e22a88f67fc27bbec9d -size 6134 diff --git a/Acme-Damn-0.06.tar.gz b/Acme-Damn-0.06.tar.gz new file mode 100644 index 0000000..12e0307 --- /dev/null +++ b/Acme-Damn-0.06.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7925c932b9f89d2ca413680af68ed9809e7093e4ecd5bc2bd4147bdaee39ee6f +size 8635 diff --git a/perl-Acme-Damn.changes b/perl-Acme-Damn.changes index d066a1e..5c40767 100644 --- a/perl-Acme-Damn.changes +++ b/perl-Acme-Damn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 13 13:57:48 UTC 2015 - coolo@suse.com + +- updated to 0.06 + ------------------------------------------------------------------- Wed Dec 1 13:30:32 UTC 2010 - coolo@novell.com diff --git a/perl-Acme-Damn.spec b/perl-Acme-Damn.spec index 2edceac..9d41cc0 100644 --- a/perl-Acme-Damn.spec +++ b/perl-Acme-Damn.spec @@ -1,57 +1,59 @@ +# +# spec file for package perl-Acme-Damn +# +# Copyright (c) 2015 SUSE LINUX 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-Acme-Damn -# List of additional build dependencies -#BuildRequires: gcc-c++ libxml2-devel -Version: 0.04 -Release: 1 -License: Artistic license -Source: Acme-Damn-0.04.tar.gz +Version: 0.06 +Release: 0 +%define cpan_name Acme-Damn +Summary: 'Unbless' Perl objects. +License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl -Summary: Acme::Damn - 'Unbless' Perl objects +Url: http://search.cpan.org/dist/Acme-Damn/ +Source: http://www.cpan.org/authors/id/I/IB/IBB/%{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Test::Exception) +Requires: perl(Test::Exception) +%{perl_requires} %description -Acme::Damn provides a single routine, damn(), which takes a blessed -reference (a Perl object), and unblesses it, to return the original -reference. I can't think of any reason why you might want to do this, -but just because it's of no use doesn't mean that you shouldn't be -able to do it. - +*Acme::Damn* provides a single routine, *damn()*, which takes a blessed +reference (a Perl object), and _unblesses_ it, to return the original +reference. %prep -%setup -q -n Acme-Damn-%version +%setup -q -n %{cpan_name}-%{version} %build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__make} %{?_smp_mflags} -perl Makefile.PL -make - - +%check +%{__make} test %install - -make DESTDIR=%buildroot install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes README - -# Write a proper %%files section and remove these two commands and -# the '-f filelist' option to %%files -echo '%%defattr(-,root,root)' >filelist -find %buildroot -type f -printf '/%%P*\n' >>filelist - - -%clean -rm -rf %buildroot - -%files -f filelist -%defattr(-,root,root) -%dir %{perl_vendorarch}/Acme -%dir %{perl_vendorarch}/auto/Acme -%dir %{perl_vendorarch}/auto/Acme/Damn - - -%changelog -n %{name} - +%changelog