[geronimo-annotation] Install NOTICE file

Stanislav Ochotnicky sochotni at fedoraproject.org
Thu Aug 23 08:12:28 UTC 2012


commit bdc0419384b73d112aec1bfea9133ce754892b8a
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Thu Aug 23 07:56:06 2012 +0200

    Install NOTICE file

 geronimo-annotation.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/geronimo-annotation.spec b/geronimo-annotation.spec
index 3a5d7a8..ce95133 100644
--- a/geronimo-annotation.spec
+++ b/geronimo-annotation.spec
@@ -3,7 +3,7 @@
 
 Name:             geronimo-annotation
 Version:          1.0
-Release:          8%{?dist}
+Release:          9%{?dist}
 Summary:          Java EE: Annotation API v1.1
 Group:            Development/Libraries
 License:          ASL 2.0
@@ -38,7 +38,7 @@ This package contains the API documentation for %{name}.
 
 %prep
 %setup -q -n %{spec_name}-%{version}
-sed -i 's/\r//' LICENSE
+sed -i 's/\r//' LICENSE NOTICE
 %patch1 -p0
 
 %build
@@ -61,16 +61,19 @@ install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
 cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
 
 %files
-%doc LICENSE
+%doc LICENSE NOTICE
 %{_javadir}/*
 %{_mavenpomdir}/*
 %{_mavendepmapfragdir}/*
 
 %files javadoc
-%doc LICENSE
+%doc LICENSE NOTICE
 %{_javadocdir}/%{name}
 
 %changelog
+* Thu Aug 23 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.0-9
+- Install NOTICE file
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list