workaround incompatible change in rpm (causing FTBFS)
This commit is contained in:
parent
5747e96896
commit
4189b7bd0f
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: docbook-dtds
|
Name: docbook-dtds
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 58%{?dist}
|
Release: 59%{?dist}
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
|
|
||||||
Summary: SGML and XML document type definitions for DocBook
|
Summary: SGML and XML document type definitions for DocBook
|
||||||
@ -209,6 +209,13 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
#workaround the missing support for --parents hack in rpm 4.11+
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
|
||||||
|
for i in */*.txt */ChangeLog */README
|
||||||
|
do
|
||||||
|
cp -pr --parents $i $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
|
||||||
|
done
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -217,7 +224,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr (0644,root,root,0755)
|
%defattr (0644,root,root,0755)
|
||||||
#in upstream tarballs there is a lot of files with 0755 permissions
|
#in upstream tarballs there is a lot of files with 0755 permissions
|
||||||
#but they don't need to be, 0644 is enough for every file in tarball
|
#but they don't need to be, 0644 is enough for every file in tarball
|
||||||
%doc --parents 3.1-sgml/ChangeLog 4.1-sgml/ChangeLog */*.txt
|
%{_docdir}/%{name}-%{version}
|
||||||
/usr/share/sgml/docbook/*ml-dtd-*
|
/usr/share/sgml/docbook/*ml-dtd-*
|
||||||
%config(noreplace) /etc/sgml/*ml-docbook.cat
|
%config(noreplace) /etc/sgml/*ml-docbook.cat
|
||||||
%ghost %config(noreplace) /etc/sgml/*ml-docbook-*.cat
|
%ghost %config(noreplace) /etc/sgml/*ml-docbook-*.cat
|
||||||
@ -404,6 +411,9 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 21 2013 Ondrej Vasik <ovasik@redhat.com> - 1.0-59
|
||||||
|
- workaround incompatible change in rpm (causing FTBFS)
|
||||||
|
|
||||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-58
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-58
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user