- Drop gcj support.
This commit is contained in:
parent
f8a1dcca09
commit
59b0ded8d5
@ -48,12 +48,9 @@
|
|||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define _with_gcj_support 1
|
|
||||||
%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
|
|
||||||
|
|
||||||
Name: hamcrest
|
Name: hamcrest
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 9.2%{?dist}
|
Release: 9.3%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Library of matchers for building test expressions
|
Summary: Library of matchers for building test expressions
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -98,11 +95,7 @@ BuildRequires: testng
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
%if %{gcj_support}
|
BuildArch: noarch
|
||||||
BuildRequires: java-gcj-compat-devel
|
|
||||||
%else
|
|
||||||
Buildarch: noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Requires(post): jpackage-utils >= 0:1.7.4
|
Requires(post): jpackage-utils >= 0:1.7.4
|
||||||
Requires(postun): jpackage-utils >= 0:1.7.4
|
Requires(postun): jpackage-utils >= 0:1.7.4
|
||||||
@ -239,33 +232,17 @@ install -m 644 build/%{name}-examples-%{version}.jar $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
cp -pr %{name}-examples $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/
|
cp -pr %{name}-examples $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/
|
||||||
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name}
|
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||||
|
|
||||||
%if %{gcj_support}
|
|
||||||
%{_bindir}/aot-compile-rpm
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%update_maven_depmap
|
%update_maven_depmap
|
||||||
%if %{gcj_support}
|
|
||||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
|
||||||
then
|
|
||||||
%{_bindir}/rebuild-gcj-db
|
|
||||||
fi
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%update_maven_depmap
|
%update_maven_depmap
|
||||||
%if %{gcj_support}
|
|
||||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
|
||||||
then
|
|
||||||
%{_bindir}/rebuild-gcj-db
|
|
||||||
fi
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
%dir %{_javadir}/%{name}
|
%dir %{_javadir}/%{name}
|
||||||
%{_javadir}/%{name}/all-%{version}.jar
|
%{_javadir}/%{name}/all-%{version}.jar
|
||||||
@ -288,23 +265,21 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
%{_datadir}/maven2/*
|
%{_datadir}/maven2/*
|
||||||
%{_mavendepmapfragdir}/*
|
%{_mavendepmapfragdir}/*
|
||||||
%if %{gcj_support}
|
|
||||||
%dir %{_libdir}/gcj/%{name}
|
|
||||||
%attr(-,root,root) %{_libdir}/gcj/%{name}/all-%{version}.jar.db
|
|
||||||
%attr(-,root,root) %{_libdir}/gcj/%{name}/all-%{version}.jar.so
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(-,root,root,-)
|
||||||
%{_javadocdir}/%{name}-%{version}
|
%{_javadocdir}/%{name}-%{version}
|
||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(-,root,root,-)
|
||||||
%{_datadir}/%{name}-%{version}
|
%{_datadir}/%{name}-%{version}
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 7 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.1-9.3
|
||||||
|
- Drop gcj support.
|
||||||
|
|
||||||
* Tue Aug 18 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.1-9.2
|
* Tue Aug 18 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.1-9.2
|
||||||
- Add OSGi manifest for hamcrest-core.
|
- Add OSGi manifest for hamcrest-core.
|
||||||
- Make javadoc package noarch.
|
- Make javadoc package noarch.
|
||||||
|
Loading…
Reference in New Issue
Block a user