[apache-commons-vfs] Fix directory ownership

Michal Srb msrb at fedoraproject.org
Fri Jun 28 07:22:44 UTC 2013


commit 0f82e9b133f0ec874497ce3b2f97da992e1b0c8e
Author: Michal Srb <msrb at redhat.com>
Date:   Fri Jun 28 09:19:52 2013 +0200

    Fix directory ownership

 apache-commons-vfs.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/apache-commons-vfs.spec b/apache-commons-vfs.spec
index 46dc550..4b156a3 100644
--- a/apache-commons-vfs.spec
+++ b/apache-commons-vfs.spec
@@ -2,7 +2,7 @@
 %global short_name commons-%{base_name}
 Name:          apache-commons-vfs
 Version:       2.0
-Release:       7%{?dist}
+Release:       8%{?dist}
 Summary:       Commons Virtual File System
 License:       ASL 2.0
 Url:           http://commons.apache.org/%{base_name}/
@@ -62,6 +62,7 @@ This package enables support for the Commons VFS ant tasks.
 
 %package examples
 Summary:       Commons VFS Examples
+Requires:      %{name} = %{version}-%{release}
 
 %description examples
 VFS is a Virtual File System library - Examples.
@@ -104,6 +105,7 @@ install -p -m 644 %{short_name} %{buildroot}%{_sysconfdir}/ant.d/%{short_name}
 
 
 %files -f .mfiles-commons-vfs2
+%dir %{_javadir}/%{name}
 %doc LICENSE.txt NOTICE.txt README.txt RELEASE-NOTES.txt
 
 %files examples -f .mfiles-commons-vfs2-examples
@@ -115,6 +117,9 @@ install -p -m 644 %{short_name} %{buildroot}%{_sysconfdir}/ant.d/%{short_name}
 %config %{_sysconfdir}/ant.d/%{short_name}
 
 %changelog
+* Fri Jun 28 2013 Michal Srb <msrb at redhat.com> - 2.0-8
+- Fix directory ownership
+
 * Thu Jun 27 2013 Michal Srb <msrb at redhat.com> - 2.0-7
 - Build with XMvn
 - Do not ignore test failures


More information about the scm-commits mailing list