Accepting request 411815 from home:favogt:branches:Publishing
Use update-xml-catalog OBS-URL: https://build.opensuse.org/request/show/411815 OBS-URL: https://build.opensuse.org/package/show/Publishing/xmlcharent?expand=0&rev=7
This commit is contained in:
parent
cf7cd04ad7
commit
d24f7c3e48
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 18 12:29:42 UTC 2016 - fvogt@suse.com
|
||||||
|
|
||||||
|
- Use update-xml-catalog
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 5 10:48:58 UTC 2014 - rsalevsky@suse.com
|
Tue Aug 5 10:48:58 UTC 2014 - rsalevsky@suse.com
|
||||||
|
|
||||||
|
@ -26,10 +26,9 @@ Url: http://www.oasis-open.org/docbook/xmlcharent/
|
|||||||
Source0: xmlcharent-0.3.tar.bz2
|
Source0: xmlcharent-0.3.tar.bz2
|
||||||
Source1: xmlcharent.xml
|
Source1: xmlcharent.xml
|
||||||
Source2: xmlcharent.sgml
|
Source2: xmlcharent.sgml
|
||||||
Requires: sgml-skel
|
Requires: sgml-skel >= 0.7
|
||||||
Requires: xml-group-manager
|
Requires(post): sgml-skel >= 0.7
|
||||||
BuildRequires: sgml-skel
|
Requires(postun): sgml-skel >= 0.7
|
||||||
BuildRequires: xml-group-manager
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -47,19 +46,20 @@ sed 's|__DIR__|%{_datadir}/%{name}|' %{SOURCE2} > xmlcharent.sgml
|
|||||||
%install
|
%install
|
||||||
%{__mkdir} -p %{buildroot}%{_datadir}/%{name}/entities/
|
%{__mkdir} -p %{buildroot}%{_datadir}/%{name}/entities/
|
||||||
%{__install} -m 0664 -D *.ent %{buildroot}%{_datadir}/%{name}/entities/
|
%{__install} -m 0664 -D *.ent %{buildroot}%{_datadir}/%{name}/entities/
|
||||||
%{__install} -m 0644 -D xmlcharent.xml %{buildroot}%{_datadir}/%{name}/%{name}.xml
|
%{__install} -m 0644 -D xmlcharent.xml %{buildroot}%{_sysconfdir}/xml/catalog.d/%{name}.xml
|
||||||
%{__install} -m 0644 -D xmlcharent.sgml %{buildroot}%{_datadir}/%{name}/%{name}.sgml
|
%{__install} -m 0644 -D xmlcharent.sgml %{buildroot}%{_datadir}/%{name}/%{name}.sgml
|
||||||
|
|
||||||
%post
|
%post
|
||||||
xml-group-manager -i %{name} -p "ISO 8879:1986//ENTITIES" -s "http://www.oasis-open.org/docbook/xmlcharent/0.3/" %{_datadir}/%{name}/%{name}.xml
|
update-xml-catalog
|
||||||
sgml-register-catalog -a %{_datadir}/%{name}/%{name}.sgml
|
sgml-register-catalog -a %{_datadir}/%{name}/%{name}.sgml
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
xml-group-manager -d %{name}
|
update-xml-catalog
|
||||||
sgml-register-catalog -r %{_datadir}/%{name}/%{name}.sgml
|
sgml-register-catalog -r %{_datadir}/%{name}/%{name}.sgml
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
%{_sysconfdir}/xml/catalog.d/%{name}.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user