]> git.pld-linux.org Git - packages/BackupPC.git/blobdiff - BackupPC.spec
- fix build on 64bit
[packages/BackupPC.git] / BackupPC.spec
index 24ce904e15528fa3c9e5c389337cf16d831c6d8f..34e185cd6cb0137d8499817da24e11d82f5ae92c 100644 (file)
@@ -23,9 +23,8 @@ Source0:      http://dl.sourceforge.net/backuppc/BackupPC-%{version}.tar.gz
 # Source0-md5: b6f9845b5c32d817f0c5c4102a781fc3
 Source1:       %{name}_apache.conf
 Source2:       %{name}-pl.pm
-#Patch0:               %{name}-%{version}pl2.patch
-Patch1:                %{name}-usernotexist.patch
-Patch2:                %{name}-pathtodocs.patch
+Patch0:                %{name}-usernotexist.patch
+Patch1:                %{name}-pathtodocs.patch
 URL:           http://backuppc.sourceforge.net/
 BuildRequires: perl-Compress-Zlib
 BuildRequires: perl-Digest-MD5
@@ -55,6 +54,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _webapps        /etc/webapps
 %define                _webapp         %{name}
+%define                _libdir         /usr/lib
 
 %description
 BackupPC is disk based and not tape based. This particularity allows
@@ -116,9 +116,8 @@ zapasowych:
 
 %prep
 %setup -q -n BackupPC-%{version}
-#%patch0 -p1
+%patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 sed -i -e 's#!/bin/perl#!%{__perl}#' configure.pl
 sed -i -e 's#!/bin/perl#!%{__perl}#' {bin,cgi-bin,doc}/*
This page took 0.112551 seconds and 4 git commands to generate.