noa pushed to truth (master). "Initial import of 0.23-1"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jun 11 20:44:32 UTC 2015


From 98c06bc4600ca68d937fb56cfc871d6cf9600221 Mon Sep 17 00:00:00 2001
From: Noa Resare <noa at resare.com>
Date: Tue, 9 Jun 2015 18:03:08 +0200
Subject: Initial import of 0.23-1


diff --git a/.gitignore b/.gitignore
index e69de29..ac31888 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/truth-0.23.tar.xz
diff --git a/sources b/sources
index e69de29..89088ea 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+20c76d26160c411a85d8241940fca9a5  truth-0.23.tar.xz
diff --git a/truth.spec b/truth.spec
new file mode 100644
index 0000000..77d2219
--- /dev/null
+++ b/truth.spec
@@ -0,0 +1,53 @@
+Name:           truth
+Version:        0.23
+Release:        1%{?dist}
+Summary:        An assertion framework for Java unit tests
+License:        ASL 2.0
+URL:            https://github.com/google/truth
+# Created from revision 3c4492b0f72290c8b4a32f1b313b13501e96f44d
+# of git at github.com:google/truth.git using the following command:
+# git archive --format=tar --prefix=truth-0.23/ 3c4492b |xz >truth-0.23.tar.xz
+Source0:        truth-0.23.tar.xz
+BuildArch:      noarch
+
+BuildRequires:  maven-local
+BuildRequires:  auto-value
+
+%description
+Truth is a library provides alternative ways to express assertions in
+unit tests. It can be used as a replacement for JUnit's assertions or FEST
+or it can be used alongside where other approaches seem more suitable.
+
+%package        javadoc
+Summary:        Javadoc for %{name}
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q
+%pom_remove_plugin :maven-gpg-plugin
+%pom_remove_plugin :gwt-maven-plugin core
+%pom_remove_dep :gwt-user core
+%pom_remove_dep :guava-gwt core
+%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId[text()='maven-compiler-plugin']]/pom:configuration" "
+          <testExcludes>
+            <exclude>**/gwt/*.java</exclude>
+          </testExcludes>" core
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc README.md
+%dir %{_javadir}/%{name}
+%license LICENSE
+%files javadoc -f .mfiles-javadoc
+%license LICENSE
+
+%changelog
+* Wed Jun 3 2015 Noa Resare <noa at resare.com> - 0.23-1
+- Initial packaging
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/truth.git/commit/?h=master&id=98c06bc4600ca68d937fb56cfc871d6cf9600221


More information about the scm-commits mailing list