- Drop no longer needed upgrade quirks.
This commit is contained in:
parent
6464538cb7
commit
d9745387ff
@ -2,7 +2,7 @@
|
||||
|
||||
Name: xhtml1-dtds
|
||||
Version: 1.0
|
||||
Release: %{date}.1
|
||||
Release: %{date}.2
|
||||
Summary: XHTML 1.0 document type definitions
|
||||
|
||||
Group: Applications/Text
|
||||
@ -88,13 +88,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
cd %{_sysconfdir}/xml
|
||||
if [ -e catalog ] ; then
|
||||
# Clean up possible leftovers from < 1.0-20020801.1
|
||||
/usr/bin/xmlcatalog --noout \
|
||||
--del "file://%{_datadir}/sgml/xhtml1/xmlcatalog" catalog
|
||||
else
|
||||
/usr/bin/xmlcatalog --noout --create catalog
|
||||
fi
|
||||
[ -e catalog ] || /usr/bin/xmlcatalog --noout --create catalog
|
||||
/usr/bin/xmlcatalog --noout --add \
|
||||
nextCatalog %{name}-%{version}-%{release}.xml "" catalog >/dev/null
|
||||
cd - >/dev/null
|
||||
@ -122,6 +116,9 @@ cd - >/dev/null
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Dec 12 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.0-20020801.2
|
||||
- Drop no longer needed upgrade quirks.
|
||||
|
||||
* Thu Feb 28 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.0-20020801.1
|
||||
- Major spec file rewrite (#226559), most visible changes:
|
||||
- Various XML cataloguing improvements.
|
||||
|
Loading…
Reference in New Issue
Block a user