#2241 sssd spec suffers from Double separator '-' error
Closed: Invalid None Opened 10 years ago by jhrozek.

Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1064435

the rawhide sssd spec suffers from the Double separator '-' error being
enforced by more recent RPM versions.

error: line 85: Double separator '-' in: samba4-4.0.0-59beta2: BuildRequires:
samba4-devel >= samba4-4.0.0-59beta2
error: query of specfile /ppc64le/stage3/fedora-git/sssd/sssd.spec failed,
can't parse

A simple fix is provided below.

[baude@localhost sssd]$ git diff
diff --git a/sssd.spec b/sssd.spec
index c7259f8..c2241b0 100644
--- a/sssd.spec
+++ b/sssd.spec
@@ -82,7 +82,7 @@ BuildRequires: pkgconfig
 BuildRequires: glib2-devel
 BuildRequires: diffstat
 BuildRequires: findutils
-BuildRequires: samba4-devel >= samba4-4.0.0-59beta2
+BuildRequires: samba4-devel >= 4.0.0-59beta2
 BuildRequires: selinux-policy-targeted
 %ifarch %{ix86} x86_64 %{arm}
 BuildRequires: libcmocka-devel

We do not have a problem in upstream spec file.

sh-4.2$ git log -1 --pretty=format:%H
e81deec535d11912b87954c81a1edd768c1386c9

sh-4.2$ grep samba contrib/sssd.spec.in 
# RHEL 5 is too old to support samba4 and the PAC responder
BuildRequires: samba4-devel

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
resolution: => invalid
review: True => 0
selected: =>
status: new => closed
testsupdated: => 0

Metadata Update from @jhrozek:
- Issue set to the milestone: NEEDS_TRIAGE

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3283

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata