[perl-Sysadm-Install] Update to 0.36

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

 



commit d62b9868779a287069fefe529a79291d33894c29
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Mon May 2 13:10:57 2011 +0100

    Update to 0.36
    
    - New upstream release 0.36
      - Added owner_cp() to copy uid and gid of a file or directory
      - Added raise_error option for tap()
      - snip() now returns original string (with unprintables replaced) if the data
        length is shorter than $maxlen
    - Clean up for modern perl and rpmbuild
    - Nobody else likes macros for commands

 .gitignore               |    2 +-
 perl-Sysadm-Install.spec |   44 ++++++++++++++++++++++++--------------------
 sources                  |    2 +-
 3 files changed, 26 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b96a528..fc96313 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Sysadm-Install-0.35.tar.gz
+/Sysadm-Install-0.36.tar.gz
diff --git a/perl-Sysadm-Install.spec b/perl-Sysadm-Install.spec
index d7091f6..a8f2960 100644
--- a/perl-Sysadm-Install.spec
+++ b/perl-Sysadm-Install.spec
@@ -1,13 +1,12 @@
 Summary:	Typical installation tasks for system administrators
 Name:		perl-Sysadm-Install
-Version:	0.35
-Release:	4%{?dist}
+Version:	0.36
+Release:	1%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Sysadm-Install/
 Source0:	http://search.cpan.org/CPAN/authors/id/M/MS/MSCHILLI/Sysadm-Install-%{version}.tar.gz
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 BuildArch:	noarch
 BuildRequires:	perl(Archive::Tar)
 BuildRequires:	perl(Config)
@@ -49,27 +48,23 @@ everything, but suppresses any write actions.
 %setup -q -n Sysadm-Install-%{version}
 
 # Fix perl interpreter in eg/mkperl
-%{__perl} -pi -e 's|/usr/local/bin/perl|%{__perl}|;' eg/mkperl
+perl -pi -e 's|/usr/local/bin/perl|/usr/bin/perl|;' eg/mkperl
 
 # Note: not turning off exec bits in examples because they don't
 # introduce any unwanted dependencies
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %check
-%{__make} test TEST_VERBOSE=1
+make test TEST_VERBOSE=1
 
 %install
-%{__rm} -rf %{buildroot}
-%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
-/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
-/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
-%{__chmod} -R u+w %{buildroot}
-
-%clean
-%{__rm} -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} %{buildroot}
 
 %files
 %defattr(-,root,root,-)
@@ -81,13 +76,22 @@ everything, but suppresses any write actions.
 %{_mandir}/man3/Sysadm::Install.3pm*
 
 %changelog
-* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.35-4
+* Mon May  2 2011 Paul Howarth <paul@xxxxxxxxxxxx> 0.36-1
+- Update to 0.36
+  - Added owner_cp() to copy uid and gid of a file or directory
+  - Added raise_error option for tap()
+  - snip() now returns original string (with unprintables replaced) if the data
+    length is shorter than $maxlen
+- Clean up for modern perl and rpmbuild
+- Nobody else likes macros for commands
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> 0.35-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
-* Wed Dec 22 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.35-3
-- 661697 rebuild for fixing problems with vendorach/lib
+* Wed Dec 22 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> 0.35-3
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
-* Thu May 06 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.35-2
+* Thu May 06 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> 0.35-2
 - Mass rebuild with perl-5.12.0
 
 * Thu Apr 15 2010 Paul Howarth <paul@xxxxxxxxxxxx> 0.35-1
diff --git a/sources b/sources
index 92fb2ae..38b6be2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ff17fad54a21ada3ee3829dc0ac32b6c  Sysadm-Install-0.35.tar.gz
+89ccec032164b6602eeb842631ec06af  Sysadm-Install-0.36.tar.gz
--
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