rpms/perl-Sort-Versions/devel perl-Sort-Versions.spec,1.8,1.9
Štěpán Kasal
kasal at fedoraproject.org
Mon Mar 16 14:22:26 UTC 2009
- Previous message (by thread): [pkgdb] purple-facebookchat had acl change status
- Next message (by thread): rpms/bluez/devel .cvsignore, 1.27, 1.28 bluez.spec, 1.51, 1.52 sources, 1.27, 1.28 bluez-fix-sdp-copy-for-strings-with-nulls.patch, 1.1, NONE bluez-port-cups-to-bluez4.patch, 1.2, NONE bluez-sdp-xml-with-nulls-2.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kasal
Update of /cvs/extras/rpms/perl-Sort-Versions/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16416
Modified Files:
perl-Sort-Versions.spec
Log Message:
- Recode as UTF-8, fix argument order find with -depth, etc.
Index: perl-Sort-Versions.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Sort-Versions/devel/perl-Sort-Versions.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- perl-Sort-Versions.spec 27 Feb 2009 01:35:25 -0000 1.8
+++ perl-Sort-Versions.spec 16 Mar 2009 14:21:56 -0000 1.9
@@ -1,12 +1,12 @@
Name: perl-Sort-Versions
Version: 1.5
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Perl module for sorting of revision-like numbers
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Sort-Versions/
Source0: http://www.cpan.org/modules/by-module/Sort/Sort-Versions-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -25,6 +25,9 @@
%prep
%setup -q -n Sort-Versions-%{version}
+for f in Changes Versions.pm; do
+ iconv -f iso-8859-1 -t utf-8 <$f >${f}_ && mv ${f}_ $f
+done
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -33,8 +36,9 @@
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+find $RPM_BUILD_ROOT -depth \
+ -type f -name .packlist -exec rm -f {} ';' -o \
+ -type d -empty -exec rmdir {} ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%clean
@@ -50,6 +54,10 @@
%{_mandir}/man3/*
%changelog
+* Mon Mar 16 2009 Stepan Kasal <skasal at redhat.com> - 1.5-10
+- Recode as UTF-8, fix argument order find with -depth (both by Paul Howarth)
+- Other minor cleanups
+
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- Previous message (by thread): [pkgdb] purple-facebookchat had acl change status
- Next message (by thread): rpms/bluez/devel .cvsignore, 1.27, 1.28 bluez.spec, 1.51, 1.52 sources, 1.27, 1.28 bluez-fix-sdp-copy-for-strings-with-nulls.patch, 1.1, NONE bluez-port-cups-to-bluez4.patch, 1.2, NONE bluez-sdp-xml-with-nulls-2.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list