commit 013e378f77963eea858f8c8bdb36c758969ca2b7
Author: Jan RÄ™korajski <[email protected]>
Date:   Mon Feb 22 13:21:10 2021 +0100

    - added rpm5 bcond
    - rel 9

 ruby-rpm.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/ruby-rpm.spec b/ruby-rpm.spec
index 87ec750..985f94b 100644
--- a/ruby-rpm.spec
+++ b/ruby-rpm.spec
@@ -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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-rpm.git/commitdiff/013e378f77963eea858f8c8bdb36c758969ca2b7

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to