- Remove section definition

- Add missing ghost for unversioned link
- Add requires on java
This commit is contained in:
Vivek Lakshmanan 2007-02-09 17:25:29 +00:00
parent 8392c5256f
commit 92b6b352b4

View File

@ -33,7 +33,6 @@
%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 full_name jakarta-%{name}
%define section free
Name: regexp
Version: 1.4
@ -47,12 +46,13 @@ Source0: http://www.apache.org/dist/jakarta/regexp/jakarta-regexp-%{versi
BuildRequires: jpackage-utils >= 0:1.6
Requires(pre): jpackage-utils >= 0:1.6
Requires(postun): jpackage-utils >= 0:1.6
Requires: java
BuildRequires: ant >= 1.6
%if ! %{gcj_support}
Buildarch: noarch
%endif
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if %{gcj_support}
BuildRequires: java-gcj-compat-devel
@ -144,12 +144,16 @@ fi
%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version}
%ghost %doc %{_javadocdir}/%{name}
%changelog
* Thu Feb 8 2007 Vivek Lakshmanan <vivekl at redhat.com> 0:1.4-3jpp.1.fc7
- Resync with JPP
- Use the upstream tar ball as JPP does since they clean it off jars anyway
- Use JPackage exception compliant naming scheme
- Remove section definition
- Add missing ghost for unversioned link
- Add requires on java
* Fri Aug 4 2006 Vivek Lakshmanan <vivekl@redhat.com> 0:1.4-2jpp.2
- Rebuild.