forked from pool/perl-File-Temp
clean up spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Temp?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
3700dfe9ae
commit
05f0d4595e
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 25 19:37:46 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- spec mods
|
||||
* removed ^----------
|
||||
* removed ^#---------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 21 22:41:25 CEST 2009 - chris@computersalat.de
|
||||
|
||||
|
||||
@@ -43,9 +43,7 @@ Requires: perl(File::Spec) >= 0.8
|
||||
Requires: perl(Fcntl) >= 1.03
|
||||
Requires: perl(File::Path)
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%description
|
||||
#-------------------------------------------------------------------------------
|
||||
%{cpan_name} module for perl
|
||||
|
||||
File::Temp can be used to create and open temporary files in a safe way.
|
||||
@@ -56,42 +54,29 @@ Requires: perl(File::Path)
|
||||
|
||||
Author: Tim Jenness <tjenness (at) cpan.org>
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%prep
|
||||
#-------------------------------------------------------------------------------
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%build
|
||||
#-------------------------------------------------------------------------------
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__make}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%install
|
||||
#-------------------------------------------------------------------------------
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%clean
|
||||
#-------------------------------------------------------------------------------
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%files -f %{name}.files
|
||||
#-------------------------------------------------------------------------------
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%changelog
|
||||
#-------------------------------------------------------------------------------
|
||||
* Thu Aug 21 2008 - rpm@scorpio-it.net - 0.20
|
||||
- initial Package
|
||||
|
||||
Reference in New Issue
Block a user