- use more macros
authorwrobell <wrobell@pld-linux.org>
Fri, 27 Sep 2002 13:20:56 +0000 (13:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    docbook-dtd42-xml.spec -> 1.8

docbook-dtd42-xml.spec

index 65ca4695696a11f4e37850d693f3b25419bdd409..1987a67a2b32d521e854fd0efba04cbcb4201d6a 100644 (file)
@@ -48,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{dtd_path}
 
 install *.{xml,dtd,mod} $RPM_BUILD_ROOT%{dtd_path}
-install *.ent $RPM_BUILD_ROOT%{_datadir}/sgml/docbook/xml-dtd-%{ver} || :
+install *.ent $RPM_BUILD_ROOT%{dtd_path} || :
 cp -a ent $RPM_BUILD_ROOT%{dtd_path}
 
 %sgmlcat_fix $RPM_BUILD_ROOT%{sgmlcat_file} %{ver}
@@ -68,8 +68,8 @@ if ! grep -q /etc/sgml/xml-docbook-%{ver}.cat /etc/sgml/catalog ; then
     %sgmlcat_add /etc/sgml/xml-docbook-%{ver}.cat %{sgmlcat_file}
 
 fi
-if ! grep -q %{dtd_path}/catalog.xml /etc/xml/catalog ; then
-    %xmlcat_add %{dtd_path}/catalog.xml
+if ! grep -q %{xmlcat_file} /etc/xml/catalog ; then
+    %xmlcat_add %{xmlcat_file}
 
 fi
 
@@ -77,7 +77,7 @@ fi
 if [ "$1" = "0" ] ; then
     %sgmlcat_del /etc/sgml/xml-docbook-%{ver}.cat %{sgmlcat_file}
 
-    %xmlcat_del %{dtd_path}/catalog.xml
+    %xmlcat_del %{xmlcat_file}
 
 fi
 
This page took 0.035931 seconds and 4 git commands to generate.