Wed Mar 07 2007 Permaine Cheung <dbhole@redhat.com> 0:2.3.0-11jpp.2
- Update spec file as per Fedora guidelines.
This commit is contained in:
parent
23272984ba
commit
713217bff5
@ -1,4 +1 @@
|
||||
bsf-src-2.3.0-RHCLEAN.tar.bz2
|
||||
bsf-2.3.0
|
||||
noarch
|
||||
*.src.rpm
|
||||
bsf-src-2.3.0.tar.gz
|
||||
|
12
bsf.spec
12
bsf.spec
@ -32,18 +32,17 @@
|
||||
|
||||
%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
|
||||
|
||||
%define section free
|
||||
|
||||
Name: bsf
|
||||
Version: 2.3.0
|
||||
Release: 11jpp.1
|
||||
Release: 11jpp.2%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Bean Scripting Framework
|
||||
License: Apache License
|
||||
Url: http://jakarta.apache.org/bsf/
|
||||
Group: Development/Libraries/Java
|
||||
#http://jakarta.apache.org/builds/jakarta-%{name}/dev/v%{version}/src/%{name}-src-%{version}.tar.gz
|
||||
Source0: %{name}-src-%{version}-RHCLEAN.tar.bz2
|
||||
#Source0: %{name}-src-%{version}-RHCLEAN.tar.bz2
|
||||
Source0: %{name}-src-%{version}.tar.gz
|
||||
Patch1: %{name}-javac.patch
|
||||
BuildRequires: jpackage-utils >= 1.6
|
||||
BuildRequires: ant
|
||||
@ -100,7 +99,6 @@ Requires(postun): /bin/rm
|
||||
Javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%{__rm} -fr %{buildroot}
|
||||
%setup -q
|
||||
# remove all binary libs
|
||||
find . -name "*.jar" -exec %{__rm} -f {} \;
|
||||
@ -118,6 +116,7 @@ ant compile
|
||||
ant javadocs
|
||||
|
||||
%install
|
||||
%{__rm} -fr %{buildroot}
|
||||
# jar
|
||||
%{__install} -d -m 755 %{buildroot}%{_javadir}
|
||||
%{__install} -m 644 src/build/lib/%{name}.jar \
|
||||
@ -177,6 +176,9 @@ fi
|
||||
%ghost %{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Wed Mar 07 2007 Permaine Cheung <dbhole@redhat.com> 0:2.3.0-11jpp.2
|
||||
- Update spec file as per Fedora guidelines.
|
||||
|
||||
* Thu Aug 03 2006 Deepak Bhole <dbhole@redhat.com> 0:2.3.0-11jpp.1
|
||||
- Added missing requirements.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user