summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2021-09-13 01:11:47 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2021-09-13 01:11:47 +0000
commit1fc67b37b58c8d31ce7f0f2f2322815005a7c095 (patch)
treecb97736c67dc93c730cb57f74bd6784a7a1b1db6
parent0e138789c0955ff9f3013ef32d4533bf9ede7c3d (diff)
automatic import of rubygem-changelog-madnessHEADmaster
-rw-r--r--.gitignore1
-rw-r--r--rubygem-changelog-madness.spec81
-rw-r--r--sources1
3 files changed, 83 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..1eb322d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/changelog-madness-1.0.1.gem
diff --git a/rubygem-changelog-madness.spec b/rubygem-changelog-madness.spec
new file mode 100644
index 0000000..6688b57
--- /dev/null
+++ b/rubygem-changelog-madness.spec
@@ -0,0 +1,81 @@
+# Generated from changelog-madness-1.0.1.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name changelog-madness
+
+Name: rubygem-%{gem_name}
+Version: 1.0.1
+Release: 1%{?dist}
+Summary: Stop the changelog merge conflict madness
+License: MIT
+URL: https://github.com/KiloKilo/changelog
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+# BuildRequires: rubygem(irb) >= 1.0.0
+# BuildRequires: rubygem(irb) < 1.1
+BuildArch: noarch
+
+%description
+A tool to create changelog entries and bind them together.
+
+
+%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}/
+
+
+mkdir -p %{buildroot}%{_bindir}
+cp -a .%{_bindir}/* \
+ %{buildroot}%{_bindir}/
+
+find %{buildroot}%{gem_instdir}/exe -type f | xargs chmod a+x
+
+%check
+pushd .%{gem_instdir}
+# Run the test suite.
+popd
+
+%files
+%dir %{gem_instdir}
+%{_bindir}/changelog
+%exclude %{gem_instdir}/.gitignore
+%{gem_instdir}/.vscode
+%{gem_instdir}/CODE_OF_CONDUCT.md
+%license %{gem_instdir}/LICENSE.txt
+%{gem_instdir}/bin
+%{gem_instdir}/exe
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/CHANGELOG.md
+%{gem_instdir}/Gemfile
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+%doc %{gem_instdir}/changelog-madness.gemspec
+
+%changelog
+* Mon Sep 13 2021 mockbuilder - 1.0.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..6511629
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b8e083dcde2e6bd1f34bd70c5a7ab6d5 changelog-madness-1.0.1.gem