Skip to content

Commit 6ad93be

Browse files
authored
Merge pull request #76 from areese/perl_rpm
Perl rpm
2 parents c9356d6 + a03819e commit 6ad93be

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ doc:
2828

2929
perl: default
3030
# have to use PREFIX here so we can install into PREFIX/lib64 instead of PREFIX/lib
31-
(cd src/perl; $(PERL) Makefile.PL PREFIX=$(PERL_PREFIX) LIB=$(PERL_PREFIX)/lib64 && $(MAKE) && $(MAKE) test)
31+
(cd src/perl; $(PERL) Makefile.PL INSTALLDIRS=vendor PREFIX=$(PERL_PREFIX) && $(MAKE) && $(MAKE) test)
3232

3333
all: default perl doc
3434

redhat/mdbm.spec.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ rm -rf %{buildroot}
4343
make PREFIX=%{buildroot}/usr PERL_PREFIX=%{buildroot}/usr/lib64/perl5/site_perl/5.14/ LIBDIR=%{buildroot}/usr/lib64 INCDIR=%{buildroot}/usr/include install-all
4444
find %buildroot -type f \( -name '*.so' -o -name '*.so.*' \) -exec chmod 755 {} +
4545
find %buildroot -type f -name perllocal.pod -exec rm {} \;
46-
#mkdir -p %{buildroot}/%{_mandir}/man3/
47-
#mv %{buildroot}/usr/share/man/man3/* %{buildroot}/%{_mandir}/man3/
4846

4947
%files
5048
%doc README LICENSE
@@ -59,6 +57,9 @@ find %buildroot -type f -name perllocal.pod -exec rm {} \;
5957
%files perl
6058
/usr/lib64/perl5/*
6159
%{_mandir}/man3/*
60+
/usr/share/perl5/vendor_perl/MDBM_File.pm
61+
/usr/share/perl5/vendor_perl/auto/MDBM_File/autosplit.ix
62+
6263

6364
%post -p /sbin/ldconfig
6465
%postun -p /sbin/ldconfig

0 commit comments

Comments
 (0)