Accepting request 1110603 from Java:packages:test
jp-l >= 6 OBS-URL: https://build.opensuse.org/request/show/1110603 OBS-URL: https://build.opensuse.org/package/show/Java:packages/cglib?expand=0&rev=34
This commit is contained in:
parent
ef14067ad5
commit
6b335deeb1
12
cglib.spec
12
cglib.spec
@ -30,7 +30,7 @@ Source1: %{name}-%{version}-build.tar.xz
|
||||
BuildRequires: ant >= 1.6
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-local >= 6
|
||||
BuildRequires: objectweb-asm >= 5
|
||||
Requires: mvn(org.ow2.asm:asm)
|
||||
Provides: %{name}-nohook = %{version}-%{release}
|
||||
@ -80,12 +80,6 @@ runtime.
|
||||
%pom_remove_plugin -r :maven-javadoc-plugin
|
||||
|
||||
%pom_remove_dep -r junit:junit
|
||||
%pom_change_dep ::::: ::::: cglib cglib-sample
|
||||
|
||||
for i in %{name} %{name}-sample; do
|
||||
%pom_remove_parent ${i}
|
||||
%pom_xpath_inject pom:project "<groupId>cglib</groupId><version>%{version}</version>" ${i}
|
||||
done
|
||||
|
||||
%build
|
||||
mkdir -p lib
|
||||
@ -106,9 +100,9 @@ install -pm 0644 %{name}-sample/target/%{name}-sample-%{version}.jar %{buildroot
|
||||
|
||||
# poms
|
||||
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
|
||||
install -pm 0644 %{name}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
|
||||
%mvn_install_pom %{name}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
|
||||
%add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar -a "net.sf.cglib:cglib,cglib:cglib-full,cglib:cglib-nodep,org.sonatype.sisu.inject:cglib"
|
||||
install -pm 0644 %{name}-sample/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}-sample.pom
|
||||
%mvn_install_pom %{name}-sample/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}-sample.pom
|
||||
%add_maven_depmap %{name}/%{name}-sample.pom %{name}/%{name}-sample.jar
|
||||
|
||||
# javadoc
|
||||
|
Loading…
Reference in New Issue
Block a user