touched and ghosted .cat files to be owned by package(#193475)

This commit is contained in:
Ondrej Vasik 2007-06-20 13:39:42 +00:00
parent 60901ea5a2
commit 7752fa37e4

View File

@ -1,6 +1,6 @@
Name: docbook-dtds
Version: 1.0
Release: 30.1
Release: 31
Group: Applications/Text
Summary: SGML and XML document type definitions for DocBook.
@ -276,6 +276,19 @@ ln -s sgml-docbook-4.4-%{version}-%{release}.cat \
ln -s xml-docbook-4.4-%{version}-%{release}.cat \
$RPM_BUILD_ROOT/etc/sgml/xml-docbook.cat
# Files for %ghost
touch $RPM_BUILD_ROOT/etc/sgml/sgml-docbook-3.0-%{version}-%{release}.cat
touch $RPM_BUILD_ROOT/etc/sgml/sgml-docbook-3.1-%{version}-%{release}.cat
touch $RPM_BUILD_ROOT/etc/sgml/sgml-docbook-4.0-%{version}-%{release}.cat
touch $RPM_BUILD_ROOT/etc/sgml/sgml-docbook-4.1-%{version}-%{release}.cat
touch $RPM_BUILD_ROOT/etc/sgml/sgml-docbook-4.2-%{version}-%{release}.cat
touch $RPM_BUILD_ROOT/etc/sgml/sgml-docbook-4.3-%{version}-%{release}.cat
touch $RPM_BUILD_ROOT/etc/sgml/sgml-docbook-4.4-%{version}-%{release}.cat
touch $RPM_BUILD_ROOT/etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat
touch $RPM_BUILD_ROOT/etc/sgml/xml-docbook-4.2-%{version}-%{release}.cat
touch $RPM_BUILD_ROOT/etc/sgml/xml-docbook-4.3-%{version}-%{release}.cat
touch $RPM_BUILD_ROOT/etc/sgml/xml-docbook-4.4-%{version}-%{release}.cat
%clean
rm -rf $RPM_BUILD_ROOT
@ -286,6 +299,8 @@ rm -rf $RPM_BUILD_ROOT
%doc --parents 3.1-sgml/ChangeLog
%doc --parents 4.1-sgml/ChangeLog
%doc --parents */*.txt
/etc/sgml/sgml-docbook.cat
/etc/sgml/xml-docbook.cat
/usr/share/sgml/docbook/sgml-dtd-3.0-%{version}-%{release}
/usr/share/sgml/docbook/sgml-dtd-3.1-%{version}-%{release}
/usr/share/sgml/docbook/sgml-dtd-4.0-%{version}-%{release}
@ -297,8 +312,17 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/sgml/docbook/xml-dtd-4.2-%{version}-%{release}
/usr/share/sgml/docbook/xml-dtd-4.3-%{version}-%{release}
/usr/share/sgml/docbook/xml-dtd-4.4-%{version}-%{release}
/etc/sgml/sgml-docbook.cat
/etc/sgml/xml-docbook.cat
%ghost /etc/sgml/sgml-docbook-3.0-%{version}-%{release}.cat
%ghost /etc/sgml/sgml-docbook-3.1-%{version}-%{release}.cat
%ghost /etc/sgml/sgml-docbook-4.0-%{version}-%{release}.cat
%ghost /etc/sgml/sgml-docbook-4.1-%{version}-%{release}.cat
%ghost /etc/sgml/sgml-docbook-4.2-%{version}-%{release}.cat
%ghost /etc/sgml/sgml-docbook-4.3-%{version}-%{release}.cat
%ghost /etc/sgml/sgml-docbook-4.4-%{version}-%{release}.cat
%ghost /etc/sgml/xml-docbook-4.1.2-%{version}-%{release}.cat
%ghost /etc/sgml/xml-docbook-4.2-%{version}-%{release}.cat
%ghost /etc/sgml/xml-docbook-4.3-%{version}-%{release}.cat
%ghost /etc/sgml/xml-docbook-4.4-%{version}-%{release}.cat
%post
@ -1207,6 +1231,10 @@ then
fi
%changelog
* Wed Jun 20 2007 Ondrej Vasik <ovasik@redhat.com> - 1.0.31
- .cat files touched and ghosted to be owned by package
- (bug #193475)
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-30.1
- rebuild