projects
/
ZOOM-Perl-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Specify PREFIX= for Makefile.PL
[ZOOM-Perl-moved-to-github.git]
/
modules
/
orig
/
perl-MARC-Record.spec
diff --git
a/modules/orig/perl-MARC-Record.spec
b/modules/orig/perl-MARC-Record.spec
index
0a9e80b
..
34e279a
100644
(file)
--- a/
modules/orig/perl-MARC-Record.spec
+++ b/
modules/orig/perl-MARC-Record.spec
@@
-1,7
+1,7
@@
%define module MARC-Record
%define name perl-%{module}
%define version 2.0.2
%define module MARC-Record
%define name perl-%{module}
%define version 2.0.2
-%define release %mkrel 1
+%define release 1.indexdata
Name: %{name}
Version: %{version}
Name: %{name}
Version: %{version}
@@
-9,7
+9,7
@@
Release: %{release}
Summary: %{module} module for perl
License: GPLv2+ or Artistic
Group: Development/Perl
Summary: %{module} module for perl
License: GPLv2+ or Artistic
Group: Development/Perl
-Source: ftp.perl.org/pub/CPAN/modules/by-module/MARC/%{module}-%{version}.tar.gz
+Source: %{module}-%{version}.tar.gz
Url: http://search.cpan.org/dist/%{module}/
BuildArch: noarch
Url: http://search.cpan.org/dist/%{module}/
BuildArch: noarch
@@
-23,7
+23,7
@@
The file-handling stuff is in MARC::File::*.
%setup -q -n %{module}-%{version}
%build
%setup -q -n %{module}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor PREFIX=$RPM_BUILD_ROOT/usr
%{__make}
%check
%{__make}
%check
@@
-34,7
+34,7
@@
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
-%makeinstall_std
+%makeinstall
#chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/MARC/Record.pm
#chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/MARC/Field.pm
#chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/MARC/Record.pm
#chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/MARC/Field.pm