forked from pool/perl-Algorithm-Annotate
add _service file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-Annotate?expand=0&rev=9
This commit is contained in:
parent
d46316a464
commit
9e47ddd935
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c9b1764643933eb1a3356906cc372d483a99416207a31df3e58ee9892d9922f9
|
|
||||||
size 1611
|
|
13
_service
Normal file
13
_service
Normal 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>
|
@ -15,21 +15,20 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
Name: perl-Algorithm-Annotate
|
Name: perl-Algorithm-Annotate
|
||||||
%define cpan_name Algorithm-Annotate
|
|
||||||
Summary: Represent a series of changes in annotate form
|
|
||||||
Version: 0.10
|
Version: 0.10
|
||||||
Release: 1
|
Release: 1
|
||||||
License: CHECK(GPL+ or Artistic)
|
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/
|
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: http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Annotate-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildArch: noarch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
%if 0%{?suse_version} < 1120
|
%if 0%{?suse_version} < 1120
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
%endif
|
||||||
@ -55,16 +54,16 @@ simliar to cvs annotate.
|
|||||||
%perl_make_install
|
%perl_make_install
|
||||||
# do not perl_process_packlist (noarch)
|
# do not perl_process_packlist (noarch)
|
||||||
# remove .packlist file
|
# remove .packlist file
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
%{__rm} -rf %{buildroot}%perl_vendorarch
|
||||||
# remove perllocal.pod file
|
# remove perllocal.pod file
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
%{__rm} -rf %{buildroot}%perl_archlib
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc
|
%doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user