1
0

Accepting request 295700 from devel:languages:perl:autoupdate

update

OBS-URL: https://build.opensuse.org/request/show/295700
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Acme-Damn?expand=0&rev=13
This commit is contained in:
Dirk Stoecker 2015-04-13 16:16:34 +00:00 committed by Git OBS Bridge
parent 0c9f974a83
commit f88d5df2d5
4 changed files with 50 additions and 43 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1765c02fc886b636e00dd57c341f447863a57b40978c2e22a88f67fc27bbec9d
size 6134

3
Acme-Damn-0.06.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7925c932b9f89d2ca413680af68ed9809e7093e4ecd5bc2bd4147bdaee39ee6f
size 8635

View File

@ -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

View File

@ -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