[Bug 828188] Review Request: reprepro - Debian package repository producer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=828188

Greg Swift <gregswift@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gregswift@xxxxxxxxx

--- Comment #12 from Greg Swift <gregswift@xxxxxxxxx> ---
I had the need to build a debian repo on my rhel environment today and found
this so I went to build the latest version of the SPEC (I included the bzip2
and removed the RPM_OPT_FLAGS).

Upon initial --rebuild of srpm on my centos6 box:

$ rpmbuild --rebuild -ba srpms/reprepro-4.12.3-3.fc16.src.rpm 
Installing srpms/reprepro-4.12.3-3.fc16.src.rpm
warning: user caps does not exist - using root
warning: group caps does not exist - using root
warning: user caps does not exist - using root
warning: group caps does not exist - using root
error: Failed build dependencies:
    libdb-devel is needed by reprepro-4.12.3-3.el6.x86_64

so:

1: If you're planning on supporting rhel as well you might wrap the db-devel
Build requires in a conditional block?  Considering rhel6 will probably be the
last to have it I'd do something like:

%if 0%{?rhel} <= 6
BuildRequires: db4-devel
%else
BuildRequires: libdb-devel
%endif

2: (for someone aside from sebastien) Now that defattr doesn't get defined, we
get those user errors over in rhel land... should that also be wrapped in a
conditional block if you want to support both?


I also did not see the sha256 warnings mentioned in comment 10

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]