[spring-retry] Initial import

Michal Srb msrb at fedoraproject.org
Wed Oct 16 12:52:53 UTC 2013


commit 53a3681d1a2cd00ff2a0b67da27083e0c407965a
Author: Michal Srb <msrb at redhat.com>
Date:   Wed Oct 16 14:51:57 2013 +0200

    Initial import

 .gitignore        |    2 +
 sources           |    2 +
 spring-retry.spec |   66 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6fa8ba4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/1.0.2.RELEASE.tar.gz
+/LICENSE-2.0.txt
diff --git a/sources b/sources
index e69de29..77ee164 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+a7d3d45fbff82919fc7f78313a078f88  1.0.2.RELEASE.tar.gz
+3b83ef96387f14655fc854ddc3c6bd57  LICENSE-2.0.txt
diff --git a/spring-retry.spec b/spring-retry.spec
new file mode 100644
index 0000000..9f70e00
--- /dev/null
+++ b/spring-retry.spec
@@ -0,0 +1,66 @@
+Name:           spring-retry
+Version:        1.0.2
+Release:        1%{?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/%{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)
+
+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}
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n %{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
+* Tue Oct 08 2013 Michal Srb <msrb at redhat.com> - 1.0.2-1
+- Initial packaging
+


More information about the scm-commits mailing list