diff options
-rw-r--r-- | packaging/xmlcharent.spec | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/xmlcharent.spec b/packaging/xmlcharent.spec index 7571407..18149ba 100644 --- a/packaging/xmlcharent.spec +++ b/packaging/xmlcharent.spec @@ -41,8 +41,7 @@ non-normative Annex D of [ISO 8879:1986]. %define xml_sysconf_dir %{_sysconfdir}/xml %prep -%setup -n %{name} -c -T -unzip -aq %{SOURCE0} +%setup -q sed 's|@VERSION@|%{version}| s|@DIR@|%{xml_mod_dir}|' %{SOURCE1} >catalog.xml sed 's|@VERSION@|%{version}| |