From ffd923b4402684163b01174ba22e1de842852999 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 23 Jul 2018 18:00:39 +0200 Subject: [PATCH] Adapt spec file for tito --- fuse-backuppcfs.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fuse-backuppcfs.spec b/fuse-backuppcfs.spec index 548f87d..ecb420c 100644 --- a/fuse-backuppcfs.spec +++ b/fuse-backuppcfs.spec @@ -5,7 +5,7 @@ Release: 2%{?dist} License: GPLv2+ URL: https://svn.ulyssis.org/repos/sipa/backuppc-fuse/backuppcfs.pl Group: Applications/System -Source: backuppcfs.pl +Source: %{name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} @@ -20,8 +20,7 @@ COnflicts: fuse-backuppcfs Mount and explorer BackupPC's data like normal directory trees. %prep - -%setup -D -T -c -n %{name} +%setup -q %build # empty build @@ -29,7 +28,7 @@ Mount and explorer BackupPC's data like normal directory trees. %install %{__rm} -rf %{buildroot} %{__mkdir} -p %{buildroot}/%{_bindir} -%{__install} -m 0755 %{SOURCE0} %{buildroot}/%{_bindir}/backuppcfs +%{__install} -m 0755 backuppcfs.pl %{buildroot}/%{_bindir}/backuppcfs %clean rm -rf %{buildroot}