diff options
-rw-r--r-- | packaging/xmlstarlet.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/xmlstarlet.spec b/packaging/xmlstarlet.spec index 3a2941c..b069db0 100644 --- a/packaging/xmlstarlet.spec +++ b/packaging/xmlstarlet.spec @@ -48,6 +48,8 @@ export CFLAGS="$RPM_OPT_FLAGS -W -Wall" #%__mv "%{buildroot}%{_datadir}/doc"/* _docs/ #%__rm -rf "%{buildroot}%{_datadir}/doc" rm -rf %{buildroot}/usr/share +mkdir -p %{buildroot}/usr/share/license +cp COPYING %{buildroot}/usr/share/license/%{name} %post ln -s /usr/bin/xml /usr/bin/xmlstarlet @@ -62,5 +64,6 @@ ln -s /usr/bin/xml /usr/bin/xmlstarlet %{_bindir}/xml #%{_bindir}/xmlstarlet #%doc %{_mandir}/man1/xmlstarlet.1%{ext_man} +/usr/share/license/%{name} %changelog |