summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2021-09-14 15:40:14 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2021-09-14 15:40:14 +0000
commit5d01c5ff89d1efc872f06ec4c6e40399ae5108ba (patch)
tree810daff37202b59dead80c26b39b6003d9999061
parentfb109bba59048a9a6831f565b282605013ebef0c (diff)
automatic import of rubygem-pr_migratorHEADmaster
-rw-r--r--.gitignore1
-rw-r--r--rubygem-pr_migrator.spec65
-rw-r--r--sources1
3 files changed, 67 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..73e7cf0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pr_migrator-0.1.0.gem
diff --git a/rubygem-pr_migrator.spec b/rubygem-pr_migrator.spec
new file mode 100644
index 0000000..6cd4f1a
--- /dev/null
+++ b/rubygem-pr_migrator.spec
@@ -0,0 +1,65 @@
+# Generated from pr_migrator-0.1.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name pr_migrator
+
+Name: rubygem-%{gem_name}
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: Github Pull request migrator
+License: MIT
+URL: https://github.com/ankit8898/pr_migrator
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+# BuildRequires: rubygem(rspec) >= 3.4
+# BuildRequires: rubygem(rspec) < 4
+BuildArch: noarch
+
+%description
+Migrate Pull requests from one repo to other.
+
+
+%package doc
+Summary: Documentation for %{name}
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}.
+
+%prep
+%setup -q -n %{gem_name}-%{version}
+
+%build
+# Create the gem as gem install only works on a gem file
+gem build ../%{gem_name}-%{version}.gemspec
+
+# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
+# by default, so that we can move it into the buildroot in %%install
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+ %{buildroot}%{gem_dir}/
+
+
+
+%check
+pushd .%{gem_instdir}
+# rspec spec
+popd
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+
+
+%changelog
+* Tue Sep 14 2021 mockbuilder - 0.1.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..e529aed 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+679de79e8f6acd1e60ab6fd2709dc807 pr_migrator-0.1.0.gem