|
|
7f8b768 |
%global githash cb6709646eed97c271d73f50ad750cc43c8e052a
|
|
|
1ccc76d |
Name: paranamer
|
|
|
7f8b768 |
Version: 2.8
|
|
|
23612c3 |
Release: 3%{?dist}
|
|
|
1ccc76d |
Summary: Library for accessing non-private method parameter names at run-time
|
|
|
1ccc76d |
License: BSD
|
|
|
7f8b768 |
URL: https://github.com/paul-hammant/paranamer
|
|
|
7f8b768 |
Source0: https://github.com/paul-hammant/paranamer/archive/%{githash}/%{name}-%{githash}.tar.gz
|
|
|
1ccc76d |
|
|
Stanislav Ochotnicky |
921b468 |
BuildRequires: maven-local
|
|
|
7f8b768 |
BuildRequires: mvn(com.thoughtworks.qdox:qdox)
|
|
|
7f8b768 |
BuildRequires: mvn(javax.inject:javax.inject)
|
|
|
d6eab27 |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
7f8b768 |
BuildRequires: mvn(org.codehaus:codehaus-parent:pom:)
|
|
|
7f8b768 |
BuildRequires: mvn(org.mockito:mockito-all)
|
|
|
23612c3 |
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
|
7f8b768 |
BuildRequires: mvn(org.ow2.asm:asm)
|
|
|
1ccc76d |
|
|
|
7f8b768 |
BuildArch: noarch
|
|
|
1ccc76d |
|
|
|
1ccc76d |
%description
|
|
|
1ccc76d |
It is a library that allows the parameter names of non-private methods
|
|
|
7f8b768 |
and constructors to be accessed at run-time.
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%package ant
|
|
|
7f8b768 |
Summary: ParaNamer Ant
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%description ant
|
|
|
7f8b768 |
This package contains the ParaNamer Ant tasks.
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%package generator
|
|
|
7f8b768 |
Summary: ParaNamer Generator
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%description generator
|
|
|
7f8b768 |
This package contains the ParaNamer Generator.
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%package integration-tests
|
|
|
7f8b768 |
Summary: ParaNamer Integration Test Parent POM
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%description integration-tests
|
|
|
7f8b768 |
ParaNamer Integration Test Parent POM.
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%package it-011
|
|
|
7f8b768 |
Summary: ParaNamer Integration Test 011
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%description it-011
|
|
|
7f8b768 |
ParaNamer IT 011: can use maven plugin defaults.
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%package maven-plugin
|
|
|
7f8b768 |
Summary: ParaNamer Maven plugin
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%description maven-plugin
|
|
|
7f8b768 |
This package contains the ParaNamer Maven plugin.
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%package parent
|
|
|
7f8b768 |
Summary: ParaNamer Parent POM
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%description parent
|
|
|
7f8b768 |
This package contains the ParaNamer Parent POM.
|
|
|
1ccc76d |
|
|
|
1ccc76d |
%package javadoc
|
|
|
7f8b768 |
Summary: Javadoc for %{name}
|
|
|
1ccc76d |
|
|
|
1ccc76d |
%description javadoc
|
|
|
1ccc76d |
This package contains the API documentation for %{name}.
|
|
|
1ccc76d |
|
|
|
1ccc76d |
%prep
|
|
|
7f8b768 |
%setup -q -n %{name}-%{githash}
|
|
|
7f8b768 |
# Cleanup
|
|
|
7f8b768 |
find -name "*.class" -print -delete
|
|
|
7f8b768 |
# Do not erase test resources
|
|
|
7f8b768 |
find -name "*.jar" -print ! -name "test.jar" -delete
|
|
|
1ccc76d |
|
|
|
1ccc76d |
chmod -x LICENSE.txt
|
|
|
1ccc76d |
|
|
Marek Goldmann |
48a1539 |
# Remove wagon extension
|
|
Marek Goldmann |
48a1539 |
%pom_xpath_remove "pom:build/pom:extensions"
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%pom_remove_plugin -r :maven-dependency-plugin
|
|
|
7f8b768 |
%pom_remove_plugin -r :maven-javadoc-plugin
|
|
|
7f8b768 |
%pom_remove_plugin -r :maven-source-plugin
|
|
|
7f8b768 |
|
|
Marek Goldmann |
48a1539 |
# Disable distribution module
|
|
|
7f8b768 |
%pom_disable_module %{name}-distribution
|
|
|
7f8b768 |
|
|
|
7f8b768 |
# Unavailable test deps
|
|
|
7f8b768 |
%pom_remove_dep -r net.sourceforge.f2j:
|
|
|
7f8b768 |
%pom_xpath_remove -r "pom:dependency[pom:classifier = 'javadoc' ]"
|
|
|
7f8b768 |
# package org.netlib.blas does not exist
|
|
|
7f8b768 |
rm -r %{name}/src/test/com/thoughtworks/paranamer/JavadocParanamerTest.java
|
|
|
7f8b768 |
# testRetrievesParameterNamesFromBootstrapClassLoader java.lang.AssertionError:
|
|
|
7f8b768 |
# Should not find names for classes loaded by the bootstrap class loader.
|
|
|
7f8b768 |
rm -r %{name}/src/test/com/thoughtworks/paranamer/BytecodeReadingParanamerTestCase.java
|
|
Marek Goldmann |
48a1539 |
|
|
|
1ccc76d |
%build
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%mvn_build -s
|
|
|
1ccc76d |
|
|
|
1ccc76d |
%install
|
|
Marek Goldmann |
5934cf4 |
%mvn_install
|
|
Marek Goldmann |
5934cf4 |
|
|
|
7f8b768 |
%files -f .mfiles-%{name}
|
|
|
7f8b768 |
%doc README.md
|
|
|
7f8b768 |
%license LICENSE.txt
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%files ant -f .mfiles-%{name}-ant
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%files generator -f .mfiles-%{name}-generator
|
|
|
7f8b768 |
%license LICENSE.txt
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%files integration-tests -f .mfiles-%{name}-integration-tests
|
|
|
7f8b768 |
%license LICENSE.txt
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%files it-011 -f .mfiles-%{name}-it-011
|
|
|
7f8b768 |
%license LICENSE.txt
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%files maven-plugin -f .mfiles-%{name}-maven-plugin
|
|
|
7f8b768 |
|
|
|
7f8b768 |
%files parent -f .mfiles-%{name}-parent
|
|
|
7f8b768 |
%license LICENSE.txt
|
|
|
1ccc76d |
|
|
Marek Goldmann |
5934cf4 |
%files javadoc -f .mfiles-javadoc
|
|
|
7f8b768 |
%license LICENSE.txt
|
|
|
1ccc76d |
|
|
|
1ccc76d |
%changelog
|
|
|
23612c3 |
* Tue Jun 21 2016 gil cattaneo <puntogil@libero.it> 2.8-3
|
|
|
23612c3 |
- add missing build requires
|
|
|
23612c3 |
|
|
|
cf5b3df |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
|
|
|
cf5b3df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
cf5b3df |
|
|
|
7f8b768 |
* Fri Sep 25 2015 gil cattaneo <puntogil@libero.it> - 2.8-1
|
|
|
7f8b768 |
- Upstream release 2.8
|
|
|
7f8b768 |
- Fix FTBFS RHBZ#1239758
|
|
|
7f8b768 |
- Split maven plugin to sub package RHBZ#1119279
|
|
|
7f8b768 |
- Use Qdox 2.x RHBZ#1191694
|
|
|
7f8b768 |
- Run test suite
|
|
|
7f8b768 |
- Use BR mvn()-like
|
|
|
7f8b768 |
- Fix URL field
|
|
|
7f8b768 |
- Introduce license macro
|
|
|
7f8b768 |
- Minor changes for adapt to current guideline
|
|
|
7f8b768 |
|
|
|
8620b80 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-10
|
|
|
8620b80 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
8620b80 |
|
|
Marek Goldmann |
5934cf4 |
* Tue Jun 17 2014 Marek Goldmann <mgoldman@redhat.com> - 2.4.1-9
|
|
Marek Goldmann |
5934cf4 |
- Switch to xmvn
|
|
Marek Goldmann |
5934cf4 |
|
|
|
3ebd3e6 |
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-8
|
|
|
3ebd3e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3ebd3e6 |
|
|
|
9c59090 |
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 2.4.1-7
|
|
|
9c59090 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
9c59090 |
|
|
|
80343e1 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-6
|
|
|
80343e1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
80343e1 |
|
|
Marek Goldmann |
48a1539 |
* Wed Feb 20 2013 Marek Goldmann <mgoldman@redhat.com> - 2.4.1-5
|
|
Marek Goldmann |
48a1539 |
- Using pom macros
|
|
Marek Goldmann |
48a1539 |
- Fixed build by adding version to the plugin
|
|
Marek Goldmann |
48a1539 |
|
|
|
7d54c60 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-4
|
|
|
7d54c60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7d54c60 |
|
|
Stanislav Ochotnicky |
921b468 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.4.1-3
|
|
Stanislav Ochotnicky |
921b468 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
Stanislav Ochotnicky |
921b468 |
- Replace maven BuildRequires with maven-local
|
|
Stanislav Ochotnicky |
921b468 |
|
|
|
758274a |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-2
|
|
|
758274a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
758274a |
|
|
|
1ccc76d |
* Mon Mar 12 2012 Marek Goldmann <mgoldman@redhat.com> 2.4.1-1
|
|
|
1ccc76d |
- Upstream release 2.4.1
|
|
|
1ccc76d |
- Cleanup in spec file
|
|
|
1ccc76d |
|
|
|
1ccc76d |
* Mon Mar 12 2012 Marek Goldmann <mgoldman@redhat.com> 2.2-2
|
|
|
1ccc76d |
- Updated summary and url
|
|
|
1ccc76d |
|
|
|
1ccc76d |
* Tue Feb 21 2012 Marek Goldmann <mgoldman@redhat.com> 2.2-1
|
|
|
1ccc76d |
- Initial packaging
|
|
|
1ccc76d |
|