Accepting request 255568 from home:thomas-schraitle:branches:Publishing

Incorporate link to /usr/bin/xmlstarlet as other distributions do

OBS-URL: https://build.opensuse.org/request/show/255568
OBS-URL: https://build.opensuse.org/package/show/Publishing/xmlstarlet?expand=0&rev=29
This commit is contained in:
Thomas Schraitle 2014-10-13 09:00:15 +00:00 committed by Git OBS Bridge
parent 2db2c80260
commit dc3baecdb9
2 changed files with 18 additions and 2 deletions

View File

@ -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

View File

@ -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