diff --git a/apache-commons-beanutils.spec b/apache-commons-beanutils.spec index 5b7209c..213c11e 100644 --- a/apache-commons-beanutils.spec +++ b/apache-commons-beanutils.spec @@ -24,7 +24,7 @@ Release: 0 Summary: Utility methods for accessing and modifying the properties of JavaBeans License: Apache-2.0 Group: Development/Libraries/Java -Url: http://commons.apache.org/beanutils +URL: http://commons.apache.org/beanutils Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz Source1: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz.asc Patch0: jdk9.patch @@ -39,7 +39,6 @@ Provides: %{short_name} = %{version}-%{release} Obsoletes: %{short_name} < %{version}-%{release} Provides: jakarta-%{short_name} = %{version}-%{release} Obsoletes: jakarta-%{short_name} < %{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -93,7 +92,8 @@ cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name} %files %defattr(0644,root,root,0755) -%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt +%license LICENSE.txt +%doc NOTICE.txt RELEASE-NOTES.txt %{_javadir}/* %{_mavenpomdir}/JPP-%{name}.pom