rpms/perl-IPC-ShareLite/devel perl-IPC-ShareLite.spec,1.7,1.8

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Tue Sep 6 00:44:44 UTC 2005


Author: steve

Update of /cvs/extras/rpms/perl-IPC-ShareLite/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19199

Modified Files:
	perl-IPC-ShareLite.spec 
Log Message:
- Cleanup (closer to current spec template).
- Include COPYING and Artistic.



Index: perl-IPC-ShareLite.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-IPC-ShareLite/devel/perl-IPC-ShareLite.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- perl-IPC-ShareLite.spec	6 Jul 2005 05:58:41 -0000	1.7
+++ perl-IPC-ShareLite.spec	6 Sep 2005 00:44:41 -0000	1.8
@@ -1,61 +1,59 @@
-%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
-
 Name:           perl-IPC-ShareLite
 Version:        0.09
-Release:        5%{?dist}
-
+Release:        6%{?dist}
 Summary:        Light-weight Perl interface to shared memory
-
 Group:          Development/Libraries
 License:        GPL or Artistic
 URL:            http://search.cpan.org/dist/IPC-ShareLite/
-Source0:  http://www.cpan.org/authors/id/M/MA/MAURICE/IPC-ShareLite-0.09.tar.gz
+Source0:        http://www.cpan.org/authors/id/M/MA/MAURICE/IPC-ShareLite-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  perl >= 1:5.6.1
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 IPC::ShareLite provides a simple interface to shared memory, allowing
 data to be efficiently communicated between processes.
 
-
 %prep
 %setup -q -n IPC-ShareLite-%{version}
 
-
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" < /dev/null
 %{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
-
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
-  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
+
 chmod -R u+w $RPM_BUILD_ROOT/*
 
+perldoc -t perlgpl > COPYING
+perldoc -t perlartistic > Artistic
 
-%check || :
+%check
 make test
 
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README TODO
+%doc Changes README TODO COPYING Artistic
 %{perl_vendorarch}/auto/IPC
 %{perl_vendorarch}/IPC
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Mon Sep 05 2005 Steven Pritchard <steve at kspei.com> 0.09-6
+- Cleanup (closer to current spec template).
+- Include COPYING and Artistic.
+
 * Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
 - rebuilt
 




More information about the fedora-extras-commits mailing list