Accepting request 137274 from home:flichtenheld

Cross-Distro Build fixes

OBS-URL: https://build.opensuse.org/request/show/137274
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/devscripts?expand=0&rev=4
This commit is contained in:
Frank Lichtenheld 2012-10-05 19:34:11 +00:00 committed by Git OBS Bridge
parent 2a19bebadd
commit bb992ad567

View File

@ -37,7 +37,7 @@ Patch2: devscripts-pod2man-no-utf8.patch
Patch3: devscripts-2.11.7-remove-install-layout-deb.patch
# PATCH-FIX-OPENSUSE support old versions of File::Patch (SLE 11)
Patch4: devscripts-old-File-Path.patch
BuildRequires: dpkg-devel
BuildRequires: dpkg-devel >= 1.15.6
BuildRequires: python-devel
# we are sorry to drop sles10 support, but no setuptools
BuildRequires: python-setuptools
@ -124,10 +124,11 @@ if [ %{_datadir}/doc != %{_docdir} ]; then
mv %{buildroot}%{_datadir}/doc/devscripts %{buildroot}%{_docdir}
fi
chmod -x %{buildroot}%{_docdir}/devscripts/README
install -m644 debian/copyright %{buildroot}%{_docdir}/devscripts/copyright
install -m644 debian/changelog %{buildroot}%{_docdir}/devscripts/changelog
%files
%defattr(-,root,root)
%doc debian/changelog debian/copyright
%doc %{_docdir}/devscripts
%doc %{_mandir}/man*/*
%{_bindir}/*