3f8142 - Fix build when systemd is not installed (duh)

Authored and Committed by Panu Matilainen 6 years ago
1 file changed. 4 lines added. 0 lines removed.
    - Fix build when systemd is not installed (duh)
    
        
file modified
+4 -0
rpm.spec CHANGED
@@ -32,6 +32,9 @@
32
32
%define bdbver 5.3.15
33
33
%define dbprefix db
34
34
35
+ # Build-dependency on systemd for the sake of one macro would be a bit much...
36
+ %{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
37
+
35
38
Summary: The RPM package management system
36
39
Name: rpm
37
40
Version: %{rpmver}
@@ -586,6 +589,7 @@ make check || cat tests/rpmtests.log
586
589
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-5
587
590
- Own all rpmdb files and ensure the list remains up to date
588
591
- Drop redundant verify exclusions on rpmdb ghosts
592
+ - Fix build when systemd is not installed (duh)
589
593
590
594
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-4
591
595
- Erm, really use the macro for tmpfiles.d path