rpms/perl-File-MMagic/devel perl-File-MMagic.spec,1.9,1.10
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sat Apr 2 22:22:49 UTC 2005
- Previous message (by thread): rpms/perl-URI/devel .cvsignore, 1.5, 1.6 perl-URI.spec, 1.9, 1.10 sources, 1.5, 1.6
- Next message (by thread): rpms/gdb/devel gdb-6.3-sepcrc-20050402.patch, NONE, 1.1 gdb-6.3-test-sepcrc-20050402.patch, NONE, 1.1 gdb.spec, 1.139, 1.140
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dist/rpms/perl-File-MMagic/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv10273
Modified Files:
perl-File-MMagic.spec
Log Message:
- Update to 1.22
- Spec cleanup (#153204)
Index: perl-File-MMagic.spec
===================================================================
RCS file: /cvs/dist/rpms/perl-File-MMagic/devel/perl-File-MMagic.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- perl-File-MMagic.spec 31 Mar 2005 09:27:58 -0000 1.9
+++ perl-File-MMagic.spec 2 Apr 2005 22:22:47 -0000 1.10
@@ -1,61 +1,55 @@
-%define _use_internal_dependency_generator 0
-
-Summary: A Perl module emulating the file(1) command.
-Name: perl-File-MMagic
-Version: 1.22
-Release: 2
-License: distributable
-Group: Applications/CPAN
-Source0: File-MMagic-%{version}.tar.gz
-Url: http://www.cpan.org
-BuildRoot: %{_tmppath}/perl-File-MMagic-buildroot/
-BuildRequires: perl >= 0:5.00503
-Requires: perl >= 0:5.00503
-BuildArch: noarch
+Name: perl-File-MMagic
+Version: 1.22
+Release: 1
+Summary: A Perl module emulating the file(1) command
+
+Group: Development/Libraries
+License: Distributable
+URL: http://search.cpan.org/dist/File-MMagic/
+Source0: http://www.cpan.org/authors/id/K/KN/KNOK/File-MMagic-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: perl >= 1:5.6.1
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module attempts to guess file type from its contents like file(1)
command.
-# Provide perl-specific find-{provides,requires}.
-%define __find_provides /usr/lib/rpm/find-provides.perl
-%define __find_requires /usr/lib/rpm/find-requires.perl
%prep
%setup -q -n File-MMagic-%{version}
%build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
-make
-make test
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
-%clean
+%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 ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
-%install
+%check || :
+make test
+
+%clean
rm -rf $RPM_BUILD_ROOT
-make install
-find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
-find $RPM_BUILD_ROOT/usr -type f -print |
- sed "s@^$RPM_BUILD_ROOT@@g" |
- grep -v perllocal.pod |
- grep -v "\.packlist" > File-MMagic-%{version}-filelist
-if [ "$(cat File-MMagic-%{version}-filelist)X" = "X" ] ; then
- echo "ERROR: EMPTY FILE LIST"
- exit -1
-fi
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog COPYING README.en
+%{perl_vendorlib}/File/
+%{_mandir}/man3/*.3*
-%files -f File-MMagic-%{version}-filelist
-%defattr(-,root,root)
%changelog
-* Wed Mar 30 2005 Warren Togami <wtogami at redhat.com>
-- remove brp-compress
-
-* Sun Dec 26 2004 Chip Turner <cturner at redhat.com> - 1.22-1
-- update to 1.22
+* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.22-1
+- Update to 1.22
+- Spec cleanup (#153204)
* Wed Sep 22 2004 Chip Turner <cturner at redhat.com> 1.21-2
- rebuild
- Previous message (by thread): rpms/perl-URI/devel .cvsignore, 1.5, 1.6 perl-URI.spec, 1.9, 1.10 sources, 1.5, 1.6
- Next message (by thread): rpms/gdb/devel gdb-6.3-sepcrc-20050402.patch, NONE, 1.1 gdb-6.3-test-sepcrc-20050402.patch, NONE, 1.1 gdb.spec, 1.139, 1.140
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list