]> git.pld-linux.org Git - packages/ruby-rpm.git/commitdiff
- added rpm5 bcond master
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 22 Feb 2021 12:21:10 +0000 (13:21 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 22 Feb 2021 12:21:10 +0000 (13:21 +0100)
- rel 9

ruby-rpm.spec

index 87ec750a4e944995d08b562a4fd915bb5059aab0..985f94b0b956282cb3442d6a73b20ee50d758a2a 100644 (file)
@@ -1,8 +1,12 @@
+#
+# Conditional build:
+%bcond_with    rpm5    # build with rpm5
+
 %define pkgname rpm
 Summary:       An interface to access RPM database for Ruby
 Name:          ruby-%{pkgname}
 Version:       1.3.1
-Release:       7
+Release:       9
 License:       GPL v2
 Group:         Development/Languages
 Source0:       http://rubygems.org/downloads/ruby-rpm-%{version}.gem
@@ -30,7 +34,7 @@ dependencies, and files).
 %prep
 %setup -q -n %{pkgname}-%{version}
 %patch0 -p1
-%patch1 -p1
+%{?with_rpm5:%patch1 -p1}
 
 %build
 cd ext/%{pkgname}
This page took 0.210046 seconds and 4 git commands to generate.