1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275
|
%global project_version_prime 5
%global project_version_major 4
%global project_version_minor 0
%global project_version_micro 0
%bcond dnf5_obsoletes_dnf %[0%{?fedora} > 40 || 0%{?rhel} > 10]
Name: dnf5
Version: %{project_version_prime}.%{project_version_major}.%{project_version_minor}.%{project_version_micro}
Release: 1%{?dist}
Summary: Command-line package manager
License: GPL-2.0-or-later
URL: https://github.com/rpm-software-management/dnf5
Source0: %{url}/archive/%{version}/dnf5-%{version}.tar.gz
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
%if %{without dnf5_obsoletes_dnf}
Requires: dnf-data
%endif
Recommends: (dnf5-plugins if dnf-plugins-core)
Recommends: bash-completion
Requires: coreutils
%if 0%{?fedora} > 41
Recommends: (libdnf5-plugin-expired-pgp-keys if gnupg2)
%endif
%if 0%{?fedora} || 0%{?rhel} > 10
Provides: microdnf = %{version}-%{release}
Obsoletes: microdnf < 4
%endif
%if %{with dnf5_obsoletes_dnf}
Provides: dnf = %{version}-%{release}
Obsoletes: dnf < 5
Provides: yum = %{version}-%{release}
Obsoletes: yum < 5
Conflicts: python3-dnf-plugins-core < 4.7.0
%endif
Provides: dnf5-command(advisory)
Provides: dnf5-command(autoremove)
Provides: dnf5-command(check)
Provides: dnf5-command(check-upgrade)
Provides: dnf5-command(clean)
Provides: dnf5-command(distro-sync)
Provides: dnf5-command(downgrade)
Provides: dnf5-command(download)
Provides: dnf5-command(environment)
Provides: dnf5-command(group)
Provides: dnf5-command(history)
Provides: dnf5-command(info)
Provides: dnf5-command(install)
Provides: dnf5-command(leaves)
Provides: dnf5-command(list)
Provides: dnf5-command(makecache)
Provides: dnf5-command(mark)
Provides: dnf5-command(module)
Provides: dnf5-command(offline)
Provides: dnf5-command(provides)
Provides: dnf5-command(reinstall)
Provides: dnf5-command(replay)
Provides: dnf5-command(remove)
Provides: dnf5-command(repo)
Provides: dnf5-command(repoquery)
Provides: dnf5-command(search)
Provides: dnf5-command(swap)
Provides: dnf5-command(system-upgrade)
Provides: dnf5-command(upgrade)
Provides: dnf5-command(versionlock)
# ========== build options ==========
%bcond_without dnf5daemon_client
%bcond_without dnf5daemon_server
%bcond_without libdnf_cli
%bcond_without dnf5
%bcond_without dnf5_plugins
%bcond_without plugin_actions
%bcond_without plugin_appstream
%bcond_without plugin_expired_pgp_keys
%bcond_without plugin_rhsm
%bcond_without plugin_manifest
%bcond_without python_plugins_loader
%if 0%{?rhel} >= 10
%bcond_with plugin_local
%else
%bcond_without plugin_local
%endif
%bcond_without acl
%bcond_without comps
%bcond_without modulemd
%bcond_without systemd
%bcond_with html
%if 0%{?rhel} == 8
%bcond_with man
%else
%bcond_without man
%endif
# TODO Go bindings fail to build, disable for now
%bcond_with go
%bcond_without perl5
%bcond_without python3
%bcond_without ruby
%bcond_with clang
%bcond_with sanitizers
%bcond_without tests
%bcond_with performance_tests
%bcond_with dnf5daemon_tests
# Disable SOLVER_FLAG_FOCUS_NEW only for RHEL
%if 0%{?rhel} && 0%{?rhel} < 11
%bcond_with focus_new
%else
%bcond_without focus_new
%endif
%if %{with clang}
%global toolchain clang
%endif
# ========== versions of dependencies ==========
%global libmodulemd_version 2.5.0
%global librepo_version 1.20.0
%global libsolv_version 0.7.35
%global sqlite_version 3.35.0
%global swig_version 4
# ========== build requires ==========
%if 0%{?fedora} > 40 || 0%{?rhel} > 10
BuildRequires: bash-completion-devel
%else
BuildRequires: bash-completion
%endif
BuildRequires: cmake >= 3.21
BuildRequires: doxygen
BuildRequires: gettext
BuildRequires: pkgconfig(check)
BuildRequires: pkgconfig(fmt)
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(librepo) >= %{librepo_version}
BuildRequires: pkgconfig(libsolv) >= %{libsolv_version}
BuildRequires: pkgconfig(libsolvext) >= %{libsolv_version}
BuildRequires: pkgconfig(rpm) >= 4.19.0
BuildRequires: pkgconfig(sqlite3) >= %{sqlite_version}
BuildRequires: toml11-static
BuildRequires: zlib-devel
%if %{with acl}
BuildRequires: pkgconfig(libacl)
%endif
%if %{with clang}
BuildRequires: clang
%else
BuildRequires: gcc-c++ >= 10.1
%endif
%if %{with tests}
BuildRequires: createrepo_c
BuildRequires: pkgconfig(cppunit)
BuildRequires: rpm-build
%endif
%if %{with comps}
BuildRequires: pkgconfig(libcomps)
%endif
%if %{with modulemd}
BuildRequires: pkgconfig(modulemd-2.0) >= %{libmodulemd_version}
%endif
%if %{with systemd}
BuildRequires: pkgconfig(sdbus-c++) >= 0.8.1
BuildRequires: systemd-devel
# We need to get the SYSTEMD_SYSTEM_UNIT_DIR from
# /usr/share/pkgconfig/systemd.pc
BuildRequires: systemd
%endif
%if %{with html} || %{with man}
BuildRequires: python3dist(breathe)
BuildRequires: python3dist(sphinx) >= 4.1.2
BuildRequires: python3dist(sphinx-rtd-theme)
%endif
%if %{with sanitizers}
# compiler-rt is required by sanitizers in clang
BuildRequires: compiler-rt
BuildRequires: libasan
BuildRequires: liblsan
BuildRequires: libubsan
%endif
%if %{with libdnf_cli}
# required for libdnf5-cli
BuildRequires: pkgconfig(smartcols)
%endif
%if %{with dnf5_plugins}
BuildRequires: libcurl-devel >= 7.62.0
%if %{with plugin_manifest}
BuildRequires: pkgconfig(libpkgmanifest)
%endif
%endif
%if %{with dnf5daemon_server}
# required for dnf5daemon-server
BuildRequires: pkgconfig(sdbus-c++) >= 0.9.0
BuildRequires: systemd-rpm-macros
%if %{with dnf5daemon_tests}
BuildRequires: dbus-daemon
BuildRequires: polkit
BuildRequires: python3-devel
BuildRequires: python3dist(dbus-python)
%endif
%endif
%if %{with plugin_rhsm}
BuildRequires: pkgconfig(librhsm) >= 0.0.3
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
%endif
# ========== language bindings section ==========
%if %{with perl5} || %{with ruby} || %{with python3}
BuildRequires: swig >= %{swig_version}
%endif
%if %{with perl5}
# required for perl-libdnf5 and perl-libdnf5-cli
BuildRequires: perl-devel
BuildRequires: perl-generators
%if %{with tests}
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(warnings)
BuildRequires: perl(FindBin)
%endif
%endif
%if %{with ruby}
# required for ruby-libdnf5 and ruby-libdnf5-cli
BuildRequires: pkgconfig(ruby)
%if %{with tests}
BuildRequires: rubygem-test-unit
%endif
%endif
%if %{with python3}
# required for python3-libdnf5 and python3-libdnf5-cli
BuildRequires: python3-devel
%endif
%description
DNF5 is a command-line package manager that automates the process of installing,
upgrading, configuring, and removing computer programs in a consistent manner.
It supports RPM packages, modulemd modules, and comps groups & environments.
%post
%if %{with dnf5_obsoletes_dnf}
%systemd_post dnf-makecache.timer
%else
%systemd_post dnf5-makecache.timer
%endif
%preun
%if %{with dnf5_obsoletes_dnf}
%systemd_preun dnf-makecache.timer
%else
%systemd_preun dnf5-makecache.timer
%endif
%postun
%if %{with dnf5_obsoletes_dnf}
%systemd_postun_with_restart dnf-makecache.timer
%else
%systemd_postun_with_restart dnf5-makecache.timer
%endif
%files -f dnf5.lang
%{_bindir}/dnf5
%if %{with dnf5_obsoletes_dnf}
%{_bindir}/dnf
%{_bindir}/yum
%endif
%{_unitdir}/dnf*-makecache.service
%{_unitdir}/dnf*-makecache.timer
%if 0%{?fedora} || 0%{?rhel} > 10
%{_bindir}/microdnf
%endif
%dir %{_sysconfdir}/dnf/dnf5-aliases.d
%doc %{_sysconfdir}/dnf/dnf5-aliases.d/README
%dir %{_datadir}/dnf5
%dir %{_datadir}/dnf5/aliases.d
%{_datadir}/dnf5/aliases.d/compatibility.conf
%dir %{_libdir}/dnf5
%dir %{_libdir}/dnf5/plugins
%dir %{_datadir}/dnf5/dnf5-plugins
%dir %{_sysconfdir}/dnf/dnf5-plugins
%doc %{_libdir}/dnf5/plugins/README
%dir %{_libdir}/libdnf5/plugins
%dir %{_datadir}/bash-completion/
%dir %{_datadir}/bash-completion/completions/
%{_datadir}/bash-completion/completions/dnf*
%license COPYING.md
%license gpl-2.0.txt
%doc AUTHORS.md CHANGELOG.md CONTRIBUTING.md README.md
%if %{with man}
%{_mandir}/man8/dnf5.8.*
%if %{with dnf5_obsoletes_dnf}
%{_mandir}/man8/dnf.8.*
%endif
%{_mandir}/man8/dnf*-advisory.8.*
%{_mandir}/man8/dnf*-autoremove.8.*
%{_mandir}/man8/dnf*-check.8.*
%{_mandir}/man8/dnf*-check-upgrade.8.*
%{_mandir}/man8/dnf*-clean.8.*
%{_mandir}/man8/dnf*-distro-sync.8.*
%{_mandir}/man8/dnf*-do.8.*
%{_mandir}/man8/dnf*-downgrade.8.*
%{_mandir}/man8/dnf*-download.8.*
%{_mandir}/man8/dnf*-environment.8.*
%{_mandir}/man8/dnf*-group.8.*
%{_mandir}/man8/dnf*-history.8.*
%{_mandir}/man8/dnf*-info.8.*
%{_mandir}/man8/dnf*-install.8.*
%{_mandir}/man8/dnf*-leaves.8.*
%{_mandir}/man8/dnf*-list.8.*
%{_mandir}/man8/dnf*-makecache.8.*
%{_mandir}/man8/dnf*-mark.8.*
%{_mandir}/man8/dnf*-module.8.*
%{_mandir}/man8/dnf*-offline.8.*
%{_mandir}/man8/dnf*-provides.8.*
%{_mandir}/man8/dnf*-reinstall.8.*
%{_mandir}/man8/dnf*-remove.8.*
%{_mandir}/man8/dnf*-replay.8.*
%{_mandir}/man8/dnf*-repo.8.*
%{_mandir}/man8/dnf*-repoquery.8.*
%{_mandir}/man8/dnf*-search.8.*
%{_mandir}/man8/dnf*-swap.8.*
%{_mandir}/man8/dnf*-system-upgrade.8.*
%{_mandir}/man8/dnf*-upgrade.8.*
%{_mandir}/man8/dnf*-versionlock.8.*
%{_mandir}/man7/dnf*-aliases.7.*
%{_mandir}/man7/dnf*-caching.7.*
%{_mandir}/man7/dnf*-comps.7.*
%{_mandir}/man7/dnf*-filtering.7.*
%{_mandir}/man7/dnf*-forcearch.7.*
%{_mandir}/man7/dnf*-installroot.7.*
%{_mandir}/man7/dnf*-modularity.7.*
%{_mandir}/man7/dnf*-specs.7.*
%{_mandir}/man7/dnf*-system-state.7.*
%{_mandir}/man7/dnf*-changes-from-dnf4.7.*
%{_mandir}/man5/dnf*.conf.5.*
%{_mandir}/man5/dnf*.conf-vendorpolicy*.5.*
%{_mandir}/man5/dnf*.conf-todo.5.*
%{_mandir}/man5/dnf*.conf-deprecated.5.*
%endif
%if %{with systemd}
%{_unitdir}/dnf5-offline-transaction.service
%{_unitdir}/dnf5-offline-transaction-cleanup.service
%{_unitdir}/system-update.target.wants/dnf5-offline-transaction.service
%endif
%if %{without dnf5_plugins}
%exclude %{_datadir}/dnf5/aliases.d/compatibility-plugins.conf
%exclude %{_datadir}/dnf5/aliases.d/compatibility-reposync.conf
%endif
# ========== libdnf5 ==========
%package -n libdnf5
Summary: Package management library
License: LGPL-2.1-or-later
#Requires: libmodulemd{?_isa} >= {libmodulemd_version}
Requires: libsolv%{?_isa} >= %{libsolv_version}
Requires: librepo%{?_isa} >= %{librepo_version}
Requires: sqlite-libs%{?_isa} >= %{sqlite_version}
%if %{with dnf5_obsoletes_dnf}
Conflicts: dnf-data < 4.20.0
%endif
%description -n libdnf5
Package management library.
%files -n libdnf5 -f libdnf5.lang
%if %{with dnf5_obsoletes_dnf}
%config(noreplace) %{_sysconfdir}/dnf/dnf.conf
%dir %{_sysconfdir}/dnf/vars
%dir %{_sysconfdir}/dnf/protected.d
%else
%exclude %{_sysconfdir}/dnf/dnf.conf
%endif
%ghost %attr(0644, root, root) %{_sysconfdir}/dnf/versionlock.toml
%dir %{_datadir}/dnf5/libdnf.conf.d
%dir %{_sysconfdir}/dnf/libdnf5.conf.d
%dir %{_datadir}/dnf5/repos.override.d
%dir %{_sysconfdir}/dnf/repos.override.d
%dir %{_sysconfdir}/dnf/libdnf5-plugins
%dir %{_datadir}/dnf5/repos.d
%dir %{_datadir}/dnf5/vars.d
%dir %{_datadir}/dnf5/vendors.d
%dir %{_datadir}/dnf5/libdnf.plugins.conf.d
%dir %{_sysconfdir}/dnf/vendors.d
%dir %{_libdir}/libdnf5
%{_libdir}/libdnf5.so.2*
%dir %{_prefix}/lib/sysimage/libdnf5
%attr(0755, root, root) %ghost %dir %{_prefix}/lib/sysimage/libdnf5/comps_groups
%attr(0755, root, root) %ghost %dir %{_prefix}/lib/sysimage/libdnf5/comps_groups/environments
%attr(0755, root, root) %ghost %dir %{_prefix}/lib/sysimage/libdnf5/comps_groups/groups
%verify(not md5 size mtime) %attr(0644, root, root) %ghost %{_prefix}/lib/sysimage/libdnf5/environments.toml
%verify(not md5 size mtime) %attr(0644, root, root) %ghost %{_prefix}/lib/sysimage/libdnf5/groups.toml
%verify(not md5 size mtime) %attr(0644, root, root) %ghost %{_prefix}/lib/sysimage/libdnf5/modules.toml
%verify(not md5 size mtime) %attr(0644, root, root) %ghost %{_prefix}/lib/sysimage/libdnf5/nevras.toml
%attr(0755, root, root) %ghost %dir %{_prefix}/lib/sysimage/libdnf5/offline
%verify(not md5 size mtime) %attr(0644, root, root) %ghost %{_prefix}/lib/sysimage/libdnf5/offline/offline-transaction-state.toml
%attr(0755, root, root) %ghost %dir %{_prefix}/lib/sysimage/libdnf5/offline/packages
%verify(not md5 size mtime) %attr(0644, root, root) %ghost %{_prefix}/lib/sysimage/libdnf5/offline/transaction.json
%verify(not md5 size mtime) %attr(0644, root, root) %ghost %{_prefix}/lib/sysimage/libdnf5/packages.toml
%verify(not md5 size mtime) %attr(0644, root, root) %ghost %{_prefix}/lib/sysimage/libdnf5/system.toml
%verify(not md5 size mtime) %attr(0644, root, root) %ghost %{_prefix}/lib/sysimage/libdnf5/transaction_history.sqlite{,-shm,-wal}
%verify(not md5 size mtime) %attr(0664, root, root) %ghost %{_prefix}/lib/sysimage/libdnf5/system-repo.lock
%license lgpl-2.1.txt
%ghost %attr(0755, root, root) %dir %{_var}/cache/libdnf5
%ghost %attr(0755, root, root) %dir %{_sharedstatedir}/dnf
# ========== libdnf5-cli ==========
%if %{with libdnf_cli}
%package -n libdnf5-cli
Summary: Library for working with a terminal in a command-line package manager
License: LGPL-2.1-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
%description -n libdnf5-cli
Library for working with a terminal in a command-line package manager.
%files -n libdnf5-cli -f libdnf5-cli.lang
%{_libdir}/libdnf5-cli.so.3*
%license COPYING.md
%license lgpl-2.1.txt
%endif
# ========== dnf5-devel ==========
%package -n dnf5-devel
Summary: Development files for dnf5
License: LGPL-2.1-or-later
Requires: dnf5%{?_isa} = %{version}-%{release}
Requires: libdnf5-devel%{?_isa} = %{version}-%{release}
Requires: libdnf5-cli-devel%{?_isa} = %{version}-%{release}
%description -n dnf5-devel
Development files for dnf5.
%files -n dnf5-devel
%{_includedir}/dnf5/
%license COPYING.md
%license lgpl-2.1.txt
# ========== libdnf5-devel ==========
%package -n libdnf5-devel
Summary: Development files for libdnf
License: LGPL-2.1-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: libsolv-devel%{?_isa} >= %{libsolv_version}
%description -n libdnf5-devel
Development files for libdnf.
%files -n libdnf5-devel
%{_includedir}/libdnf5/
%dir %{_libdir}/libdnf5
%{_libdir}/libdnf5.so
%{_libdir}/pkgconfig/libdnf5.pc
%license COPYING.md
%license lgpl-2.1.txt
# ========== libdnf5-cli-devel ==========
%package -n libdnf5-cli-devel
Summary: Development files for libdnf5-cli
License: LGPL-2.1-or-later
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
%description -n libdnf5-cli-devel
Development files for libdnf5-cli.
%files -n libdnf5-cli-devel
%{_includedir}/libdnf5-cli/
%{_libdir}/libdnf5-cli.so
%{_libdir}/pkgconfig/libdnf5-cli.pc
%license COPYING.md
%license lgpl-2.1.txt
# ========== perl-libdnf5 ==========
%if %{with perl5}
%package -n perl-libdnf5
Summary: Perl 5 bindings for the libdnf library
License: LGPL-2.1-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
%description -n perl-libdnf5
Perl 5 bindings for the libdnf library.
%files -n perl-libdnf5
%{perl_vendorarch}/libdnf5
%{perl_vendorarch}/auto/libdnf5
%license COPYING.md
%license lgpl-2.1.txt
%endif
# ========== perl-libdnf5-cli ==========
%if %{with perl5} && %{with libdnf_cli}
%package -n perl-libdnf5-cli
Summary: Perl 5 bindings for the libdnf5-cli library
License: LGPL-2.1-or-later
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
%description -n perl-libdnf5-cli
Perl 5 bindings for the libdnf5-cli library.
%files -n perl-libdnf5-cli
%{perl_vendorarch}/libdnf5_cli
%{perl_vendorarch}/auto/libdnf5_cli
%license COPYING.md
%license lgpl-2.1.txt
%endif
# ========== python3-libdnf5 ==========
%if %{with python3}
%package -n python3-libdnf5
Summary: Python 3 bindings for the libdnf5 library
License: LGPL-2.1-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
%description -n python3-libdnf5
Python 3 bindings for the libdnf library.
%files -n python3-libdnf5
%{python3_sitearch}/libdnf5
%{python3_sitearch}/libdnf5-*.dist-info
%license COPYING.md
%license lgpl-2.1.txt
%endif
# ========== python3-libdnf5-cli ==========
%if %{with python3} && %{with libdnf_cli}
%package -n python3-libdnf5-cli
Summary: Python 3 bindings for the libdnf5-cli library
License: LGPL-2.1-or-later
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
%description -n python3-libdnf5-cli
Python 3 bindings for the libdnf5-cli library.
%files -n python3-libdnf5-cli
%{python3_sitearch}/libdnf5_cli
%{python3_sitearch}/libdnf5_cli-*.dist-info
%license COPYING.md
%license lgpl-2.1.txt
%endif
# ========== ruby-libdnf5 ==========
%if %{with ruby}
%package -n ruby-libdnf5
Summary: Ruby bindings for the libdnf library
License: LGPL-2.1-or-later
Provides: ruby(libdnf) = %{version}-%{release}
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: ruby(release)
%description -n ruby-libdnf5
Ruby bindings for the libdnf library.
%files -n ruby-libdnf5
%{ruby_vendorarchdir}/libdnf5
%license COPYING.md
%license lgpl-2.1.txt
%endif
# ========== ruby-libdnf5-cli ==========
%if %{with ruby} && %{with libdnf_cli}
%package -n ruby-libdnf5-cli
Summary: Ruby bindings for the libdnf5-cli library
License: LGPL-2.1-or-later
Provides: ruby(libdnf_cli) = %{version}-%{release}
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
Requires: ruby(release)
%description -n ruby-libdnf5-cli
Ruby bindings for the libdnf5-cli library.
%files -n ruby-libdnf5-cli
%{ruby_vendorarchdir}/libdnf5_cli
%license COPYING.md
%license lgpl-2.1.txt
%endif
# ========== libdnf5-plugin-actions ==========
%if %{with plugin_actions}
%package -n libdnf5-plugin-actions
Summary: Libdnf5 plugin that allows to run actions (external executables) on hooks
License: LGPL-2.1-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
%description -n libdnf5-plugin-actions
Libdnf5 plugin that allows to run actions (external executables) on hooks.
%files -n libdnf5-plugin-actions -f libdnf5-plugin-actions.lang
%{_libdir}/libdnf5/plugins/actions.*
%config %{_sysconfdir}/dnf/libdnf5-plugins/actions.conf
%dir %{_sysconfdir}/dnf/libdnf5-plugins/actions.d
%if %{with man}
%{_mandir}/man8/libdnf5-actions.8.*
%endif
%endif
# ========== libdnf5-plugin-appstream ==========
%if %{with plugin_appstream}
%package -n libdnf5-plugin-appstream
Summary: Libdnf5 plugin to install repository AppStream data
License: LGPL-2.1-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
BuildRequires: pkgconfig(appstream) >= 0.16
%description -n libdnf5-plugin-appstream
Libdnf5 plugin that installs repository's AppStream data, for repositories which provide them.
%files -n libdnf5-plugin-appstream
%{_libdir}/libdnf5/plugins/appstream.so
%config %{_sysconfdir}/dnf/libdnf5-plugins/appstream.conf
%endif
# ========== libdnf5-plugin-expired-pgp-keys ==========
%if %{with plugin_expired_pgp_keys}
%package -n libdnf5-plugin-expired-pgp-keys
Summary: Libdnf5 plugin for detecting and removing expired PGP keys
License: LGPL-2.1-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: gnupg2
%if 0%{?fedora} >= 43 || 0%{?rhel} >= 11
Requires: rpm-libs%{?_isa} >= 5.99.90
%endif
%description -n libdnf5-plugin-expired-pgp-keys
Libdnf5 plugin for detecting and removing expired PGP keys.
%files -n libdnf5-plugin-expired-pgp-keys -f libdnf5-plugin-expired-pgp-keys.lang
%{_libdir}/libdnf5/plugins/expired-pgp-keys.*
%config %{_sysconfdir}/dnf/libdnf5-plugins/expired-pgp-keys.conf
%if %{with man}
%{_mandir}/man8/libdnf5-expired-pgp-keys.8.*
%endif
%endif
# ========== libdnf5-plugin-plugin_rhsm ==========
%if %{with plugin_rhsm}
%package -n libdnf5-plugin-rhsm
Summary: Libdnf5 rhsm (Red Hat Subscription Manager) plugin
License: LGPL-2.1-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
%description -n libdnf5-plugin-rhsm
Libdnf5 plugin with basic support for Red Hat subscriptions.
Synchronizes the the enrollment with the vendor system. This can change
the contents of the repositories configuration files according
to the subscription levels.
%files -n libdnf5-plugin-rhsm -f libdnf5-plugin-rhsm.lang
%{_libdir}/libdnf5/plugins/rhsm.*
%config %{_sysconfdir}/dnf/libdnf5-plugins/rhsm.conf
%endif
# ========== python3-libdnf5-plugins-loader ==========
%if %{with python_plugins_loader}
%package -n python3-libdnf5-python-plugins-loader
Summary: Libdnf5 plugin that allows loading Python plugins
License: LGPL-2.1-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: python3-libdnf5%{?_isa} = %{version}-%{release}
%description -n python3-libdnf5-python-plugins-loader
Libdnf5 plugin that allows loading Python plugins.
%files -n python3-libdnf5-python-plugins-loader
%{_libdir}/libdnf5/plugins/python_plugins_loader.*
%config %{_sysconfdir}/dnf/libdnf5-plugins/python_plugins_loader.conf
%dir %{_sysconfdir}/dnf/libdnf5-plugins/python_plugins_loader.d
%dir %{python3_sitelib}/libdnf_plugins/
%doc %{python3_sitelib}/libdnf_plugins/README
%endif
# ========== libdnf5-plugin-local ==========
%if %{with plugin_local}
%package -n libdnf5-plugin-local
Summary: Libdnf5 plugin that automatically copies all downloaded packages to a local repository
License: LGPL-2.1-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: createrepo_c
%description -n libdnf5-plugin-local
Libdnf5 plugin that automatically copies all downloaded packages to a repository on the local filesystem and generates repo metadata.
%files -n libdnf5-plugin-local
%{_libdir}/libdnf5/plugins/local.*
%config %{_sysconfdir}/dnf/libdnf5-plugins/local.conf
%if %{with man}
%{_mandir}/man8/libdnf5-local.8.*
%endif
%endif
# ========== dnf5daemon-client ==========
%if %{with dnf5daemon_client}
%package -n dnf5daemon-client
Summary: Command-line interface for dnf5daemon-server
License: GPL-2.0-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
Requires: dnf5daemon-server
%description -n dnf5daemon-client
Command-line interface for dnf5daemon-server.
%files -n dnf5daemon-client -f dnf5daemon-client.lang
%{_bindir}/dnf5daemon-client
%license COPYING.md
%license gpl-2.0.txt
%if %{with man}
%{_mandir}/man8/dnf5daemon-client.8.*
%endif
%endif
# ========== dnf5daemon-server ==========
%if %{with dnf5daemon_server}
%package -n dnf5daemon-server
Summary: Package management service with a DBus interface
License: GPL-2.0-or-later
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
Requires: dbus
Requires: polkit
%if %{without dnf5_obsoletes_dnf}
Requires: dnf-data
%endif
%description -n dnf5daemon-server
Package management service with a DBus interface.
%post -n dnf5daemon-server
%systemd_post dnf5daemon-server.service
%preun -n dnf5daemon-server
%systemd_preun dnf5daemon-server.service
%postun -n dnf5daemon-server
%systemd_postun_with_restart dnf5daemon-server.service
%files -n dnf5daemon-server -f dnf5daemon-server.lang
%config(noreplace) %{_sysconfdir}/dnf/dnf5daemon-server.conf
%{_sbindir}/dnf5daemon-server
%{_unitdir}/dnf5daemon-server.service
%{_datadir}/dbus-1/system.d/org.rpm.dnf.v0.conf
%{_datadir}/dbus-1/system-services/org.rpm.dnf.v0.service
%{_datadir}/dbus-1/interfaces/org.rpm.dnf.v0.*.xml
%{_datadir}/polkit-1/actions/org.rpm.dnf.v0.policy
%license COPYING.md
%license gpl-2.0.txt
%if %{with man}
%{_mandir}/man8/dnf5daemon-server.8.*
%{_mandir}/man8/dnf5daemon-dbus-api.8.*
%endif
# ========== dnf5daemon-server-polkit ==========
%package -n dnf5daemon-server-polkit
Summary: Polkit rule to allow wheel group members install trusted packages
License: GPL-2.0-or-later
Requires: polkit
Requires: dnf5daemon-server = %{version}-%{release}
BuildArch: noarch
%description -n dnf5daemon-server-polkit
Polkit rule to allow active local wheel group members install packages from
trusted repositories using dnf5daemon-server.
%files -n dnf5daemon-server-polkit
%{_datadir}/polkit-1/rules.d/org.rpm.dnf.v0.rules
%endif
# ========== dnf5-plugins ==========
%if %{with dnf5_plugins}
%package -n dnf5-plugins
Summary: Plugins for dnf5
License: LGPL-2.1-or-later
Requires: dnf5%{?_isa} = %{version}-%{release}
Requires: libcurl%{?_isa} >= 7.62.0
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
Provides: dnf5-command(builddep)
Provides: dnf5-command(changelog)
Provides: dnf5-command(config-manager)
Provides: dnf5-command(copr)
Provides: dnf5-command(needs-restarting)
Provides: dnf5-command(repoclosure)
Provides: dnf5-command(reposync)
Provides: dnf5-command(repomanage)
%description -n dnf5-plugins
Core DNF5 plugins that enhance dnf5 with builddep, changelog, config-manager,
copr, needs-restarting, repoclosure, repomanage, and reposync commands.
%files -n dnf5-plugins -f dnf5-plugin-builddep.lang -f dnf5-plugin-changelog.lang -f dnf5-plugin-config-manager.lang -f dnf5-plugin-copr.lang -f dnf5-plugin-needs-restarting.lang -f dnf5-plugin-repoclosure.lang -f dnf5-plugin-reposync.lang
%{_libdir}/dnf5/plugins/builddep_cmd_plugin.so
%{_libdir}/dnf5/plugins/changelog_cmd_plugin.so
%{_libdir}/dnf5/plugins/config-manager_cmd_plugin.so
%{_libdir}/dnf5/plugins/copr_cmd_plugin.so
%{_libdir}/dnf5/plugins/needs_restarting_cmd_plugin.so
%{_libdir}/dnf5/plugins/repoclosure_cmd_plugin.so
%{_libdir}/dnf5/plugins/reposync_cmd_plugin.so
%{_libdir}/dnf5/plugins/repomanage_cmd_plugin.so
%if %{with man}
%{_mandir}/man8/dnf*-builddep.8.*
%{_mandir}/man8/dnf*-changelog.8.*
%{_mandir}/man8/dnf*-config-manager.8.*
%{_mandir}/man8/dnf*-copr.8.*
%{_mandir}/man8/dnf*-needs-restarting.8.*
%{_mandir}/man8/dnf*-repoclosure.8.*
%{_mandir}/man8/dnf*-reposync.8.*
%{_mandir}/man8/dnf*-repomanage.8.*
%endif
%{_datadir}/dnf5/aliases.d/compatibility-plugins.conf
%{_datadir}/dnf5/aliases.d/compatibility-reposync.conf
# ========== dnf5-automatic plugin ==========
%package plugin-automatic
Summary: Package manager - automated upgrades
License: LGPL-2.1-or-later
Requires: dnf5%{?_isa} = %{version}-%{release}
Requires: libcurl-full%{?_isa}
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
Provides: dnf5-command(automatic)
%if %{with dnf5_obsoletes_dnf}
Provides: dnf-automatic = %{version}-%{release}
Obsoletes: dnf-automatic < 5
%else
Conflicts: dnf-automatic < 5
%endif
%description plugin-automatic
Alternative command-line interface "dnf upgrade" suitable to be executed
automatically and regularly from systemd timers, cron jobs or similar.
%files plugin-automatic -f dnf5-plugin-automatic.lang
%ghost %attr(0644, root, root) %{_sysconfdir}/motd.d/dnf5-automatic
%{_libdir}/dnf5/plugins/automatic_cmd_plugin.so
%{_datadir}/dnf5/dnf5-plugins/automatic.conf
%ghost %attr(0644, root, root) %config(noreplace) %{_sysconfdir}/dnf/automatic.conf
%ghost %attr(0644, root, root) %config(noreplace) %{_sysconfdir}/dnf/dnf5-plugins/automatic.conf
%if %{with man}
%{_mandir}/man8/dnf*-automatic.8.*
%endif
%{_unitdir}/dnf5-automatic.service
%{_unitdir}/dnf5-automatic.timer
%{_unitdir}/dnf-automatic.service
%{_unitdir}/dnf-automatic.timer
%if %{with dnf5_obsoletes_dnf}
%{_bindir}/dnf-automatic
%else
%exclude %{_bindir}/dnf-automatic
%endif
# ========== dnf5-manifest plugin ==========
%if %{with plugin_manifest}
%package plugin-manifest
Summary: DNF5 plugin for working with RPM package manifest files
License: LGPL-2.1-or-later
Requires: dnf5%{?_isa} = %{version}-%{release}
Requires: libdnf5%{?_isa} = %{version}-%{release}
Requires: libdnf5-cli%{?_isa} = %{version}-%{release}
Provides: dnf5-command(manifest)
%description plugin-manifest
DNF5 plugin for working with RPM package manifest files.
%files plugin-manifest
%{_libdir}/dnf5/plugins/manifest_cmd_plugin.so
%if %{with man}
%{_mandir}/man8/dnf*-manifest.8.*
%endif
%endif # %{with plugin_manifest}
%endif # %{with dnf5_plugins}
# ========== unpack, build, check & install ==========
%prep
%autosetup -p1 -n dnf5-%{version}
%build
%cmake \
-DPACKAGE_VERSION=%{version} \
-DPERL_INSTALLDIRS=vendor \
\
-DENABLE_SOLV_FOCUSNEW=%{?with_focus_new:ON}%{!?with_focus_new:OFF} \
\
-DWITH_DNF5DAEMON_CLIENT=%{?with_dnf5daemon_client:ON}%{!?with_dnf5daemon_client:OFF} \
-DWITH_DNF5DAEMON_SERVER=%{?with_dnf5daemon_server:ON}%{!?with_dnf5daemon_server:OFF} \
-DWITH_LIBDNF5_CLI=%{?with_libdnf_cli:ON}%{!?with_libdnf_cli:OFF} \
-DWITH_DNF5=%{?with_dnf5:ON}%{!?with_dnf5:OFF} \
-DWITH_DNF5_OBSOLETES_DNF=%{?with_dnf5_obsoletes_dnf:ON}%{!?with_dnf5_obsoletes_dnf:OFF} \
-DWITH_DNF5_PLUGINS=%{?with_dnf5_plugins:ON}%{!?with_dnf5_plugins:OFF} \
-DWITH_PLUGIN_ACTIONS=%{?with_plugin_actions:ON}%{!?with_plugin_actions:OFF} \
-DWITH_PLUGIN_APPSTREAM=%{?with_plugin_appstream:ON}%{!?with_plugin_appstream:OFF} \
-DWITH_PLUGIN_EXPIRED_PGP_KEYS=%{?with_plugin_expired_pgp_keys:ON}%{!?with_plugin_expired_pgp_keys:OFF} \
-DWITH_PLUGIN_RHSM=%{?with_plugin_rhsm:ON}%{!?with_plugin_rhsm:OFF} \
-DWITH_PLUGIN_MANIFEST=%{?with_plugin_manifest:ON}%{!?with_plugin_manifest:OFF} \
-DWITH_PYTHON_PLUGINS_LOADER=%{?with_python_plugins_loader:ON}%{!?with_python_plugins_loader:OFF} \
\
-DWITH_ACL=%{?with_acl:ON}%{!?with_acl:OFF} \
-DWITH_COMPS=%{?with_comps:ON}%{!?with_comps:OFF} \
-DWITH_MODULEMD=%{?with_modulemd:ON}%{!?with_modulemd:OFF} \
-DWITH_SYSTEMD=%{?with_systemd:ON}%{!?with_systemd:OFF} \
\
-DWITH_HTML=%{?with_html:ON}%{!?with_html:OFF} \
-DWITH_MAN=%{?with_man:ON}%{!?with_man:OFF} \
\
-DWITH_GO=%{?with_go:ON}%{!?with_go:OFF} \
-DWITH_PERL5=%{?with_perl5:ON}%{!?with_perl5:OFF} \
-DWITH_PYTHON3=%{?with_python3:ON}%{!?with_python3:OFF} \
-DWITH_RUBY=%{?with_ruby:ON}%{!?with_ruby:OFF} \
\
-DWITH_SANITIZERS=%{?with_sanitizers:ON}%{!?with_sanitizers:OFF} \
-DWITH_TESTS=%{?with_tests:ON}%{!?with_tests:OFF} \
-DWITH_PERFORMANCE_TESTS=%{?with_performance_tests:ON}%{!?with_performance_tests:OFF} \
-DWITH_DNF5DAEMON_TESTS=%{?with_dnf5daemon_tests:ON}%{!?with_dnf5daemon_tests:OFF} \
\
-DVERSION_PRIME=%{project_version_prime} \
-DVERSION_MAJOR=%{project_version_major} \
-DVERSION_MINOR=%{project_version_minor} \
-DVERSION_MICRO=%{project_version_micro}
%cmake_build
%if %{with man}
%cmake_build --target doc-man
%endif
%check
%if %{with tests}
%ctest
%endif
%install
%cmake_install
%if %{with dnf5_obsoletes_dnf}
ln -sr %{buildroot}%{_bindir}/dnf5 %{buildroot}%{_bindir}/dnf
ln -sr %{buildroot}%{_bindir}/dnf5 %{buildroot}%{_bindir}/yum
ln -sr %{buildroot}%{_datadir}/bash-completion/completions/dnf5 %{buildroot}%{_datadir}/bash-completion/completions/dnf
%if %{with man}
for file in %{buildroot}%{_mandir}/man[578]/dnf5[-.]*; do
dir=$(dirname $file)
filename=$(basename $file)
ln -sr $file $dir/${filename/dnf5/dnf}
done
%endif
# Make "dnf-makecache" the "real" unit name, but keep compatibility for playbooks that refer to dnf5-makecache
mv %{buildroot}%{_unitdir}/dnf5-makecache.service %{buildroot}%{_unitdir}/dnf-makecache.service
mv %{buildroot}%{_unitdir}/dnf5-makecache.timer %{buildroot}%{_unitdir}/dnf-makecache.timer
ln -s dnf-makecache.service %{buildroot}%{_unitdir}/dnf5-makecache.service
ln -s dnf-makecache.timer %{buildroot}%{_unitdir}/dnf5-makecache.timer
%endif
# own dirs and files that dnf5 creates on runtime
mkdir -p %{buildroot}%{_prefix}/lib/sysimage/libdnf5
for file in \
environments.toml groups.toml modules.toml nevras.toml packages.toml \
system.toml \
transaction_history.sqlite transaction_history.sqlite-shm \
transaction_history.sqlite-wal \
system-repo.lock
do
touch %{buildroot}%{_prefix}/lib/sysimage/libdnf5/$file
done
mkdir -p %{buildroot}%{_prefix}/lib/sysimage/libdnf5/comps_groups
mkdir -p %{buildroot}%{_prefix}/lib/sysimage/libdnf5/offline
touch %{buildroot}%{_sysconfdir}/dnf/versionlock.toml
%if 0%{?fedora} || 0%{?rhel} > 10
ln -sr %{buildroot}%{_bindir}/dnf5 %{buildroot}%{_bindir}/microdnf
%endif
%if %{with systemd}
mkdir -p %{buildroot}%{_unitdir}/system-update.target.wants/
pushd %{buildroot}%{_unitdir}/system-update.target.wants/
ln -sr ../dnf5-offline-transaction.service
popd
%endif
mkdir -p %{buildroot}%{_libdir}/libdnf5/plugins
%find_lang dnf5
%if %{with dnf5_plugins}
%find_lang dnf5-plugin-automatic
%find_lang dnf5-plugin-builddep
%find_lang dnf5-plugin-changelog
%find_lang dnf5-plugin-config-manager
%find_lang dnf5-plugin-copr
%find_lang dnf5-plugin-needs-restarting
%find_lang dnf5-plugin-repoclosure
%find_lang dnf5-plugin-reposync
%endif
%if %{with dnf5daemon_client}
%find_lang dnf5daemon-client
%endif
%if %{with dnf5daemon_server}
%find_lang dnf5daemon-server
%endif
%find_lang libdnf5
%if %{with libdnf_cli}
%find_lang libdnf5-cli
%endif
%if %{with plugin_actions}
%find_lang libdnf5-plugin-actions
%endif
%if %{with plugin_expired_pgp_keys}
%find_lang libdnf5-plugin-expired-pgp-keys
%endif
%if %{with plugin_rhsm}
%find_lang libdnf5-plugin-rhsm
%endif
%ldconfig_scriptlets
%changelog
* Mon Feb 16 2026 Packit Team <hello@packit.dev> - 5.4.0.0-1
- New upstream release 5.4.0.0
* Fri Nov 21 2025 Petr Pisar <ppisar@redhat.com> - 5.3.1.0-2
- Postrelease version bump
* Tue Nov 04 2025 Packit Team <hello@packit.dev> - 5.3.0.0-1
- New upstream release 5.3.0.0
* Tue Sep 02 2025 Packit Team <hello@packit.dev> - 5.2.17.0-1
- New upstream release 5.2.17.0
* Thu Aug 07 2025 Packit Team <hello@packit.dev> - 5.2.16.0-1
- New upstream release 5.2.16.0
* Fri Jul 11 2025 Packit Team <hello@packit.dev> - 5.2.15.0-1
- New upstream release 5.2.15.0
* Fri Jun 20 2025 Packit Team <hello@packit.dev> - 5.2.14.0-1
- New upstream release 5.2.14.0
* Wed Apr 23 2025 Packit Team <hello@packit.dev> - 5.2.13.1-1
- New upstream release 5.2.13.1
* Mon Apr 21 2025 Packit Team <hello@packit.dev> - 5.2.13.0-1
- New upstream release 5.2.13.0
* Tue Mar 18 2025 Packit Team <hello@packit.dev> - 5.2.12.0-1
- New upstream release 5.2.12.0
* Fri Mar 07 2025 Packit Team <hello@packit.dev> - 5.2.11.0-1
- New upstream release 5.2.11.0
* Thu Feb 06 2025 Packit Team <hello@packit.dev> - 5.2.10.0-1
- New upstream release 5.2.10.0
* Tue Feb 04 2025 Packit Team <hello@packit.dev> - 5.2.9.0-1
- New upstream release 5.2.9.0
* Thu Dec 05 2024 Packit Team <hello@packit.dev> - 5.2.8.1-1
- New upstream release 5.2.8.1
* Mon Dec 02 2024 Packit Team <hello@packit.dev> - 5.2.8.0-1
- New upstream release 5.2.8.0
* Tue Nov 12 2024 Packit Team <hello@packit.dev> - 5.2.7.0-1
- New upstream release 5.2.7.0
* Fri Sep 20 2024 Packit Team <hello@packit.dev> - 5.2.6.2-1
- New upstream release 5.2.6.2
* Thu Sep 19 2024 Packit Team <hello@packit.dev> - 5.2.6.1-1
- New upstream release 5.2.6.1
* Mon Sep 09 2024 Packit Team <hello@packit.dev> - 5.2.6.0-1
- New upstream release 5.2.6.0
* Tue Jul 23 2024 Packit Team <hello@packit.dev> - 5.2.5.0-1
- New upstream release 5.2.5.0
* Wed Jun 26 2024 Packit Team <hello@packit.dev> - 5.2.4.0-1
- New upstream release 5.2.4.0
* Mon Jun 03 2024 Packit Team <hello@packit.dev> - 5.2.3.0-1
- New upstream release 5.2.3.0
* Tue May 28 2024 Packit Team <hello@packit.dev> - 5.2.2.0-1
- New upstream release 5.2.2.0
* Mon May 06 2024 Packit Team <hello@packit.dev> - 5.2.1.0-1
- New upstream release 5.2.1.0
* Wed Apr 24 2024 Packit Team <hello@packit.dev> - 5.2.0.0-1
- New upstream release 5.2.0.0
* Wed Apr 03 2024 Packit Team <hello@packit.dev> - 5.1.17-1
- New upstream release 5.1.17
* Tue Apr 02 2024 Packit Team <hello@packit.dev> - 5.1.16-1
- New upstream release 5.1.16
* Fri Mar 15 2024 Packit Team <hello@packit.dev> - 5.1.15-1
- New upstream release 5.1.15
* Fri Mar 01 2024 Packit Team <hello@packit.dev> - 5.1.14-1
- New upstream release 5.1.14
* Tue Feb 20 2024 Packit Team <hello@packit.dev> - 5.1.13-1
- New upstream release 5.1.13
* Fri Feb 09 2024 Packit Team <hello@packit.dev> - 5.1.12-1
- New upstream release 5.1.12
* Thu Jan 11 2024 Packit Team <hello@packit.dev> - 5.1.11-1
- New upstream release 5.1.11
* Tue Jan 02 2024 Packit Team <hello@packit.dev> - 5.1.10-1
- New upstream release 5.1.10
* Fri Dec 08 2023 Packit Team <hello@packit.dev> - 5.1.9-1
- New upstream release 5.1.9
* Fri Nov 24 2023 Packit Team <hello@packit.dev> - 5.1.8-1
- New upstream release 5.1.8
* Thu Nov 09 2023 Packit Team <hello@packit.dev> - 5.1.7-1
- New upstream release 5.1.7
* Thu Oct 26 2023 Packit Team <hello@packit.dev> - 5.1.6-1
- New upstream release 5.1.6
* Thu Oct 05 2023 Packit Team <hello@packit.dev> - 5.1.5-1
- New upstream release 5.1.5
* Mon Sep 18 2023 Packit Team <hello@packit.dev> - 5.1.4-1
- New upstream release 5.1.4
* Tue Sep 12 2023 Packit Team <hello@packit.dev> - 5.1.3-1
- New upstream release 5.1.3
* Wed Aug 16 2023 Packit Team <hello@packit.dev> - 5.1.2-1
- New upstream release 5.1.2
* Fri Aug 04 2023 Packit Team <hello@packit.dev> - 5.1.1-1
- New upstream release 5.1.1
* Mon Jul 17 2023 Packit Team <hello@packit.dev> - 5.1.0-1
- New upstream release 5.1.0
* Thu Jun 29 2023 Packit Team <hello@packit.dev> - 5.0.15-1
- New upstream release 5.0.15
* Wed Jun 14 2023 Packit Team <hello@packit.dev> - 5.0.14-1
- New upstream release 5.0.14
* Mon May 29 2023 Packit Team <hello@packit.dev> - 5.0.13-1
- New upstream release 5.0.13
* Thu May 25 2023 Packit Team <hello@packit.dev> - 5.0.12-1
- New upstream release 5.0.12
* Thu May 18 2023 Packit Team <hello@packit.dev> - 5.0.11-1
- New upstream release 5.0.11
* Tue May 09 2023 Packit Team <hello@packit.dev> - 5.0.10-1
- New upstream release 5.0.10
* Tue Apr 18 2023 Nicola Sella <nsella@redhat.com> - 5.0.9-1
- New upstream release 5.0.9
* Thu Apr 13 2023 Nicola Sella <nsella@redhat.com> - 5.0.8-1
- New upstream release 5.0.8
* Wed Mar 8 2023 Nicola Sella <nsella@redhat.com> - 5.0.7-1
- New upstream release 5.0.7
* Tue Feb 14 2023 Nicola Sella <nsella@redhat.com> - 5.0.6-1
- New upstream release 5.0.6
* Thu Jan 26 2023 Nicola Sella <nsella@redhat.com> - 5.0.5-1
- New upstream release 5.0.5
* Thu Jan 12 2023 Nicola Sella <nsella@redhat.com> - 5.0.4-1
- New upstream release 5.0.4
* Wed Jan 04 2023 Nicola Sella <nsella@redhat.com> - 5.0.3-1
- New upstream release 5.0.3
* Thu Dec 08 2022 Nicola Sella <nsella@redhat.com> - 5.0.2-1
- New upstream release 5.0.2
* Thu Nov 24 2022 Nicola Sella <nsella@redhat.com> - 5.0.1-1
- New upstream release 5.0.1
* Wed Nov 2 2022 Nicola Sella <nsella@redhat.com> - 5.0.0-2~pre
- New upstream pre release 5.0.0
* Mon Oct 31 2022 Nicola Sella <nsella@redhat.com> - 5.0.0-1~pre
- New upstream pre release 5.0.0
* Fri Sep 16 2022 Nicola Sella - <nsella@redhat.com> - 5.0.0-0~pre
- New upstream pre release 5.0.0
|