mcepl pushed to ldapvi (f21). "Add popt-devel BR even for RHEL-7 (#1161952)"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Apr 12 23:40:16 UTC 2015


>From e04e40832d929f1ccddc7a62f34fb02fa6bde89e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl at cepl.eu>
Date: Mon, 13 Apr 2015 00:14:23 +0200
Subject: Add popt-devel BR even for RHEL-7 (#1161952)


diff --git a/ldapvi.spec b/ldapvi.spec
index 903bcc3..6c9cd5e 100644
--- a/ldapvi.spec
+++ b/ldapvi.spec
@@ -1,6 +1,6 @@
 Name:           ldapvi
 Version:        1.7
-Release:        19%{?dist}
+Release:        20%{?dist}
 Summary:        An interactive LDAP client
 
 Group:          Applications/Editors
@@ -24,7 +24,7 @@ BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 BuildRequires:  openldap-devel, ncurses-devel, readline-devel, pkgconfig
 BuildRequires:  libxslt, glib2-devel, openssl-devel
-%if 0%{?rhel}
+%if 0%{?rhel} <= 7
 BuildRequires: popt
 %else
 BuildRequires: popt-devel
@@ -32,7 +32,7 @@ BuildRequires: popt-devel
 
 %description
 ldapvi is an interactive LDAP client for Unix terminals. Using it, you can
-update LDAP entries with a text editor, which is the same as vi. Think of 
+update LDAP entries with a text editor, which is the same as vi. Think of
 it as vipw(1) for LDAP.
 
 %prep
@@ -61,13 +61,16 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc NEWS COPYING manual/bg.png 
+%doc NEWS COPYING manual/bg.png
 %doc manual/manual.html manual/manual.css
 %{_mandir}/man1/ldapvi.1.gz
 %{_bindir}/ldapvi
 
 
 %changelog
+* Mon Apr 13 2015 Matej Cepl <mcepl at redhat.com> - 1.7-20
+- Add popt-devel BR even for RHEL-7 (#1161952)
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/ldapvi.git/commit/?h=f21&id=e04e40832d929f1ccddc7a62f34fb02fa6bde89e


More information about the scm-commits mailing list