|
|
238ea9 |
%global upstream_version rel_%(sed s/\\\\./_/g <<<"%{version}")_ga
|
|
|
238ea9 |
|
|
|
238ea9 |
Name: javassist
|
|
|
238ea9 |
Version: 3.18.1
|
|
|
238ea9 |
Release: 8%{?dist}
|
|
|
238ea9 |
Summary: The Java Programming Assistant provides simple Java bytecode manipulation
|
|
|
238ea9 |
Group: Development/Libraries
|
|
|
238ea9 |
License: MPLv1.1 or LGPLv2+ or ASL 2.0
|
|
|
238ea9 |
URL: http://www.csg.is.titech.ac.jp/~chiba/%{name}/
|
|
|
238ea9 |
BuildArch: noarch
|
|
|
238ea9 |
|
|
|
238ea9 |
Source0: http://github.com/jboss-%{name}/%{name}/archive/%{upstream_version}.tar.gz
|
|
|
238ea9 |
|
|
|
238ea9 |
Patch0: 0001-Remove-usage-of-junit.awtui-and-junit.swingui.patch
|
|
|
238ea9 |
|
|
|
238ea9 |
BuildRequires: maven-local
|
|
|
238ea9 |
BuildRequires: mvn(junit:junit)
|
|
|
238ea9 |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
238ea9 |
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
|
238ea9 |
|
|
|
238ea9 |
%description
|
|
|
238ea9 |
Javassist enables Java programs to define a new class at runtime and to
|
|
|
238ea9 |
modify a class file when the JVM loads it. Unlike other similar
|
|
|
238ea9 |
bytecode editors, Javassist provides two levels of API: source level
|
|
|
238ea9 |
and bytecode level. If the users use the source-level API, they can
|
|
|
238ea9 |
edit a class file without knowledge of the specifications of the Java
|
|
|
238ea9 |
bytecode. The whole API is designed with only the vocabulary of the
|
|
|
238ea9 |
Java language. You can even specify inserted bytecode in the form of
|
|
|
238ea9 |
source text; Javassist compiles it on the fly. On the other hand, the
|
|
|
238ea9 |
bytecode-level API allows the users to directly edit a class file as
|
|
|
238ea9 |
other editors.
|
|
|
238ea9 |
|
|
|
238ea9 |
%package javadoc
|
|
|
238ea9 |
Summary: Javadocs for javassist
|
|
|
238ea9 |
Group: Documentation
|
|
|
238ea9 |
Requires: jpackage-utils
|
|
|
238ea9 |
|
|
|
238ea9 |
%description javadoc
|
|
|
238ea9 |
javassist development documentation.
|
|
|
238ea9 |
|
|
|
238ea9 |
%prep
|
|
|
238ea9 |
%setup -q -n %{name}-%{upstream_version}
|
|
|
238ea9 |
find . -name \*.jar -type f -delete
|
|
|
238ea9 |
mkdir runtest
|
|
|
238ea9 |
%patch0 -p1
|
|
|
238ea9 |
%pom_xpath_remove "pom:profile[pom:id='default-tools']"
|
|
|
238ea9 |
%pom_add_dep com.sun:tools
|
|
|
238ea9 |
|
|
|
238ea9 |
%mvn_file : %{name}
|
|
|
238ea9 |
%mvn_alias : %{name}:%{name}
|
|
|
238ea9 |
|
|
|
238ea9 |
%build
|
|
|
238ea9 |
# TODO: enable tests
|
|
|
238ea9 |
%mvn_build -f
|
|
|
238ea9 |
|
|
|
238ea9 |
%install
|
|
|
238ea9 |
%mvn_install
|
|
|
238ea9 |
|
|
|
238ea9 |
%files -f .mfiles
|
|
|
238ea9 |
%doc License.html Readme.html
|
|
|
238ea9 |
|
|
|
238ea9 |
%files javadoc -f .mfiles-javadoc
|
|
|
238ea9 |
%doc License.html
|
|
|
238ea9 |
|
|
|
238ea9 |
%changelog
|
|
|
238ea9 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.1-8
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.1-7
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.1-6
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.1-5
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18.1-4
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Mon Mar 16 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.18.1-3
|
|
|
238ea9 |
- Simplify build dependencies
|
|
|
238ea9 |
|
|
|
238ea9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18.1-2
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Mon Apr 28 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.18.1-1
|
|
|
238ea9 |
- Update to upstream version 3.18.1
|
|
|
238ea9 |
- Remove workaround for rpm bug, can be removed in F-18
|
|
|
238ea9 |
- Update to current packaging guidelines
|
|
|
238ea9 |
|
|
|
238ea9 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.16.1-7
|
|
|
238ea9 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
238ea9 |
|
|
|
238ea9 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.16.1-6
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Tue Feb 26 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.16.1-5
|
|
|
238ea9 |
- Remove unneeded BR on maven-doxia
|
|
|
238ea9 |
- Resolves: rhbz#915607
|
|
|
238ea9 |
|
|
|
238ea9 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.16.1-4
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.16.1-3
|
|
|
238ea9 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
238ea9 |
- Replace maven BuildRequires with maven-local
|
|
|
238ea9 |
|
|
|
238ea9 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.16.1-2
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Tue Apr 24 2012 Andy Grimm <agrimm@gmail.com> - 3.16.1-1
|
|
|
238ea9 |
- Update to latest upstream release.
|
|
|
238ea9 |
|
|
|
238ea9 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.15.0-2
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Tue Sep 20 2011 Alexander Kurtakov <akurtako@redhat.com> 3.15.0-1
|
|
|
238ea9 |
- Update to latest upstream release.
|
|
|
238ea9 |
- Add javassist:javassist depmap.
|
|
|
238ea9 |
- The project is now triple licensed.
|
|
|
238ea9 |
|
|
|
238ea9 |
* Wed Aug 31 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.14.0-5
|
|
|
238ea9 |
- Fixes according to current guidelines
|
|
|
238ea9 |
|
|
|
238ea9 |
* Tue Aug 30 2011 Andy Grimm <agrimm@gmail.com> - 3.14.0-4
|
|
|
238ea9 |
- Switch to Maven 3 build.
|
|
|
238ea9 |
|
|
|
238ea9 |
* Tue Aug 30 2011 John5342 <john5342 at, fedoraproject.org> - 3.14.0-3
|
|
|
238ea9 |
- Remove ext_ver macro usage leftover after last rebase (rhbz#734255)
|
|
|
238ea9 |
|
|
|
238ea9 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14.0-2
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Thu Nov 4 2010 Alexander Kurtakov <akurtako@redhat.com> 3.14.0-1
|
|
|
238ea9 |
- Update to 3.14.0 upstream version.
|
|
|
238ea9 |
- Various fixes in preparation for merge review.
|
|
|
238ea9 |
|
|
|
238ea9 |
* Fri Feb 12 2010 Alexander Kurtakov <akurtako@redhat.com> 3.9.0-7
|
|
|
238ea9 |
- Add maven-doxia BRs.
|
|
|
238ea9 |
|
|
|
238ea9 |
* Fri Feb 12 2010 Alexander Kurtakov <akurtako@redhat.com> 3.9.0-6
|
|
|
238ea9 |
- Remove not needed BR. Fixes rhbz#539176.
|
|
|
238ea9 |
|
|
|
238ea9 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.0-5
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.0-4
|
|
|
238ea9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
238ea9 |
|
|
|
238ea9 |
* Tue Jan 27 2009 John5342 <john5342 at, fedoraproject.org> - 3.9.0-3
|
|
|
238ea9 |
- Correct group id for maven depmap
|
|
|
238ea9 |
|
|
|
238ea9 |
* Mon Jan 26 2009 John5342 <john5342 at, fedoraproject.org> - 3.9.0-2
|
|
|
238ea9 |
- Build using maven and install maven stuff (fixes bug 480428)
|
|
|
238ea9 |
|
|
|
238ea9 |
* Tue Dec 16 2008 Sandro Mathys <red at fedoraproject.org> - 3.9.0-1
|
|
|
238ea9 |
- initial build
|