[springframework-retry] Initial import

Michal Srb msrb at fedoraproject.org
Fri Nov 8 05:33:52 UTC 2013


commit 797294151e51eaa79741f4f4f0f62b01d1c01353
Author: Michal Srb <msrb at redhat.com>
Date:   Fri Nov 8 06:31:42 2013 +0100

    Initial import

 .gitignore                 |    2 +
 sources                    |    2 +
 springframework-retry.spec |   80 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..49e6af3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/LICENSE-2.0.txt
+/1.0.3.RELEASE.tar.gz
diff --git a/sources b/sources
index e69de29..5ad3cc5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+3b83ef96387f14655fc854ddc3c6bd57  LICENSE-2.0.txt
+b37eda3d9055c4b92b18e0053f475834  1.0.3.RELEASE.tar.gz
diff --git a/springframework-retry.spec b/springframework-retry.spec
new file mode 100644
index 0000000..b3b7cce
--- /dev/null
+++ b/springframework-retry.spec
@@ -0,0 +1,80 @@
+%global short_name spring-retry
+
+Name:           springframework-retry
+Version:        1.0.3
+Release:        2%{?dist}
+Summary:        Abstraction around retrying failed operations
+
+# License is specified in pom file
+# pull request: https://github.com/spring-projects/spring-retry/pull/9
+License:        ASL 2.0
+URL:            https://github.com/spring-projects/spring-retry
+Source0:        https://github.com/spring-projects/%{short_name}/archive/%{version}.RELEASE.tar.gz
+Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
+
+BuildRequires:  maven-local
+BuildRequires:  mvn(junit:junit)
+BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
+BuildRequires:  mvn(org.aspectj:aspectjweaver)
+BuildRequires:  mvn(org.easymock:easymock)
+BuildRequires:  mvn(org.springframework:spring-context)
+BuildRequires:  mvn(org.springframework:spring-tx)
+
+Provides:       spring-retry = %{version}-%{release}
+Obsoletes:      spring-retry < %{version}-%{release}
+
+BuildArch:      noarch
+
+%description
+Spring Retry provides an abstraction around retrying failed operations, 
+with an emphasis on declarative control of the process and policy-based 
+bahaviour that is easy to extend and customize. For instance, you can 
+configure a plain POJO operation to retry if it fails, based on the type 
+of exception, and with a fixed or exponential backoff.
+
+%package        javadoc
+Summary:        Javadoc for %{name}
+
+Provides:       spring-retry-javadoc = %{version}-%{release}
+Obsoletes:      spring-retry-javadoc < %{version}-%{release}
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n %{short_name}-%{version}.RELEASE
+
+cp %{SOURCE1} LICENSE.txt
+
+%pom_xpath_remove "pom:extension[pom:artifactId[text()='org.springframework.build.aws.maven']]"
+%pom_remove_plugin :com.springsource.bundlor.maven
+%pom_remove_plugin :maven-jar-plugin
+
+# This can be removed when rhbz#1019083 is fixed for F20
+%pom_remove_dep org.aspectj:aspectjrt
+%pom_add_dep org.aspectj:aspectjweaver:test
+
+%pom_remove_dep org.springframework:spring-test
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%dir %{_javadir}/%{name}
+%doc LICENSE.txt
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE.txt
+
+%changelog
+* Mon Nov 04 2013 Michal Srb <msrb at redhat.com> - 1.0.3-2
+- Package rename (was spring-retry)
+
+* Tue Oct 22 2013 Michal Srb <msrb at redhat.com> - 1.0.3-1
+- Update to upstream version 1.0.3
+
+* Tue Oct 08 2013 Michal Srb <msrb at redhat.com> - 1.0.2-1
+- Initial packaging
+


More information about the scm-commits mailing list