commit
d0fc7c530d
20
LICENSE.txt
Normal file
20
LICENSE.txt
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Copyright (c) <year> <copyright holders>
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
|
|
||||||
BIN
bridge-method-injector-parent-1.14.tar.gz
Normal file
BIN
bridge-method-injector-parent-1.14.tar.gz
Normal file
Binary file not shown.
57
bridge-method-injector.spec
Normal file
57
bridge-method-injector.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
Name: bridge-method-injector
|
||||||
|
Version: 1.14
|
||||||
|
Release: 1
|
||||||
|
Summary: Evolve Java classes without breaking compatibility
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/infradna/bridge-method-injector
|
||||||
|
Source0: https://github.com/infradna/bridge-method-injector/archive/bridge-method-injector-parent-%{version}.tar.gz
|
||||||
|
Source1: LICENSE.txt
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.maven:maven-plugin-api)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-release-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.scm:maven-scm-provider-gitexe)
|
||||||
|
BuildRequires: mvn(org.jenkins-ci:annotation-indexer) mvn(org.ow2.asm:asm-all)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||||
|
%description
|
||||||
|
This package contains small Java library for generating
|
||||||
|
synthetic bridge methods with different return types
|
||||||
|
to help backward compatibility.
|
||||||
|
|
||||||
|
%package -n bridge-method-annotation
|
||||||
|
Summary: Bridge method injection annotations
|
||||||
|
%description -n bridge-method-annotation
|
||||||
|
This package contains annotations for injecting bridge methods.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
%description javadoc
|
||||||
|
This package contains the API documentation for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{name}-parent-%{version}
|
||||||
|
cp %{SOURCE1} LICENSE
|
||||||
|
%mvn_package :bridge-method-annotation bridge-method-annotation
|
||||||
|
%pom_xpath_remove "pom:extension[pom:artifactId[text()='wagon-svn']]"
|
||||||
|
%pom_xpath_remove "pom:extension[pom:artifactId[text()='wagon-svn']]" injector
|
||||||
|
%pom_remove_plugin :nexus-staging-maven-plugin
|
||||||
|
%pom_change_dep :asm-debug-all :asm-all injector
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%files -n bridge-method-annotation -f .mfiles-bridge-method-annotation
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Aug 28 2020 Anan Fu <fuanan3@huawei.com> - 1.14-1
|
||||||
|
- package init
|
||||||
4
bridge-method-injector.yaml
Normal file
4
bridge-method-injector.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: infradna/bridge-method-injector
|
||||||
|
tag_prefix: "^"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user