Skip to content

Instantly share code, notes, and snippets.

@pvalena
Created January 24, 2022 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvalena/bdf60e79d5a8fa24bd858bceeea126f8 to your computer and use it in GitHub Desktop.
Save pvalena/bdf60e79d5a8fa24bd858bceeea126f8 to your computer and use it in GitHub Desktop.
diff --git a/rubygem-puma.spec b/rubygem-puma.spec
index c07c37f..3a3c601 100644
--- a/rubygem-puma.spec
+++ b/rubygem-puma.spec
@@ -16,10 +16,10 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# The puma gem doesn't ship with the test suite.
# git clone https://github.com/puma/puma --no-checkout
# cd puma && git archive -v -o puma-5.5.2-tests.txz v5.5.2 test
-Source1: %{gem_name}-%{version}%{?prerelease}-tests.txz
+Source1: %{gem_name}-%{version}-tests.txz
# The puma gem doesn't ship with the examples used in test suite.
# git archive -v -o puma-5.5.2-examples.txz v5.5.2 examples
-Source3: %{gem_name}-%{version}%{?prerelease}-examples.txz
+Source3: %{gem_name}-%{version}-examples.txz
# Set the default cipher list "PROFILE=SYSTEM".
# https://fedoraproject.org/wiki/Packaging:CryptoPolicies
Patch2: rubygem-puma-3.6.0-fedora-crypto-policy-cipher-list.patch
@@ -59,7 +59,7 @@ BuildArch: noarch
Documentation for %{name}.
%prep
-%setup -q -n %{gem_name}-%{version}%{?prerelease} -b 1 -b 3
+%setup -q -n %{gem_name}-%{version} -b 1 -b 3
%patch2 -p1
@@ -78,7 +78,7 @@ ragel ext/puma_http11/http11_parser.rl -G2 -I ext/puma_http11 \
%endif
%build
-gem build ../%{gem_name}-%{version}%{?prerelease}.gemspec
+gem build ../%{gem_name}-%{version}.gemspec
%gem_install
%install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment