]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- bconded distver patch (default off, agreed with author)
authortwittner <twittner@pld-linux.org>
Sat, 18 Sep 2004 21:14:07 +0000 (21:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.spec -> 1.592

rpm.spec

index 9d1d2966efbb7fe10b66723f4ae47377652aa129..5c32536de4f35d15f9ab4989b71609cf6c2c40ca 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -5,6 +5,7 @@
 # - after ac drop amd64 patch and make x86_64 generic arch + subarchs amd64 and ia32e
 # 
 # Conditional build:
+%bcond_with    distver # build with distversion field
 %bcond_with    static  # build static rpmi (not supported at the moment)
 %bcond_without apidocs # don't generate documentation with doxygen
 %bcond_without pkgnameinautoreq        # don't put package name in autogenerated dependancy
@@ -449,7 +450,7 @@ Summary(pl):        Biblioteki RPM-a
 Group:         Libraries
 Requires:      db >= %{reqdb_ver}
 Requires:      popt >= %{reqpopt_ver}
-Provides:      rpm-lib(distver)
+%{?with_distver:Provides:      rpm-lib(distver)}
 # avoid SEGV caused by mixed db versions
 Conflicts:     poldek < 0.18.1-16
 
@@ -630,7 +631,7 @@ cat %{SOURCE11} >> macros.in
 %patch44 -p1
 %patch45 -p1
 %patch46 -p1
-%patch47 -p1
+%{?with_distver:%patch47 -p1}
 %patch100 -p1
 %patch3 -p1
 
This page took 0.055692 seconds and 4 git commands to generate.