[perl-Tk] Update dependencies and license; Use DESTDIR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit fec938cc655129f2741e27c6b18f80f082e9ab10
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Tue Jul 30 12:17:04 2013 +0200

    Update dependencies and license; Use DESTDIR

 perl-Tk.spec |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/perl-Tk.spec b/perl-Tk.spec
index 1300eda..37337d5 100644
--- a/perl-Tk.spec
+++ b/perl-Tk.spec
@@ -4,11 +4,11 @@
 Name:           perl-Tk
 # devel version fix for perl 5.14: 
 Version:        804.031
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl Graphical User Interface ToolKit
 
 Group:          Development/Libraries
-License:        GPL+ or Artistic
+License:        (GPL+ or Artistic) and SWL
 URL:            http://search.cpan.org/dist/Tk/
 Source0:        http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-%{version}.tar.gz
 Patch0:         perl-Tk-widget.patch
@@ -25,10 +25,13 @@ BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libX11-devel
 BuildRequires:  libXft-devel
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(lib)
 
 Requires:       perl(:MODULE_COMPAT_%{perlver})
 Provides:       perl(Tk::LabRadio) = 4.004
-Provides:       perl(Tk::TextReindex)
 Provides:       perl(Tk) = %{version}
 
 %{?perl_default_filter}
@@ -88,7 +91,7 @@ make %{?_smp_mflags}
 # make test
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
@@ -100,7 +103,7 @@ cp -pR $RPM_BUILD_ROOT%{perl_vendorarch}/Tk/demos __demos
 find __demos/ -type f -exec chmod -x {} \;
 
 %files
-%doc Changes README README.linux ToDo pTk/*license* __demos/demos demos/widget
+%doc Changes README README.linux ToDo pTk/*license* __demos/demos demos/widget COPYING
 %doc blib/man1/widget.1
 %{_bindir}/p*
 %{_bindir}/tkjpeg
@@ -123,6 +126,12 @@ find __demos/ -type f -exec chmod -x {} \;
 
 
 %changelog
+* Tue Jul 30 2013 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 804.031-2
+- Update license
+- Package COPYING
+- Specify all dependencies
+- Replace PERL_INSTALL_ROOT with DESTDIR
+
 * Wed Jul 17 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 804.031-1
 - 804.031 bump
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux