diff --git a/_service_error b/_service_error deleted file mode 100644 index 07a575d..0000000 --- a/_service_error +++ /dev/null @@ -1 +0,0 @@ -service download_url /root/bs/call-service-in-lxc.sh /usr/lib/obs/service//download_url --host api.opensuse.org --protocol https --path /public/source/home:illuusio/perl-Acme-Damn/perl-Acme-Damn.spec --outdir /obs/ss//2675/.tmp failed diff --git a/perl-Acme-Damn.spec b/perl-Acme-Damn.spec new file mode 100644 index 0000000..d873f1f --- /dev/null +++ b/perl-Acme-Damn.spec @@ -0,0 +1,56 @@ +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 +Group: Development/Libraries/Perl +Summary: Acme::Damn - 'Unbless' Perl objects +Requires: perl = %{perl_version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%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. + + +%prep +%setup -q -n Acme-Damn-%version + +%build + +perl Makefile.PL +make + + + +%install + +make DESTDIR=%buildroot install_vendor +%perl_process_packlist + + + +# 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 +* Wed Aug 19 2009 tuukka.pasanen@ilmi.fi +- packaged perl-Acme-Damn version 0.04 using the buildservice spec file wizard