From 79df86a06c48e617631f90570df7259a77968573 Mon Sep 17 00:00:00 2001 From: Youngho Jeon Date: Mon, 14 Oct 2013 17:28:36 +0900 Subject: update spec file for license --- packaging/nasm.spec | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packaging') 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 -- cgit v1.2.3