LINBIT / drbd-utils

DRBD userspace utilities (for 9.x, 8.4, 8.3)
GNU General Public License v2.0
78 stars 46 forks source link

RPM build is broken #33

Closed aza547 closed 11 months ago

aza547 commented 11 months ago

Hi,

This commit https://github.com/LINBIT/drbd-utils/commit/c3ac818ae41e1c20ed010f985b3c4d082f9d969f removed the RPM targets in the Makefile.

As such, the instructions in the docs to run make rpm are no longer valid for the latest versions. How should RPMs be built?

Thanks,

rck commented 11 months ago

If you use a release tarball it basically boils down to

./configure --with-prebuiltman --enable-spec
rpmbuild --with prebuiltman -bb drbd.spec

Otherwise I suggest you just take a look what people do that know packaging: centos, fedora, opensuse, whatever is close to what you want to do