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