diff --git a/.gitignore b/.gitignore
index 5711d27..08ef398 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ cglib-src-2.2.jar
/RELEASE_3_2_4.tar.gz
/cglib-RELEASE_3_2_4
/RELEASE_3_2_9.tar.gz
+/RELEASE_3_2_12.tar.gz
diff --git a/cglib.spec b/cglib.spec
index d8f3a49..ef9f6ed 100644
--- a/cglib.spec
+++ b/cglib.spec
@@ -1,8 +1,8 @@
-%global tarball_name RELEASE_3_2_9
+%global tarball_name RELEASE_%(echo '%{version}' | tr . _)
Name: cglib
-Version: 3.2.9
-Release: 3%{?dist}
+Version: 3.2.12
+Release: 1%{?dist}
Summary: Code Generation Library for Java
# ASM MethodVisitor is based on ASM code and therefore
# BSD-licensed. Everything else is ASL 2.0.
@@ -54,8 +54,6 @@ Documentation for the cglib code generation library.
%pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample
%pom_remove_plugin -r :maven-javadoc-plugin
-%pom_xpath_inject "pom:dependency[pom:artifactId='ant']" "true" cglib
-
%mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib"
%build
@@ -71,6 +69,9 @@ Documentation for the cglib code generation library.
%license LICENSE NOTICE
%changelog
+* Thu Jun 27 2019 Marian Koncek - 3.2.12-1
+- Update to upstream version 3.2.12
+
* Fri May 24 2019 Mikolaj Izdebski - 3.2.9-3
- Mass rebuild for javapackages-tools 201901
diff --git a/sources b/sources
index 1c68b09..d3f0727 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (RELEASE_3_2_9.tar.gz) = 92eaf38cc5cc70932292a0e837eb4e547c4e9f10d6fd4634ee44f9fbdf03522071d6230fda35efc9eb4b4dd9f8925f3ba7f24e9379c83ef45b798e342d66db3c
+SHA512 (RELEASE_3_2_12.tar.gz) = 7caaf3d1874feecd7448f093426ae4727ff0b9b9d78800551d7ccd1f061fbdd71a9eb17ef47bdd0d15dcf72207ad3f364dddda3eb231126d81d5d86d69c2cdb3