Use autosetup

This commit is contained in:
Bastien Nocera 2017-08-24 20:12:49 +02:00
parent cc864eb3c7
commit 22ca056cf0

View File

@ -107,17 +107,7 @@ and mouse.
Object Exchange daemon for sharing files, contacts etc over bluetooth Object Exchange daemon for sharing files, contacts etc over bluetooth
%prep %prep
%setup -q %autosetup -S git
git init
if [ -z "$GIT_COMMITTER_NAME" ]; then
git config user.email "bluez-owner@fedoraproject.org"
git config user.name "Fedora Bluez maintainers"
fi
cp %{SOURCE1} .gitignore
git add .
git commit -a -q -m "%{version} baseline."
git am -p1 %{patches} < /dev/null
%build %build
%configure --enable-tools --enable-library --enable-deprecated \ %configure --enable-tools --enable-library --enable-deprecated \