summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorYoungho Jeon <ykernel.jeon@samsung.com>2013-10-14 17:28:36 +0900
committerYoungho Jeon <ykernel.jeon@samsung.com>2013-10-14 17:28:36 +0900
commit79df86a06c48e617631f90570df7259a77968573 (patch)
tree8e341ec77d7b4636d03b9671ac83de78a3bad79c /packaging
parent993d65531741fccf26fc10fc5789a5c9fca8c5ae (diff)
downloadnasm-79df86a06c48e617631f90570df7259a77968573.tar.gz
nasm-79df86a06c48e617631f90570df7259a77968573.tar.bz2
nasm-79df86a06c48e617631f90570df7259a77968573.zip
Diffstat (limited to 'packaging')
-rw-r--r--packaging/nasm.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/nasm.spec b/packaging/nasm.spec
index dcfda70..a731759 100644
--- a/packaging/nasm.spec
+++ b/packaging/nasm.spec
@@ -43,6 +43,8 @@ make all
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
make INSTALLROOT=$RPM_BUILD_ROOT install install_rdf
install -d $RPM_BUILD_ROOT/etc/profile.d
cp %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d/
@@ -51,6 +53,7 @@ cp %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d/
%remove_docs
%files
+/usr/share/license/%{name}
%manifest nasm.manifest
%{_bindir}/nasm
%{_bindir}/ndisasm