1
0
Stephan Kulow 2010-11-28 13:14:56 +00:00 committed by Git OBS Bridge
parent d46316a464
commit 9e47ddd935
3 changed files with 22 additions and 13 deletions

View File

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

13
_service Normal file
View File

@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<services>
<service name="download_url">
<param name="protocol">http</param>
<param name="host">www.cpan.org</param>
<param name="path">/modules/by-module/Algorithm/Algorithm-Annotate-0.10.tar.gz</param>
</service>
<service name="verify_file">
<param name="file">_service:download_url:Algorithm-Annotate-0.10.tar.gz</param>
<param name="verifier">sha256</param>
<param name="checksum">c9b1764643933eb1a3356906cc372d483a99416207a31df3e58ee9892d9922f9</param>
</service>
</services>

View File

@ -15,21 +15,20 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Algorithm-Annotate
%define cpan_name Algorithm-Annotate
Summary: Represent a series of changes in annotate form
Version: 0.10
Release: 1
License: CHECK(GPL+ or Artistic)
Group: Development/Libraries/Perl
%define cpan_name Algorithm-Annotate
Summary: Represent a series of changes in annotate form
Url: http://search.cpan.org/dist/Algorithm-Annotate/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Annotate-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
@ -55,16 +54,16 @@ simliar to cvs annotate.
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
%{__rm} -rf %{buildroot}%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%{__rm} -rf %{buildroot}%perl_archlib
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,-)
%doc
%doc
%changelog