diff --git a/xmlstarlet.changes b/xmlstarlet.changes index 9e8ecbb..80381b0 100644 --- a/xmlstarlet.changes +++ b/xmlstarlet.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Oct 13 08:52:37 UTC 2014 - toms@opensuse.org + +- SPEC file changes + - Added link from /usr/bin/xml to /usr/bin/xmlstarlet as other + distributions do the same + - Did the same for the manpage + ------------------------------------------------------------------- Mon Jul 8 06:42:44 UTC 2013 - pascal.bleser@opensuse.org diff --git a/xmlstarlet.spec b/xmlstarlet.spec index 0068c3d..f1118a7 100644 --- a/xmlstarlet.spec +++ b/xmlstarlet.spec @@ -1,7 +1,7 @@ # # spec file for package xmlstarlet # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -65,6 +65,12 @@ install -d _docs %__mv "%{buildroot}%{_datadir}/doc"/* _docs/ %__rm -rf "%{buildroot}%{_datadir}/doc" +cd %{buildroot}%{_bindir} +ln -s xml %{name} + +cd %{buildroot}%{_mandir}/man1/ +ln -s %{name}.1%{ext_man} xml.1%{ext_man} + %clean %{?buildroot:%__rm -rf "%{buildroot}"} @@ -73,6 +79,8 @@ install -d _docs %doc AUTHORS ChangeLog NEWS README Copyright TODO %doc _docs/* %{_bindir}/xml -%doc %{_mandir}/man1/xmlstarlet.1%{ext_man} +%{_bindir}/%{name} +%doc %{_mandir}/man1/%{name}.1%{ext_man} +%doc %{_mandir}/man1/xml.1%{ext_man} %changelog