Adapt spec file for tito

This commit is contained in:
Daniel Berteaud 2018-07-23 18:00:39 +02:00
parent f69727873b
commit ffd923b440
1 changed files with 3 additions and 4 deletions

View File

@ -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}