]> git.pld-linux.org Git - packages/foomatic-db-engine.git/blobdiff - foomatic-db-engine.spec
- pass PERLPREFIX to workaround broken (not lib64-aware) perl prefix detection
[packages/foomatic-db-engine.git] / foomatic-db-engine.spec
index 31e46417b9f2290ddbb293dc9a330117a5355d79..c479f50e2413689a13d0a9c07b9391bd3e90300a 100644 (file)
@@ -1,10 +1,9 @@
 %include       /usr/lib/rpm/macros.perl
-
 Summary:       System for using free software printer drivers
 Summary(pl):   System umo¿liwiaj±cy u¿ywanie darmowych sterowników drukarek
 Name:          foomatic-db-engine
 Version:       3.0.1
-Release:       4
+Release:       5
 License:       GPL
 Group:         Applications/System
 URL:           http://www.linuxprinting.org/foomatic.html
@@ -18,8 +17,8 @@ BuildRequires:        libxml2-devel
 BuildRequires: perl-devel
 BuildRequires: rpm-perlprov
 Provides:      perl(Foomatic::GrovePath)
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     foomatic
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Foomatic is a system for using free software printer drivers with
@@ -44,6 +43,7 @@ dla kt
 %{__autoconf}
 %configure
 %{__make} \
+       PERLPREFIX=/usr \
        PERL_INSTALLDIRS=vendor
 
 %install
@@ -52,7 +52,8 @@ rm -rf $RPM_BUILD_ROOT
 chmod +x mkinstalldirs
 
 %{__make} install \
-       DESTDIR="$RPM_BUILD_ROOT"
+       PERLPREFIX=/usr \
+       DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/{driver,opt,printer}
 
This page took 0.075567 seconds and 4 git commands to generate.