diff --git a/.gitignore b/.gitignore index 6c4f2dc6..243a54fe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,462 +1 @@ -/vim-7.4.tar.bz2 -/vim-7.4-2342.tar.bz2 -/vim-8.0-003.tar.bz2 -/vim-8.0-018.tar.bz2 -/vim-8.0-037.tar.bz2 -/vim-8.0-057.tar.bz2 -/vim-8.0-061.tar.bz2 -/vim-8.0-000.tar.bz2 -/vim-8.0-070.tar.bz2 -/vim-8.0-084.tar.bz2 -/vim-8.0-085.tar.bz2 -/vim-8.0-086.tar.bz2 -/vim-8.0-094.tar.bz2 -/vim-8.0-095.tar.bz2 -/vim-8.0-104.tar.bz2 -/vim-8.0-118.tar.bz2 -/vim-8.0-124.tar.bz2 -/vim-8.0-133.tar.bz2 -/vim-8.0-134.tar.bz2 -/vim-8.0-142.tar.bz2 -/vim-8.0-160.tar.bz2 -/vim-8.0-170.tar.bz2 -/vim-8.0-172.tar.bz2 -/vim-8.0-176.tar.bz2 -/vim-8.0-194.tar.bz2 -/vim-8.0-197.tar.bz2 -/vim-8.0-206.tar.bz2 -/vim-8.0-238.tar.bz2 -/vim-8.0-271.tar.bz2 -/vim-8.0-273.tar.bz2 -/vim-8.0-275.tar.bz2 -/vim-8.0-297.tar.bz2 -/vim-8.0-311.tar.bz2 -/vim-8.0-314.tar.bz2 -/vim-8.0-318.tar.bz2 -/vim-8.0-324.tar.bz2 -/vim-8.0-329.tar.bz2 -/vim-8.0-342.tar.bz2 -/vim-8.0-344.tar.bz2 -/vim-8.0-347.tar.bz2 -/vim-8.0-363.tar.bz2 -/vim-8.0-381.tar.bz2 -/vim-8.0-386.tar.bz2 -/vim-8.0-388.tar.bz2 -/vim-8.0-398.tar.bz2 -/vim-8.0-402.tar.bz2 -/vim-8.0-425.tar.bz2 -/vim-8.0-427.tar.bz2 -/vim-8.0-430.tar.bz2 -/vim-8.0-442.tar.bz2 -/vim-8.0-456.tar.bz2 -/vim-8.0-458.tar.bz2 -/vim-8.0-494.tar.bz2 -/vim-8.0-497.tar.bz2 -/vim-8.0-502.tar.bz2 -/vim-8.0-503.tar.bz2 -/vim-8.0-514.tar.bz2 -/vim-8.0-515.tar.bz2 -/vim-8.0-517.tar.bz2 -/vim-8.0-525.tar.bz2 -/vim-8.0-529.tar.bz2 -/vim-8.0-540.tar.bz2 -/vim-8.0-543.tar.bz2 -/vim-8.0-559.tar.bz2 -/vim-8.0-562.tar.bz2 -/vim-8.0-566.tar.bz2 -/vim-8.0-586.tar.bz2 -/vim-8.0-596.tar.bz2 -/vim-8.0-597.tar.bz2 -/vim-8.0-598.tar.bz2 -/vim-8.0-599.tar.bz2 -/vim-8.0-600.tar.bz2 -/vim-8.0-604.tar.bz2 -/vim-8.0-606.tar.bz2 -/vim-8.0-617.tar.bz2 -/vim-8.0-627.tar.bz2 -/vim-8.0-628.tar.bz2 -/vim-8.0-636.tar.bz2 -/vim-8.0-642.tar.bz2 -/vim-8.0-647.tar.bz2 -/vim-8.0-648.tar.bz2 -/vim-8.0-662.tar.bz2 -/vim-8.0-679.tar.bz2 -/vim-8.0-685.tar.bz2 -/vim-8.0-688.tar.bz2 -/vim-8.0-691.tar.bz2 -/vim-8.0-705.tar.bz2 -/vim-8.0-711.tar.bz2 -/vim-8.0-728.tar.bz2 -/vim-8.0-730.tar.bz2 -/vim-8.0-738.tar.bz2 -/vim-8.0-739.tar.bz2 -/vim-8.0-823.tar.bz2 -/vim-8.0-826.tar.bz2 -/vim-8.0-844.tar.bz2 -/vim-8.0-885.tar.bz2 -/vim-8.0-891.tar.bz2 -/vim-8.0-893.tar.bz2 -/vim-8.0-895.tar.bz2 -/vim-8.0-896.tar.bz2 -/vim-8.0-938.tar.bz2 -/vim-8.0-946.tar.bz2 -/vim-8.0-956.tar.bz2 -/vim-8.0-983.tar.bz2 -/vim-8.0-987.tar.bz2 -/vim-8.0-992.tar.bz2 -/vim-8.0-1030.tar.bz2 -/vim-8.0-1052.tar.bz2 -/vim-8.0-1056.tar.bz2 -/vim-8.0-1064.tar.bz2 -/vim-8.0-1067.tar.bz2 -/vim-8.0-1071.tar.bz2 -/vim-8.0-1092.tar.bz2 -/vim-8.0-1097.tar.bz2 -/vim-8.0-1098.tar.bz2 -/vim-8.0-1102.tar.bz2 -/vim-8.0-1123.tar.bz2 -/vim-8.0-1127.tar.bz2 -/vim-8.0-1129.tar.bz2 -/vim-8.0-1132.tar.bz2 -/vim-8.0-1144.tar.bz2 -/vim-8.0-1155.tar.bz2 -/vim-8.0-1171.tar.bz2 -/vim-8.0-1173.tar.bz2 -/vim-8.0-1175.tar.bz2 -/vim-8.0-1176.tar.bz2 -/vim-8.0-1184.tar.bz2 -/vim-8.0-1187.tar.bz2 -/vim-8.0-1203.tar.bz2 -/vim-8.0-1207.tar.bz2 -/vim-8.0-1213.tar.bz2 -/vim-8.0-1216.tar.bz2 -/vim-8.0-1226.tar.bz2 -/vim-8.0-1238.tar.bz2 -/vim-8.0-1240.tar.bz2 -/vim-8.0-1241.tar.bz2 -/vim-8.0-1257.tar.bz2 -/vim-8.0-1272.tar.bz2 -/vim-8.0-1274.tar.bz2 -/vim-8.0-1283.tar.bz2 -/vim-8.0-1322.tar.bz2 -/vim-8.0-1326.tar.bz2 -/vim-8.0-1330.tar.bz2 -/vim-8.0-1349.tar.bz2 -/vim-8.0-1351.tar.bz2 -/vim-8.0-1358.tar.bz2 -/vim-8.0-1359.tar.bz2 -/vim-8.0-1360.tar.bz2 -/vim-8.0-1367.tar.bz2 -/vim-8.0-1376.tar.bz2 -/vim-8.0-1379.tar.bz2 -/vim-8.0-1386.tar.bz2 -/vim-8.0-1387.tar.bz2 -/vim-8.0-1389.tar.bz2 -/vim-8.0-1390.tar.bz2 -/vim-8.0-1401.tar.bz2 -/vim-8.0-1406.tar.bz2 -/vim-8.0-1427.tar.bz2 -/vim-8.0-1428.tar.bz2 -/vim-8.0-1438.tar.bz2 -/vim-8.0-1451.tar.bz2 -/vim-8.0-1473.tar.bz2 -/vim-8.0-1475.tar.bz2 -/vim-8.0-1478.tar.bz2 -/vim-8.0-1505.tar.bz2 -/vim-8.0-1509.tar.bz2 -/vim-8.0-1520.tar.bz2 -/vim-8.0-1523.tar.bz2 -/vim-8.0-1527.tar.bz2 -/vim-8.0-1543.tar.bz2 -/vim-8.0-1553.tar.bz2 -/vim-8.0-1569.tar.bz2 -/vim-8.0-1573.tar.bz2 -/vim-8.0-1587.tar.bz2 -/vim-8.0-1589.tar.bz2 -/vim-8.0-1591.tar.bz2 -/vim-8.0-1599.tar.bz2 -/vim-8.0-1603.tar.bz2 -/vim-8.0-1605.tar.bz2 -/vim-8.0-1625.tar.bz2 -/vim-8.0-1630.tar.bz2 -/vim-8.0-1661.tar.bz2 -/vim-8.0-1666.tar.bz2 -/vim-8.0-1679.tar.bz2 -/vim-8.0-1704.tar.bz2 -/vim-8.0-1755.tar.bz2 -/vim-8.0-1763.tar.bz2 -/vim-8.0-1765.tar.bz2 -/vim-8.0-1766.tar.bz2 -/vim-8.0-1787.tar.bz2 -/vim-8.0-1788.tar.bz2 -/vim-8.0-1789.tar.bz2 -/vim-8.0-1806.tar.bz2 -/vim-8.0-1813.tar.bz2 -/vim-8.0-1842.tar.bz2 -/vim-8.0-1848.tar.bz2 -/vim-8.1-001.tar.bz2 -/vim-8.1-010.tar.bz2 -/vim-8.1-016.tar.bz2 -/vim-8.1-020.tar.bz2 -/vim-8.1-022.tar.bz2 -/vim-8.1-026.tar.bz2 -/vim-8.1-034.tar.bz2 -/vim-8.1-035.tar.bz2 -/vim-8.1-039.tar.bz2 -/vim-8.1-042.tar.bz2 -/vim-8.1-055.tar.bz2 -/vim-8.1-072.tar.bz2 -/vim-8.1-095.tar.bz2 -/vim-8.1-115.tar.bz2 -/vim-8.1-117.tar.bz2 -/vim-8.1-119.tar.bz2 -/vim-8.1-177.tar.bz2 -/vim-8.1-189.tar.bz2 -/vim-8.1-197.tar.bz2 -/vim-8.1-207.tar.bz2 -/vim-8.1-209.tar.bz2 -/vim-8.1-213.tar.bz2 -/vim-8.1-229.tar.bz2 -/vim-8.1-233.tar.bz2 -/vim-8.1-240.tar.bz2 -/vim-8.1-254.tar.bz2 -/vim-8.1-258.tar.bz2 -/vim-8.1-264.tar.bz2 -/vim-8.1-279.tar.bz2 -/vim-8.1-287.tar.bz2 -/vim-8.1-328.tar.bz2 -/vim-8.1-351.tar.bz2 -/vim-8.1-408.tar.bz2 -/vim-8.1-450.tar.bz2 -/vim-8.1-451.tar.bz2 -/vim-8.1-483.tar.bz2 -/vim-8.1-497.tar.bz2 -/vim-8.1-511.tar.bz2 -/vim-8.1-513.tar.bz2 -/vim-8.1-527.tar.bz2 -/vim-8.1-549.tar.bz2 -/vim-8.1-575.tar.bz2 -/vim-8.1-702.tar.bz2 -/vim-8.1-714.tar.bz2 -/vim-8.1-789.tar.bz2 -/vim-8.1-818.tar.bz2 -/vim-8.1-837.tar.bz2 -/vim-8.1-847.tar.bz2 -/vim-8.1-873.tar.bz2 -/vim-8.1-880.tar.bz2 -/vim-8.1-897.tar.bz2 -/vim-8.1-918.tar.bz2 -/vim-8.1-956.tar.bz2 -/vim-8.1-994.tar.bz2 -/vim-8.1-998.tar.bz2 -/vim-8.1-1048.tar.bz2 -/vim-8.1-1099.tar.bz2 -/vim-8.1-1137.tar.bz2 -/vim-8.1-1359.tar.bz2 -/vim-8.1-1413.tar.bz2 -/vim-8.1-1471.tar.bz2 -/vim-8.1-1517.tar.bz2 -/vim-8.1-1561.tar.bz2 -/vim-8.1-1602.tar.bz2 -/vim-8.1-1661.tar.bz2 -/vim-8.1-1713.tar.bz2 -/vim-8.1-1749.tar.bz2 -/vim-8.1-1790.tar.bz2 -/vim-8.1-1890.tar.bz2 -/vim-8.1-1912.tar.bz2 -/vim-8.1-1991.tar.bz2 -/vim-8.1-2019.tar.bz2 -/vim-8.1-2056.tar.bz2 -/vim-8.1-2102.tar.bz2 -/vim-8.1-2120.tar.bz2 -/vim-8.1-2168.tar.bz2 -/vim-8.1-2197.tar.bz2 -/vim-8.1-2198.tar.bz2 -/vim-8.1-2234.tar.bz2 -/vim-8.1-2267.tar.bz2 -/vim-8.1-2352.tar.bz2 -/vim-8.1-2424.tar.bz2 -/vim-8.2-012.tar.bz2 -/vim-8.2-019.tar.bz2 -/vim-8.2-076.tar.bz2 -/vim-8.2-109.tar.bz2 -/vim-8.2-158.tar.bz2 -/vim-8.2-236.tar.bz2 -/vim-8.2-348.tar.bz2 -/vim-8.2-356.tar.bz2 -/vim-8.2-357.tar.bz2 -/vim-8.2-390.tar.bz2 -/vim-8.2-444.tar.bz2 -/vim-8.2-448.tar.bz2 -/vim-8.2-480.tar.bz2 -/vim-8.2-520.tar.bz2 -/vim-8.2-525.tar.bz2 -/vim-8.2-534.tar.bz2 -/vim-8.2-587.tar.bz2 -/vim-8.2-613.tar.bz2 -/vim-8.2-628.tar.bz2 -/vim-8.2-694.tar.bz2 -/vim-8.2-735.tar.bz2 -/vim-8.2-752.tar.bz2 -/vim-8.2-789.tar.bz2 -/vim-8.2-806.tar.bz2 -/vim-8.2-834.tar.bz2 -/vim-8.2-869.tar.bz2 -/vim-8.2-905.tar.bz2 -/vim-8.2-987.tar.bz2 -/vim-8.2-993.tar.bz2 -/vim-8.2-1009.tar.bz2 -/vim-8.2-1052.tar.bz2 -/vim-8.2-1081.tar.bz2 -/vim-8.2-1199.tar.bz2 -/vim-8.2-1217.tar.bz2 -/vim-8.2-1224.tar.bz2 -/vim-8.2-1273.tar.bz2 -/vim-8.2-1307.tar.bz2 -/vim-8.2-1328.tar.bz2 -/vim-8.2-1359.tar.bz2 -/vim-8.2-1382.tar.bz2 -/vim-8.2-1412.tar.bz2 -/vim-8.2-1484.tar.bz2 -/vim-8.2-1520.tar.bz2 -/vim-8.2-1522.tar.bz2 -/vim-8.2-1551.tar.bz2 -/vim-8.2-1634.tar.bz2 -/vim-8.2-1651.tar.bz2 -/vim-8.2-1687.tar.bz2 -/vim-8.2-1770.tar.bz2 -/vim-8.2-1805.tar.bz2 -/vim-8.2-1815.tar.bz2 -/vim-8.2-1885.tar.bz2 -/vim-8.2-1941.tar.bz2 -/vim-8.2-1961.tar.bz2 -/vim-8.2-1971.tar.bz2 -/vim-8.2-2018.tar.bz2 -/vim-8.2-2072.tar.bz2 -/vim-8.2-2086.tar.bz2 -/vim-8.2-2108.tar.bz2 -/vim-8.2-2115.tar.bz2 -/vim-8.2-2143.tar.bz2 -/vim-8.2-2146.tar.bz2 -/vim-8.2-2311.tar.bz2 -/vim-8.2-2451.tar.bz2 -/vim-8.2-2465.tar.bz2 -/vim-8.2-2488.tar.bz2 -/vim-8.2-2529.tar.bz2 -/vim-8.2-2541.tar.bz2 -/vim-8.2-2559.tar.bz2 -/vim-8.2-2576.tar.bz2 -/vim-8.2-2607.tar.bz2 -/vim-8.2-2637.tar.bz2 -/vim-8.2-2735.tar.bz2 -/vim-8.2-2756.tar.bz2 -/vim-8.2-2787.tar.bz2 -/vim-8.2-2811.tar.bz2 -/vim-8.2-2825.tar.bz2 -/vim-8.2-2846.tar.bz2 -/vim-8.2-2875.tar.bz2 -/vim-8.2-2879.tar.bz2 -/vim-8.2-2932.tar.bz2 -/vim-8.2-2956.tar.bz2 -/vim-8.2-3009.tar.bz2 -/vim-8.2-3043.tar.bz2 -/vim-8.2-3046.tar.bz2 -/vim-8.2-3070.tar.bz2 -/vim-8.2-3154.tar.bz2 -/vim-8.2-3182.tar.bz2 -/vim-8.2-3223.tar.bz2 -/vim-8.2-3273.tar.bz2 -/vim-8.2-3290.tar.bz2 -/vim-8.2-3318.tar.bz2 -/vim-8.2-3354.tar.bz2 -/vim-8.2-3367.tar.bz2 -/vim-8.2-3391.tar.bz2 -/vim-8.2-3404.tar.bz2 -/vim-8.2-3512.tar.bz2 -/vim-8.2-3568.tar.bz2 -/vim-8.2-3582.tar.bz2 -/vim-8.2-3642.tar.bz2 -/vim-8.2-3717.tar.bz2 -/vim-8.2-3755.tar.bz2 -/vim-8.2-3811.tar.bz2 -/vim-8.2-4006.tar.bz2 -/vim-8.2-4051.tar.bz2 -/vim-8.2-4068.tar.bz2 -/vim-8.2-4198.tar.bz2 -/vim-8.2-4232.tar.bz2 -/vim-8.2-4314.tar.bz2 -/vim-8.2-4386.tar.bz2 -/vim-8.2-4428.tar.bz2 -/vim-8.2-4460.tar.bz2 -/vim-8.2-4485.tar.bz2 -/vim-8.2-4529.tar.bz2 -/vim-8.2-4579.tar.bz2 -/vim-8.2-4621.tar.bz2 -/vim-8.2-4701.tar.bz2 -/vim-8.2-4804.tar.bz2 -/vim-8.2-4845.tar.bz2 -/vim-8.2-4857.tar.bz2 -/vim-8.2-4877.tar.bz2 -/vim-8.2-4927.tar.bz2 -/vim-8.2-4969.tar.bz2 -/vim-8.2-4975.tar.bz2 -/vim-8.2-5046.tar.bz2 -/vim-8.2-5052.tar.bz2 -/vim-8.2-5085.tar.bz2 -/vim-8.2-5141.tar.bz2 -/vim-8.2-5172.tar.bz2 -/vim-9.0-049.tar.bz2 -/vim-9.0-077.tar.bz2 -/vim-9.0-137.tar.bz2 -/vim-9.0-189.tar.bz2 -/vim-9.0-213.tar.bz2 -/vim-9.0-246.tar.bz2 -/vim-9.0-327.tar.bz2 -/vim-9.0-348.tar.bz2 -/vim-9.0-412.tar.bz2 -/vim-9.0-475.tar.bz2 -/vim-9.0-720.tar.bz2 -/vim-9.0-777.tar.bz2 -/vim-9.0-803.tar.bz2 -/vim-9.0-828.tar.bz2 -/vim-9.0-915.tar.bz2 -/vim-9.0-963.tar.bz2 -/vim-9.0-1006.tar.bz2 -/vim-9.0-1054.tar.bz2 -/vim-9.0-1160.tar.bz2 -/vim-9.0-1182.tar.bz2 -/vim-9.0-1221.tar.bz2 -/vim-9.0-1262.tar.bz2 -/vim-9.0-1293.tar.bz2 -/vim-9.0-1307.tar.bz2 -/vim-9.0-1314.tar.bz2 -/vim-9.0-1367.tar.bz2 -/vim-9.0-1403.tar.bz2 -/vim-9.0-1407.tar.bz2 -/vim-9.0-1423.tar.bz2 -/vim-9.0-1429.tar.bz2 -/vim-9.0-1440.tar.bz2 -/vim-9.0-1443.tar.bz2 -/vim-9.0-1472.tar.bz2 -/vim-9.0-1486.tar.bz2 -/vim-9.0-1491.tar.bz2 -/vim-9.0-1562.tar.bz2 -/vim-9.0-1575.tar.bz2 -/vim-9.0-1587.tar.bz2 -/vim-9.0-1592.tar.bz2 -/vim-9.0-1607.tar.bz2 -/vim-9.0-1627.tar.bz2 -/vim-9.0-1649.tar.bz2 -/vim-9.0-1671.tar.bz2 -/vim-9.0-1677.tar.bz2 -/vim-9.0-1712.tar.bz2 -/vim-9.0-1822.tar.bz2 -/vim-9.0-1872.tar.bz2 -/vim-9.0-1882.tar.bz2 -/vim-9.0-1927.tar.bz2 -/vim-9.0-1968.tar.bz2 -/vim-9.0-1984.tar.bz2 -/vim-9.0-2048.tar.bz2 -/vim-9.0-2081.tar.bz2 -/vim-9.0-2105.tar.bz2 -/vim-9.0-2120.tar.bz2 +/vim-*.tar.bz2 diff --git a/gating.yaml b/gating.yaml index daad873f..80852883 100644 --- a/gating.yaml +++ b/gating.yaml @@ -4,8 +4,8 @@ product_versions: decision_context: bodhi_update_push_testing subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/public.functional} - + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional} + #Rawhide --- !Policy product_versions: @@ -13,16 +13,13 @@ product_versions: decision_context: bodhi_update_push_stable subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/public.functional} - + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional} + #gating rhel --- !Policy product_versions: - rhel-* decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tedude.validation} - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.acceptance-tier.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional} - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional} - - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public.functional} diff --git a/plans.fmf b/plans.fmf new file mode 100644 index 00000000..0b2564f3 --- /dev/null +++ b/plans.fmf @@ -0,0 +1,35 @@ +/tier1-internal: + plan: + import: + url: https://gitlab.com/redhat/centos-stream/tests/vim.git + name: /plans/tier1/internal + +/tier1-public: + plan: + import: + url: https://gitlab.com/redhat/centos-stream/tests/vim.git + name: /plans/tier1/public + +/tier2-tier3-internal: + plan: + import: + url: https://gitlab.com/redhat/centos-stream/tests/vim.git + name: /plans/tier2-tier3/internal + +/tier2-tier3-public: + plan: + import: + url: https://gitlab.com/redhat/centos-stream/tests/vim.git + name: /plans/tier2-tier3/public + +/others-internal: + plan: + import: + url: https://gitlab.com/redhat/centos-stream/tests/vim.git + name: /plans/others/internal + +/others-public: + plan: + import: + url: https://gitlab.com/redhat/centos-stream/tests/vim.git + name: /plans/others/public \ No newline at end of file diff --git a/plans/public.fmf b/plans/public.fmf deleted file mode 100644 index 880a0d4c..00000000 --- a/plans/public.fmf +++ /dev/null @@ -1,6 +0,0 @@ -summary: Test plan with all Fedora tests -discover: - how: fmf - url: https://src.fedoraproject.org/tests/vim.git -execute: - how: tmt diff --git a/plans/tier1-internal.fmf b/plans/tier1-internal.fmf deleted file mode 100644 index ebe4da6a..00000000 --- a/plans/tier1-internal.fmf +++ /dev/null @@ -1,12 +0,0 @@ -summary: CI plan, picks internal Tier1 tests, runs in beakerlib. -discover: - - name: rhel - how: fmf - filter: 'tier: 1' - url: git://pkgs.devel.redhat.com/tests/vim -execute: - how: tmt -adjust: - enabled: false - when: distro == centos-stream or distro == fedora - because: They don't have access to internal repos. diff --git a/sources b/sources index b6902ee7..14532821 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vim-9.0-2120.tar.bz2) = d93d304461d9b6aeb112e26d5058f7564496a4fe040d78dcb88ee7a12d30cd2b93b4cbc832dffdb91f35189cca77912395d834ae6a4c27fdf5d29cd61e877dd6 +SHA512 (vim-9.1-2068.tar.bz2) = f19ae5898f7c388f437fe03af23d956ef66706c2a629a3389622e0b583d9bd831dd4e250badb181fceacb2b52b1f8a6bda4f72fbece122b5f5097153daf774f3 diff --git a/vim-7.4-globalsyntax.patch b/vim-7.4-globalsyntax.patch index 4503f2d0..2f7fe16b 100644 --- a/vim-7.4-globalsyntax.patch +++ b/vim-7.4-globalsyntax.patch @@ -1,13 +1,12 @@ -diff --git a/runtime/syntax/spec.vim b/runtime/syntax/spec.vim -index 1a5a108..b709d20 100644 ---- a/runtime/syntax/spec.vim -+++ b/runtime/syntax/spec.vim -@@ -111,7 +111,7 @@ syn region specDescriptionArea matchgroup=specSection start='^%description' end= +diff -up vim91/runtime/syntax/spec.vim.globalsyntax vim91/runtime/syntax/spec.vim +--- vim91/runtime/syntax/spec.vim.globalsyntax 2024-09-20 22:29:01.858870640 +0200 ++++ vim91/runtime/syntax/spec.vim 2024-09-20 22:31:43.776217933 +0200 +@@ -112,7 +112,7 @@ syn region specDescriptionArea matchgrou syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e-1 contains=specPackageOpts,specPreAmble,specComment "%% Scripts Section %% --syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|clean\|check\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|autosetup\|autopatch\|find_lang\|make_build\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2 -+syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|clean\|check\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|global\|patch\d*\|configure\|GNUconfigure\|setup\|autosetup\|autopatch\|find_lang\|make_build\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2 +-syn region specScriptArea matchgroup=specSection start='^%\(prep\|generate_buildrequires\|conf\|build\|install\|clean\|check\|pre\|postun\|preun\|post\|posttrans\|filetriggerin\|filetriggerun\|filetriggerpostun\|transfiletriggerin\|transfiletriggerun\|transfiletriggerpostun\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|autosetup\|autopatch\|find_lang\|make_build\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2 ++syn region specScriptArea matchgroup=specSection start='^%\(prep\|generate_buildrequires\|conf\|build\|install\|clean\|check\|pre\|postun\|preun\|post\|posttrans\|filetriggerin\|filetriggerun\|filetriggerpostun\|transfiletriggerin\|transfiletriggerun\|transfiletriggerpostun\)\>' skip='^%{\|^%\(define\|global\|patch\d*\|configure\|GNUconfigure\|setup\|autosetup\|autopatch\|find_lang\|make_build\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2 "%% Changelog Section %% syn region specChangelogArea matchgroup=specSection start='^%changelog' end='^%'me=e-1 contains=specEmail,specURL,specWeekday,specMonth,specNumber,specComment,specLicense diff --git a/vim-7.4-specsyntax.patch b/vim-7.4-specsyntax.patch index 5d794cc7..ace7607f 100644 --- a/vim-7.4-specsyntax.patch +++ b/vim-7.4-specsyntax.patch @@ -1,6 +1,6 @@ -diff -up vim74/runtime/syntax/spec.vim.highlite vim74/runtime/syntax/spec.vim ---- vim74/runtime/syntax/spec.vim.highlite 2016-07-04 10:17:45.000000000 +0200 -+++ vim74/runtime/syntax/spec.vim 2016-08-04 15:20:26.116049343 +0200 +diff -up vim91/runtime/syntax/spec.vim.spec-syntax vim91/runtime/syntax/spec.vim +--- vim91/runtime/syntax/spec.vim.spec-syntax 2025-11-14 07:38:27.000000000 +0100 ++++ vim91/runtime/syntax/spec.vim 2025-11-14 07:52:56.081212607 +0100 @@ -38,7 +38,7 @@ syn match specNoNumberHilite 'X11\|X11R6 syn match specManpageFile '[a-zA-Z]\.1' @@ -10,24 +10,12 @@ diff -up vim74/runtime/syntax/spec.vim.highlite vim74/runtime/syntax/spec.vim syn keyword specWeekday contained Mon Tue Wed Thu Fri Sat Sun syn keyword specMonth contained Jan Feb Mar Apr Jun Jul Aug Sep Oct Nov Dec syn keyword specMonth contained January February March April May June July August September October November December -@@ -61,9 +61,9 @@ syn cluster specListedFiles contains=spe - - "specCommands - syn match specConfigure contained '\./configure' --syn match specTarCommand contained '\". inoremap u @@ -21,23 +20,32 @@ index f1d5cd1..b08de8e 100644 " Only do this part when Vim was compiled with the +eval feature. if 1 -diff --git a/src/testdir/test_balloon.vim b/src/testdir/test_balloon.vim -index ed0c6c1..90c8c40 100644 ---- a/src/testdir/test_balloon.vim -+++ b/src/testdir/test_balloon.vim -@@ -9,6 +9,7 @@ source screendump.vim - CheckScreendump +diff -up vim91/src/testdir/test_balloon.vim.copypaste vim91/src/testdir/test_balloon.vim +--- vim91/src/testdir/test_balloon.vim.copypaste 2025-07-11 09:16:19.013500976 +0200 ++++ vim91/src/testdir/test_balloon.vim 2025-07-11 09:17:20.168187029 +0200 +@@ -7,6 +7,7 @@ CheckFeature balloon_eval_term + source util/screendump.vim let s:common_script =<< trim [CODE] + set mouse=a call setline(1, ["one one one", "two tXo two", "three three three"]) set balloonevalterm balloonexpr=MyBalloonExpr()..s:trailing balloondelay=100 let s:trailing = '<' " check that script context is set -diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim -index b91689e..c6b70d1 100644 ---- a/src/testdir/test_popupwin.vim -+++ b/src/testdir/test_popupwin.vim -@@ -553,6 +553,7 @@ func Test_popup_drag() +diff -up vim91/src/testdir/test_popup.vim.copypaste vim91/src/testdir/test_popup.vim +--- vim91/src/testdir/test_popup.vim.copypaste 2025-07-11 08:58:40.000000000 +0200 ++++ vim91/src/testdir/test_popup.vim 2025-07-11 09:16:19.013692144 +0200 +@@ -957,6 +957,7 @@ func Test_mouse_popup_position() + let script =<< trim END + set mousemodel=popup_setpos + source $VIMRUNTIME/menu.vim ++ set mouse=a + call setline(1, join(range(20))) + func Trigger(col) + call test_setmouse(1, a:col) +diff -up vim91/src/testdir/test_popupwin.vim.copypaste vim91/src/testdir/test_popupwin.vim +--- vim91/src/testdir/test_popupwin.vim.copypaste 2025-07-11 08:58:40.000000000 +0200 ++++ vim91/src/testdir/test_popupwin.vim 2025-07-11 09:16:19.013971633 +0200 +@@ -556,6 +556,7 @@ func Test_popup_drag() " create a popup that covers the command line let lines =<< trim END call setline(1, range(1, 20)) @@ -45,7 +53,7 @@ index b91689e..c6b70d1 100644 split vsplit $wincmd w -@@ -621,6 +622,7 @@ func Test_popup_drag_minwidth() +@@ -623,6 +624,7 @@ func Test_popup_drag_minwidth() " create a popup that does not fit let lines =<< trim END @@ -53,7 +61,7 @@ index b91689e..c6b70d1 100644 call range(40) \ ->map({_,i -> string(i)}) \ ->popup_create({ -@@ -669,6 +671,7 @@ func Test_popup_drag_termwin() +@@ -670,6 +672,7 @@ func Test_popup_drag_termwin() let lines =<< trim END set foldmethod=marker call setline(1, range(100)) @@ -69,7 +77,7 @@ index b91689e..c6b70d1 100644 " With border, can click on X let winid = popup_create('foobar', #{ \ close: 'button', -@@ -1557,6 +1561,7 @@ func Test_popup_beval() +@@ -1559,6 +1563,7 @@ func Test_popup_beval() let lines =<< trim END call setline(1, range(1, 20)) call setline(5, 'here is some text to hover over') @@ -77,7 +85,7 @@ index b91689e..c6b70d1 100644 set balloonevalterm set balloonexpr=BalloonExpr() set balloondelay=100 -@@ -2262,6 +2267,7 @@ func Test_popup_scrollbar() +@@ -2269,6 +2274,7 @@ func Test_popup_scrollbar() let lines =<< trim END call setline(1, range(1, 20)) diff --git a/vim-crypto-warning.patch b/vim-crypto-warning.patch index 195d7025..6f55807f 100644 --- a/vim-crypto-warning.patch +++ b/vim-crypto-warning.patch @@ -1,7 +1,7 @@ -diff -up vim90/src/config.h.in.fips-warning vim90/src/config.h.in ---- vim90/src/config.h.in.fips-warning 2023-05-29 09:30:59.000000000 +0200 -+++ vim90/src/config.h.in 2023-05-29 09:34:47.261645612 +0200 -@@ -498,5 +498,14 @@ +diff -up vim91/src/config.h.in.fips-warning vim91/src/config.h.in +--- vim91/src/config.h.in.fips-warning 2025-10-31 08:12:59.598267544 +0100 ++++ vim91/src/config.h.in 2025-10-31 08:14:45.661859595 +0100 +@@ -526,5 +526,14 @@ /* Define if _SC_SIGSTKSZ is available via sysconf() */ #undef HAVE_SYSCONF_SIGSTKSZ @@ -16,10 +16,10 @@ diff -up vim90/src/config.h.in.fips-warning vim90/src/config.h.in + /* Define if you want to load libgpm dynamically */ #undef DYNAMIC_GPM -diff -up vim90/src/configure.ac.fips-warning vim90/src/configure.ac ---- vim90/src/configure.ac.fips-warning 2023-05-29 09:34:47.257645645 +0200 -+++ vim90/src/configure.ac 2023-05-29 09:34:47.262645604 +0200 -@@ -589,6 +589,38 @@ else +diff -up vim91/src/configure.ac.fips-warning vim91/src/configure.ac +--- vim91/src/configure.ac.fips-warning 2025-10-31 08:12:59.596711911 +0100 ++++ vim91/src/configure.ac 2025-10-31 08:12:59.598566242 +0100 +@@ -631,6 +631,38 @@ else AC_SUBST(XDIFF_OBJS_USED) fi @@ -58,10 +58,10 @@ diff -up vim90/src/configure.ac.fips-warning vim90/src/configure.ac dnl Check for Lua feature. AC_MSG_CHECKING(--enable-luainterp argument) AC_ARG_ENABLE(luainterp, -diff -up vim90/src/crypt.c.fips-warning vim90/src/crypt.c ---- vim90/src/crypt.c.fips-warning 2023-05-29 09:34:47.263645596 +0200 -+++ vim90/src/crypt.c 2023-05-29 09:51:23.209779115 +0200 -@@ -795,6 +795,21 @@ crypt_check_method(int method) +diff -up vim91/src/crypt.c.fips-warning vim91/src/crypt.c +--- vim91/src/crypt.c.fips-warning 2025-10-10 07:16:11.000000000 +0200 ++++ vim91/src/crypt.c 2025-10-31 08:12:59.598872032 +0100 +@@ -806,6 +806,21 @@ crypt_check_method(int method) msg_scroll = TRUE; msg(_("Warning: Using a weak encryption method; see :help 'cm'")); } diff --git a/vim-manpagefixes-948566.patch b/vim-manpagefixes-948566.patch index 6f495600..c0806d65 100644 --- a/vim-manpagefixes-948566.patch +++ b/vim-manpagefixes-948566.patch @@ -1,38 +1,7 @@ -diff -up vim73/runtime/doc/vim.man.rh1 vim73/runtime/doc/vim.man ---- vim73/runtime/doc/vim.man.rh1 2013-07-26 11:26:20.566576864 +0200 -+++ vim73/runtime/doc/vim.man 2013-07-26 11:47:42.061351469 +0200 -@@ -11,9 +11,9 @@ SYNOPSIS - vim [options] -t tag - vim [options] -q [errorfile] - -- ex -+ ex gex - view -- gvim gview evim eview -+ gvim gview vimx evim eview - rvim rview rgvim rgview - - DESCRIPTION -@@ -79,8 +79,13 @@ DESCRIPTION - the files. Can also be done with the "-R" argument. - - gvim gview -- The GUI version. Starts a new window. Can also be done with -- the "-g" argument. -+ The GUI version. Starts a new window. -+ -+ gex Starts a new gvim window in Ex mode. Can also be done with -+ the "-e" argument to gvim. -+ -+ vimx Starts gvim in "Vi" mode similar to "vim", but with -+ additional features like xterm clipboard support. - - evim eview - The GUI version in easy mode. Starts a new window. Can also -diff -urN vim73/runtime/doc/vim.1 vim73_new/runtime/doc/vim.1 ---- vim73/runtime/doc/vim.1 2013-07-31 14:13:01.039765800 +0200 -+++ vim73_new/runtime/doc/vim.1 2013-07-31 13:57:59.861912768 +0200 -@@ -17,11 +17,13 @@ +diff -up vim91/runtime/doc/vim.1.manpagefixes vim91/runtime/doc/vim.1 +--- vim91/runtime/doc/vim.1.manpagefixes 2024-11-29 12:17:53.553382696 +0100 ++++ vim91/runtime/doc/vim.1 2024-11-29 12:17:53.556382667 +0100 +@@ -17,11 +17,13 @@ vim \- Vi IMproved, a programmer's text .PP .br .B ex @@ -46,7 +15,7 @@ diff -urN vim73/runtime/doc/vim.1 vim73_new/runtime/doc/vim.1 .B evim .B eview .br -@@ -114,7 +116,12 @@ +@@ -114,7 +116,12 @@ Can also be done with the "\-R" argument gvim gview The GUI version. Starts a new window. @@ -60,7 +29,7 @@ diff -urN vim73/runtime/doc/vim.1 vim73_new/runtime/doc/vim.1 .TP evim eview The GUI version in easy mode. -@@ -458,6 +458,12 @@ +@@ -491,6 +498,12 @@ As \-\-remote, but Vim does not exit unt \-\-remote\-wait\-silent As \-\-remote\-wait, but without the warning when no server is found. .TP @@ -73,10 +42,10 @@ diff -urN vim73/runtime/doc/vim.1 vim73_new/runtime/doc/vim.1 \-\-serverlist List the names of all Vim servers that can be found. .TP -diff -urN vim73/runtime/doc/vim-fr.1 vim73_new/runtime/doc/vim-fr.1 ---- vim73/runtime/doc/vim-fr.1 2010-05-15 13:04:00.000000000 +0200 -+++ vim73_new/runtime/doc/vim-fr.1 2013-07-31 13:59:10.587467916 +0200 -@@ -24,11 +24,13 @@ +diff -up vim91/runtime/doc/vim-fr.1.manpagefixes vim91/runtime/doc/vim-fr.1 +--- vim91/runtime/doc/vim-fr.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vim-fr.1 2024-11-29 12:17:53.556382667 +0100 +@@ -24,11 +24,13 @@ vim \- Vi IMproved, éditeur de texte pou .PP .br .B ex @@ -90,10 +59,10 @@ diff -urN vim73/runtime/doc/vim-fr.1 vim73_new/runtime/doc/vim-fr.1 .B evim .B eview .br -diff -urN vim73/runtime/doc/vim-fr.UTF-8.1 vim73_new/runtime/doc/vim-fr.UTF-8.1 ---- vim73/runtime/doc/vim-fr.UTF-8.1 2010-05-15 13:04:00.000000000 +0200 -+++ vim73_new/runtime/doc/vim-fr.UTF-8.1 2013-07-31 13:59:28.394852347 +0200 -@@ -24,11 +24,13 @@ +diff -up vim91/runtime/doc/vim-fr.UTF-8.1.manpagefixes vim91/runtime/doc/vim-fr.UTF-8.1 +--- vim91/runtime/doc/vim-fr.UTF-8.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vim-fr.UTF-8.1 2024-11-29 12:17:53.556382667 +0100 +@@ -24,11 +24,13 @@ vim \- Vi IMproved, éditeur de texte po .PP .br .B ex @@ -107,10 +76,10 @@ diff -urN vim73/runtime/doc/vim-fr.UTF-8.1 vim73_new/runtime/doc/vim-fr.UTF-8.1 .B evim .B eview .br -diff -urN vim73/runtime/doc/vim-it.1 vim73_new/runtime/doc/vim-it.1 ---- vim73/runtime/doc/vim-it.1 2010-07-27 22:22:52.000000000 +0200 -+++ vim73_new/runtime/doc/vim-it.1 2013-07-31 13:59:43.474331077 +0200 -@@ -17,11 +17,13 @@ +diff -up vim91/runtime/doc/vim-it.1.manpagefixes vim91/runtime/doc/vim-it.1 +--- vim91/runtime/doc/vim-it.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vim-it.1 2024-11-29 12:17:53.557382658 +0100 +@@ -17,11 +17,13 @@ vim \- VI Migliorato, un editor di testi .PP .br .B ex @@ -124,10 +93,10 @@ diff -urN vim73/runtime/doc/vim-it.1 vim73_new/runtime/doc/vim-it.1 .B evim .B eview .br -diff -urN vim73/runtime/doc/vim-it.UTF-8.1 vim73_new/runtime/doc/vim-it.UTF-8.1 ---- vim73/runtime/doc/vim-it.UTF-8.1 2010-07-30 20:53:57.000000000 +0200 -+++ vim73_new/runtime/doc/vim-it.UTF-8.1 2013-07-31 13:59:55.985898573 +0200 -@@ -17,11 +17,13 @@ +diff -up vim91/runtime/doc/vim-it.UTF-8.1.manpagefixes vim91/runtime/doc/vim-it.UTF-8.1 +--- vim91/runtime/doc/vim-it.UTF-8.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vim-it.UTF-8.1 2024-11-29 12:17:53.557382658 +0100 +@@ -17,11 +17,13 @@ vim \- VI Migliorato, un editor di testi .PP .br .B ex @@ -141,26 +110,41 @@ diff -urN vim73/runtime/doc/vim-it.UTF-8.1 vim73_new/runtime/doc/vim-it.UTF-8.1 .B evim .B eview .br -diff -urN vim73/runtime/doc/vim.man vim73_new/runtime/doc/vim.man ---- vim73/runtime/doc/vim.man 2013-07-31 14:13:01.044765627 +0200 -+++ vim73_new/runtime/doc/vim.man 2013-07-31 13:53:35.107064804 +0200 -@@ -82,10 +82,10 @@ - The GUI version. Starts a new window. +diff -up vim91/runtime/doc/vim.man.manpagefixes vim91/runtime/doc/vim.man +--- vim91/runtime/doc/vim.man.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vim.man 2024-11-29 12:17:53.557382658 +0100 +@@ -9,9 +9,9 @@ SYNOPSIS + vim [options] -t tag + vim [options] -q [errorfile] - gex Starts a new gvim window in Ex mode. Can also be done with -- the "-e" argument to gvim. +- ex ++ ex gex + view +- gvim gview evim eview ++ gvim gview vimx evim eview + rvim rview rgvim rgview + + DESCRIPTION +@@ -77,8 +77,13 @@ DESCRIPTION + the files. Can also be done with the "-R" argument. + + gvim gview +- The GUI version. Starts a new window. Can also be done with +- the "-g" argument. ++ The GUI version. Starts a new window. ++ ++ gex Starts a new gvim window in Ex mode. Can also be done with + the "-e" argument to gvim - - vimx Starts gvim in "Vi" mode similar to "vim", but with -- additional features like xterm clipboard support. ++ ++ vimx Starts gvim in "Vi" mode similar to "vim", but with + additional features like xterm clipboard support evim eview The GUI version in easy mode. Starts a new window. Can also -diff -urN vim73/runtime/doc/vim-pl.1 vim73_new/runtime/doc/vim-pl.1 ---- vim73/runtime/doc/vim-pl.1 2010-05-15 13:04:01.000000000 +0200 -+++ vim73_new/runtime/doc/vim-pl.1 2013-07-31 14:00:21.282024131 +0200 -@@ -17,11 +17,13 @@ +diff -up vim91/runtime/doc/vim-pl.1.manpagefixes vim91/runtime/doc/vim-pl.1 +--- vim91/runtime/doc/vim-pl.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vim-pl.1 2024-11-29 12:17:53.557382658 +0100 +@@ -17,11 +17,13 @@ vim \- Vi rozbudowany, edytor tekstu dla .PP .br .B ex @@ -174,10 +158,10 @@ diff -urN vim73/runtime/doc/vim-pl.1 vim73_new/runtime/doc/vim-pl.1 .B evim .B eview .br -diff -urN vim73/runtime/doc/vim-pl.UTF-8.1 vim73_new/runtime/doc/vim-pl.UTF-8.1 ---- vim73/runtime/doc/vim-pl.UTF-8.1 2010-05-15 13:37:38.000000000 +0200 -+++ vim73_new/runtime/doc/vim-pl.UTF-8.1 2013-07-31 14:00:36.056513402 +0200 -@@ -17,11 +17,13 @@ +diff -up vim91/runtime/doc/vim-pl.UTF-8.1.manpagefixes vim91/runtime/doc/vim-pl.UTF-8.1 +--- vim91/runtime/doc/vim-pl.UTF-8.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vim-pl.UTF-8.1 2024-11-29 12:17:53.558382649 +0100 +@@ -17,11 +17,13 @@ vim \- Vi rozbudowany, edytor tekstu dla .PP .br .B ex @@ -191,10 +175,10 @@ diff -urN vim73/runtime/doc/vim-pl.UTF-8.1 vim73_new/runtime/doc/vim-pl.UTF-8.1 .B evim .B eview .br -diff -urN vim73/runtime/doc/vim-ru.1 vim73_new/runtime/doc/vim-ru.1 ---- vim73/runtime/doc/vim-ru.1 2010-05-15 13:04:00.000000000 +0200 -+++ vim73_new/runtime/doc/vim-ru.1 2013-07-31 14:01:10.071337568 +0200 -@@ -17,11 +17,15 @@ +diff -up vim91/runtime/doc/vim-ru.1.manpagefixes vim91/runtime/doc/vim-ru.1 +--- vim91/runtime/doc/vim-ru.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vim-ru.1 2024-11-29 12:17:53.558382649 +0100 +@@ -18,11 +18,13 @@ .PP .br .B ex @@ -205,15 +189,13 @@ diff -urN vim73/runtime/doc/vim-ru.1 vim73_new/runtime/doc/vim-ru.1 .B gvim .B gview +.B vimx -+.B evim -+.B eview + .B evim + .B eview .br - .B rvim - .B rview -diff -urN vim73/runtime/doc/vim-ru.UTF-8.1 vim73_new/runtime/doc/vim-ru.UTF-8.1 ---- vim73/runtime/doc/vim-ru.UTF-8.1 2010-05-15 13:04:00.000000000 +0200 -+++ vim73_new/runtime/doc/vim-ru.UTF-8.1 2013-07-31 14:01:34.494493301 +0200 -@@ -17,11 +17,15 @@ +diff -up vim91/runtime/doc/vim-ru.UTF-8.1.manpagefixes vim91/runtime/doc/vim-ru.UTF-8.1 +--- vim91/runtime/doc/vim-ru.UTF-8.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vim-ru.UTF-8.1 2024-11-29 12:17:53.558382649 +0100 +@@ -18,11 +18,13 @@ программиÑтов. .PP .br .B ex @@ -224,62 +206,60 @@ diff -urN vim73/runtime/doc/vim-ru.UTF-8.1 vim73_new/runtime/doc/vim-ru.UTF-8.1 .B gvim .B gview +.B vimx -+.B evim -+.B eview + .B evim + .B eview .br - .B rvim - .B rview -diff -urN vim73/runtime/doc/vimtutor.1 vim73_new/runtime/doc/vimtutor.1 ---- vim73/runtime/doc/vimtutor.1 2010-05-15 13:04:00.000000000 +0200 -+++ vim73_new/runtime/doc/vimtutor.1 2013-07-31 14:10:10.093671964 +0200 -@@ -4,6 +4,8 @@ - .SH SYNOPSIS +diff -up vim91/runtime/doc/vimtutor.1.manpagefixes vim91/runtime/doc/vimtutor.1 +--- vim91/runtime/doc/vimtutor.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vimtutor.1 2024-11-29 12:17:53.559382639 +0100 +@@ -8,6 +8,8 @@ vimtutor \- the Vim tutor + .B vimtutor [\-h | \-\-help] .br - .B vimtutor [\-g] [language] + .B vimtutor [\-\-list] +.br +.B gvimtutor .SH DESCRIPTION .B Vimtutor starts the -diff -urN vim73/runtime/doc/vimtutor-it.1 vim73_new/runtime/doc/vimtutor-it.1 ---- vim73/runtime/doc/vimtutor-it.1 2010-07-27 22:35:32.000000000 +0200 -+++ vim73_new/runtime/doc/vimtutor-it.1 2013-07-31 14:10:33.564861055 +0200 -@@ -4,6 +4,8 @@ - .SH SINTASSI +diff -up vim91/runtime/doc/vimtutor-it.1.manpagefixes vim91/runtime/doc/vimtutor-it.1 +--- vim91/runtime/doc/vimtutor-it.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vimtutor-it.1 2024-11-29 12:17:53.559382639 +0100 +@@ -8,6 +8,8 @@ vimtutor \- Un breve corso introduttivo + .B vimtutor [\-h | \-\-help] .br - .B vimtutor [\-g] [lingua] + .B vimtutor [\-\-list] +.br +.B gvimtutor .SH DESCRIZIONE .B Vimtutor inizia il -diff -urN vim73/runtime/doc/vimtutor-it.UTF-8.1 vim73_new/runtime/doc/vimtutor-it.UTF-8.1 ---- vim73/runtime/doc/vimtutor-it.UTF-8.1 2010-07-30 20:53:57.000000000 +0200 -+++ vim73_new/runtime/doc/vimtutor-it.UTF-8.1 2013-07-31 14:10:40.483622016 +0200 -@@ -4,6 +4,8 @@ - .SH SINTASSI +diff -up vim91/runtime/doc/vimtutor-it.UTF-8.1.manpagefixes vim91/runtime/doc/vimtutor-it.UTF-8.1 +--- vim91/runtime/doc/vimtutor-it.UTF-8.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vimtutor-it.UTF-8.1 2024-11-29 12:17:53.559382639 +0100 +@@ -8,6 +8,8 @@ vimtutor \- Un breve corso introduttivo + .B vimtutor [\-h | \-\-help] .br - .B vimtutor [\-g] [lingua] + .B vimtutor [\-\-list] +.br +.B gvimtutor .SH DESCRIZIONE .B Vimtutor inizia il -diff -urN vim73/runtime/doc/vimtutor.man vim73_new/runtime/doc/vimtutor.man ---- vim73/runtime/doc/vimtutor.man 2010-05-15 13:04:00.000000000 +0200 -+++ vim73_new/runtime/doc/vimtutor.man 2013-07-31 14:11:04.786782356 +0200 -@@ -7,6 +7,7 @@ - - SYNOPSIS - vimtutor [-g] [language] +diff -up vim91/runtime/doc/vimtutor.man.manpagefixes vim91/runtime/doc/vimtutor.man +--- vim91/runtime/doc/vimtutor.man.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vimtutor.man 2024-11-29 12:17:53.559382639 +0100 +@@ -8,6 +8,7 @@ SYNOPSIS + [ISO639] + vimtutor [-h | --help] + vimtutor [--list] + gvimtutor DESCRIPTION - Vimtutor starts the Vim tutor. It copies the tutor file first, so that -diff -urN vim73/runtime/doc/vimtutor-pl.1 vim73_new/runtime/doc/vimtutor-pl.1 ---- vim73/runtime/doc/vimtutor-pl.1 2010-05-15 13:04:00.000000000 +0200 -+++ vim73_new/runtime/doc/vimtutor-pl.1 2013-07-31 14:11:13.602477777 +0200 -@@ -4,6 +4,8 @@ + Vimtutor starts the Vim tutor. +diff -up vim91/runtime/doc/vimtutor-pl.1.manpagefixes vim91/runtime/doc/vimtutor-pl.1 +--- vim91/runtime/doc/vimtutor-pl.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vimtutor-pl.1 2024-11-29 12:17:53.559382639 +0100 +@@ -4,6 +4,8 @@ vimtutor \- nauczyciel Vima .SH SYNOPSIS .br .B vimtutor -g [jêzyk] @@ -288,10 +268,10 @@ diff -urN vim73/runtime/doc/vimtutor-pl.1 vim73_new/runtime/doc/vimtutor-pl.1 .SH OPIS .B Vimtutor uruchamia nauczyciela -diff -urN vim73/runtime/doc/vimtutor-pl.UTF-8.1 vim73_new/runtime/doc/vimtutor-pl.UTF-8.1 ---- vim73/runtime/doc/vimtutor-pl.UTF-8.1 2010-05-15 13:04:00.000000000 +0200 -+++ vim73_new/runtime/doc/vimtutor-pl.UTF-8.1 2013-07-31 14:11:20.571237009 +0200 -@@ -4,6 +4,8 @@ +diff -up vim91/runtime/doc/vimtutor-pl.UTF-8.1.manpagefixes vim91/runtime/doc/vimtutor-pl.UTF-8.1 +--- vim91/runtime/doc/vimtutor-pl.UTF-8.1.manpagefixes 2024-11-15 06:32:23.000000000 +0100 ++++ vim91/runtime/doc/vimtutor-pl.UTF-8.1 2024-11-29 12:17:53.560382630 +0100 +@@ -4,6 +4,8 @@ vimtutor \- nauczyciel Vima .SH SYNOPSIS .br .B vimtutor -g [jÄ™zyk] @@ -300,27 +280,27 @@ diff -urN vim73/runtime/doc/vimtutor-pl.UTF-8.1 vim73_new/runtime/doc/vimtutor-p .SH OPIS .B Vimtutor uruchamia nauczyciela -diff -urN vim73/runtime/doc/vimtutor-ru.1 vim73_new/runtime/doc/vimtutor-ru.1 ---- vim73/runtime/doc/vimtutor-ru.1 2010-05-15 13:04:00.000000000 +0200 -+++ vim73_new/runtime/doc/vimtutor-ru.1 2013-07-31 14:11:35.673715221 +0200 -@@ -4,6 +4,8 @@ - .SH ëïíáîäîáñ óôòïëá +diff -up vim91/runtime/doc/vimtutor-ru.1.manpagefixes vim91/runtime/doc/vimtutor-ru.1 +--- vim91/runtime/doc/vimtutor-ru.1.manpagefixes 2024-11-29 12:17:53.560382630 +0100 ++++ vim91/runtime/doc/vimtutor-ru.1 2024-11-29 12:20:14.883047832 +0100 +@@ -8,6 +8,8 @@ + .B vimtutor [\-h | \-\-help] .br - .B vimtutor [ÑÚÙË] + .B vimtutor [\-\-list] +.br +.B gvimtutor .SH ïðéóáîéå - ëÏÍÁÎÄÁ + ðÏ ËÏÍÁÎÄÅ .B vimtutor -diff -urN vim73/runtime/doc/vimtutor-ru.UTF-8.1 vim73_new/runtime/doc/vimtutor-ru.UTF-8.1 ---- vim73/runtime/doc/vimtutor-ru.UTF-8.1 2010-05-15 13:04:00.000000000 +0200 -+++ vim73_new/runtime/doc/vimtutor-ru.UTF-8.1 2013-07-31 14:11:46.649335999 +0200 -@@ -7,6 +7,8 @@ +diff -up vim91/runtime/doc/vimtutor-ru.UTF-8.1.manpagefixes vim91/runtime/doc/vimtutor-ru.UTF-8.1 +--- vim91/runtime/doc/vimtutor-ru.UTF-8.1.manpagefixes 2024-11-29 12:17:53.560382630 +0100 ++++ vim91/runtime/doc/vimtutor-ru.UTF-8.1 2024-11-29 12:19:27.318497067 +0100 +@@ -11,6 +11,8 @@ Программа vimtutor \[em] вып .SH ОПИСÐÐИЕ - Команда + По команде .B vimtutor +.br +.B gvimtutor - запуÑкает учебник по + выполнÑетÑÑ Ð·Ð°Ð¿ÑƒÑк редактора .B Vim. - При Ñтом Ñначала проиÑходит Ñоздание копии файла учебника, + Ñ Ð·Ð°Ð³Ñ€ÑƒÐ¶ÐµÐ½Ð½Ñ‹Ð¼ файлом, Ñодержащем текÑÑ‚ учебника. diff --git a/vim-update.sh b/vim-update.sh index 4e69889e..fc37e160 100755 --- a/vim-update.sh +++ b/vim-update.sh @@ -1,12 +1,12 @@ #!/bin/bash debug="" #debug="echo " -branches=( "rawhide" "f39" "f38" "f37" ) -releases=( "fc40" "fc39" "fc38" "fc37" ) +branches=( "rawhide" "f43" "f42" ) +releases=( "fc44" "fc43" "fc42" ) # the first bodhi enabled release is the last without \| - all # others need to have \| -regexps=( "fc40" "fc39" "\|fc38" "\|fc37" ) -bodhi_enabled=( "0" "1" "1" "1" ) +regexps=( "fc44" "fc43" "\|fc42" ) +bodhi_enabled=( "0" "1" "1" ) needs_update=() #releases_regexp=fc28\\\|fc27\\\|fc28 @@ -123,9 +123,9 @@ if [ $CHANGES -ne 0 ]; then $debug fedpkg switch-branch $branch # merge with previous branch - $debug bash -c "git merge ${branches[@]: $branches_index: 1} <<<':x'" + $debug bash -c "git merge rawhide <<<':x'" if [ $? -ne 0 ]; then - echo "Error: git merge ${branches[@]: $branches_index: 1}" + echo "Error: git merge rawhide" exit 1 fi diff --git a/vim.spec b/vim.spec index f9a13f1c..b2c29f97 100644 --- a/vim.spec +++ b/vim.spec @@ -1,14 +1,33 @@ %bcond_without gui + %if 0%{?fedora} %bcond_without default_editor +%bcond_without gpm %bcond_without libsodium_crypt %else %bcond_with default_editor +%bcond_with gpm %bcond_with libsodium_crypt %endif -%define patchlevel 2120 + +%define patchlevel 2068 +%define withnetbeans 1 + +%define withhunspell 0 +%define withlua 1 +%define withperl 1 + +# VIm upstream wants to build with FORTIFY_SOURCE=1, +# because higher levels causes crashes of valid code constructs +# and their reimplementation would cost unnecessary maintenance +# https://github.com/vim/vim/pull/3507 +%define _fortify_level 1 + +%define baseversion 9.1 +%define vimdir vim91 + %if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1} %define WITH_SELINUX 1 @@ -24,29 +43,15 @@ %define desktop_file_utils_version 0.2.93 %endif -%define withnetbeans 1 - -%define withvimspell 0 -%define withhunspell 0 -%define withlua 1 -%define withperl 1 %if 0%{?flatpak} %define withruby 0 %else %define withruby 1 %endif -# VIm upstream wants to build with FORTIFY_SOURCE=1, -# because higher levels causes crashes of valid code constructs -# and their reimplementation would cost unnecessary maintenance -# https://github.com/vim/vim/pull/3507 -%define _fortify_level 1 - -%define baseversion 9.0 -%define vimdir vim90 Summary: The VIM editor -URL: http://www.vim.org/ +URL: https://www.vim.org/ Name: vim Version: %{baseversion}.%{patchlevel} Release: 1%{?dist} @@ -59,7 +64,7 @@ Epoch: 2 # response here: https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/message/4UTW5GFDELGMG6K3NQ7NBU42LC2FJOB5/ # resolution: take it as OPUBL-1.0, the license won't be added to allowed license list, but if a project uses it for documentation # and don't use license options mentioned in the OPUBL 1.0 license text (which both are the case for Vim), the license is allowed -License: Vim AND LGPL-2.1-or-later AND MIT AND GPL-1.0-only AND (GPL-2.0-only OR Vim) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND OPUBL-1.0 +License: Vim AND LGPL-2.1-or-later AND MIT AND GPL-1.0-only AND (GPL-2.0-only OR Vim) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND OPUBL-1.0 AND Apache-2.0 WITH Swift-exception Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2 Source1: virc Source2: vimrc @@ -75,39 +80,27 @@ Source11: vim-default-editor.fish Source12: view_wrapper Source13: vi_wrapper -%if %{withvimspell} -Source100: vim-spell-files.tar.bz2 -%endif - -Patch2000: vim-7.0-fixkeys.patch -Patch2001: vim-7.4-specsyntax.patch - -%if %{withhunspell} -Patch2002: vim-7.0-hunspell.patch -BuildRequires: hunspell-devel -%endif - -Patch3000: vim-7.3-manpage-typo-668894-675480.patch -Patch3001: vim-manpagefixes-948566.patch -Patch3002: vim-7.4-globalsyntax.patch +Patch1: vim-7.0-fixkeys.patch +Patch2: vim-7.4-specsyntax.patch +Patch3: vim-7.3-manpage-typo-668894-675480.patch +Patch4: vim-manpagefixes-948566.patch +Patch5: vim-7.4-globalsyntax.patch # migrate shebangs in script to /usr/bin/python3 and use python2 when necessary -Patch3003: vim-python3-tests.patch +Patch6: vim-python3-tests.patch # fips warning (Fedora downstream patch) -Patch3004: vim-crypto-warning.patch +Patch7: vim-crypto-warning.patch # don't ever set mouse (Fedora downstream patch) -Patch3005: vim-8.0-copy-paste.patch +Patch8: vim-8.0-copy-paste.patch + + +# patch only when hunspell is enabled +Patch10000: vim-7.0-hunspell.patch # uses autoconf in spec file BuildRequires: autoconf -%if %{desktop_file} -# for /usr/bin/desktop-file-install -BuildRequires: desktop-file-utils >= %{desktop_file_utils_version} -Requires: desktop-file-utils -%endif - # gcc is no longer in buildroot by default BuildRequires: gcc # for translations @@ -118,14 +111,38 @@ BuildRequires: gettext # formats during compilation. BuildRequires: glibc-gconv-extra -# for mouse support in console -BuildRequires: gpm-devel # for setting ACL on created files BuildRequires: libacl-devel -# selinux support -%if %{WITH_SELINUX} -BuildRequires: libselinux-devel +# uses libtool for linking +BuildRequires: libtool + +# uses make +BuildRequires: make +# screen handling library +BuildRequires: ncurses-devel + +# for building function prototypes +BuildRequires: python3 +BuildRequires: python3-clang + +# for python plugin +BuildRequires: python3-devel + + +%if %{desktop_file} +# for /usr/bin/desktop-file-install +BuildRequires: desktop-file-utils >= %{desktop_file_utils_version} +Requires: desktop-file-utils +%endif + +%if %{with gpm} +# for mouse support in console +BuildRequires: gpm-devel +%endif + +%if %{withhunspell} +BuildRequires: hunspell-devel %endif # for xchacha20 encryption @@ -133,18 +150,11 @@ BuildRequires: libselinux-devel BuildRequires: libsodium-devel %endif -# uses libtool for linking -BuildRequires: libtool - # for lua plugin %if "%{withlua}" == "1" BuildRequires: lua-devel %endif -# uses make -BuildRequires: make -# screen handling library -BuildRequires: ncurses-devel # for perl plugin %if "%{withperl}" == "1" BuildRequires: perl-devel @@ -152,8 +162,6 @@ BuildRequires: perl-generators BuildRequires: perl(ExtUtils::Embed) BuildRequires: perl(ExtUtils::ParseXS) %endif -# for python plugin -BuildRequires: python3-devel # for ruby plugin %if "%{withruby}" == "1" @@ -161,6 +169,11 @@ BuildRequires: ruby BuildRequires: ruby-devel %endif +# selinux support +%if %{WITH_SELINUX} +BuildRequires: libselinux-devel +%endif + %description VIM (VIsual editor iMproved) is an updated and improved version of the @@ -168,26 +181,17 @@ vi editor. Vi was the first real screen-based editor for UNIX, and is still very popular. VIM improves on vi by adding new features: multiple windows, multi-level undo, block highlighting and more. + %package common Summary: The common files needed by any version of the VIM editor -# conflicts in package because of manpage move (bug #1599663) -# conflicts because of defaults.vim (bug #2026651) -# remove after F36 EOL+after release CentOS Stream > 9 -Conflicts: %{name}-minimal < %{epoch}:8.2.3642-2 +# move evim manpage to common - remove the conflict after C11S is branched +Conflicts: %{name}-X11 < 2:9.1.1706-2 # shared files between common and minimal Requires: %{name}-data = %{epoch}:%{version}-%{release} Requires: %{name}-filesystem # the hexdump binary was part of the package for long time, ship it with it # still for convenience Requires: xxd -# vim-toml was a separate package but the runtime files have been included -# directly in vim since 8.2.3519. The vim-toml package has been retired in -# Fedora, obsolete it so it doesn't get left on users' systems. Added in F38, -# can be removed in F40. -# https://github.com/cespare/vim-toml/commit/2c8983cc391287e5e26e015c3ab9c38de9f9b759 -# https://github.com/vim/vim/commit/2286304cdbba53ceb52b3ba2ba4a521b0a2f8d0f -Provides: vim-toml = %{epoch}:%{version}-%{release} -Obsoletes: vim-toml < 0^1.717bd87-4 %description common VIM (VIsual editor iMproved) is an updated and improved version of the @@ -200,20 +204,9 @@ order to run. If you are installing vim-enhanced or vim-X11, you'll also need to install the vim-common package. -%package spell -Summary: The dictionaries for spell checking. This package is optional -Requires: vim-common = %{epoch}:%{version}-%{release} - -%description spell -This subpackage contains dictionaries for vim spell checking in -many different languages. %package minimal Summary: A minimal version of the VIM editor -# conflicts in package because of manpage move (bug #1599663) -# conflicts because of defaults.vim (bug #2026651) -# remove after F36 EOL+after release CentOS Stream > 9 -Conflicts: %{name}-common < %{epoch}:8.2.3642-2 Provides: vi Provides: %{_bindir}/vi # shared files between common and minimal @@ -228,6 +221,7 @@ vim-minimal package includes a minimal version of VIM, providing the commands vi, view, ex, rvi, and rview. NOTE: The online help is only available when the vim-common package is installed. + %package enhanced Summary: A version of the VIM editor which includes recent enhancements # vim bundles libvterm, which is used during build - so we need to provide @@ -240,6 +234,9 @@ Provides: %{_bindir}/vim Requires: vim-common = %{epoch}:%{version}-%{release} # required for vimtutor (#395371) Requires: which +Suggests: python3 +Suggests: python3-libs + # suggest python3, python2, lua, ruby and perl packages because of their # embedded functionality in Vim/GVim %if "%{withlua}" == "1" @@ -250,9 +247,6 @@ Suggests: lua-libs Suggests: perl-devel %endif -Suggests: python3 -Suggests: python3-libs - %if "%{withruby}" == "1" Suggests: ruby Suggests: ruby-libs @@ -271,6 +265,7 @@ VIM editor which includes recently added enhancements like interpreters for the Python and Perl scripting languages. You'll also need to install the vim-common package. + %package filesystem Summary: VIM filesystem layout BuildArch: noarch @@ -279,9 +274,41 @@ BuildArch: noarch This package provides some directories which are required by other packages that add vim files, p.e. additional syntax files or filetypes. + +%package data +Summary: Shared data for Vi and Vim +BuildArch: noarch + +%description data +The subpackage is used for shipping files and directories, which need to be +shared between vim-minimal and vim-common packages. + + +%package -n xxd +Summary: A hex dump utility + +%description -n xxd +xxd creates a hex dump of a given file or standard input. It can also convert +a hex dump back to its original binary form. + + +%if %{with default_editor} +%package default-editor +Summary: Set vim as the default editor +BuildArch: noarch +Conflicts: system-default-editor +Provides: system-default-editor +Requires: vim-enhanced + +%description default-editor +This subpackage contains files needed to set Vim as the default editor. +%endif + %if %{with gui} %package X11 Summary: The VIM version of the vi editor for the X Window System - GVim +# move evim manpage to common - remove the conflict after C11S is branched +Conflicts: %{name}-common < 2:9.1.1706-2 # devel of libICE, gtk3, libSM, libX11, libXpm and libXt are needed in buildroot # so configure script can have correct macros enabled for GUI (#1603272) # generic gnome toolkit for graphical support @@ -292,8 +319,6 @@ BuildRequires: libICE-devel BuildRequires: libSM-devel # core X11 protocol client library BuildRequires: libX11-devel -# X PixMap library for X11 - for creating images in X PixMap format -BuildRequires: libXpm-devel # X Toolkit Intrinsics library - working with widgets? BuildRequires: libXt-devel # for testing validity of appdata file @@ -305,6 +330,12 @@ Provides: gvim Provides: vim(plugins-supported) Provides: %{_bindir}/mergetool Provides: %{_bindir}/gvim + +# glib2 in Fedora 40 introduced a new function, which is not used in GVim, but it is present +# in compiled gvim binary as symbol when Vim is compiled with glib2-2.79.1 +# there does not seem to be a better solution than version based requires on glib2... +# https://bugzilla.redhat.com/show_bug.cgi?id=2262371 +Requires: glib2 >= 2.79.1 # GVIM graphics are based on GTK3 Requires: gtk3 # needed for icons (#226526) @@ -313,6 +344,9 @@ Requires: hicolor-icon-theme # from inodes (files, dirs etc.) Requires: libattr >= 2.4 Requires: vim-common = %{epoch}:%{version}-%{release} +Suggests: python3 +Suggests: python3-libs + # suggest python3, python2, lua, ruby and perl packages because of their # embedded functionality in Vim/GVim %if "%{withlua}" == "1" @@ -323,9 +357,6 @@ Suggests: lua-libs Suggests: perl-devel %endif -Suggests: python3 -Suggests: python3-libs - %if "%{withruby}" == "1" Suggests: ruby Suggests: ruby-libs @@ -345,78 +376,42 @@ with graphics and mouse capabilities. You'll also need to install the vim-common package. %endif -%package data -Summary: Shared data for Vi and Vim -BuildArch: noarch -# moved files from filesystem, common and minimal to data -# remove after F36 EOL+after release of CentOS Stream > 9 -Conflicts: %{name}-common < 2:8.2.3642-2 -Conflicts: %{name}-filesystem < 2:8.2.3642-2 -Conflicts: %{name}-minimal < 2:8.2.3642-2 - -%description data -The subpackage is used for shipping files and directories, which need to be -shared between vim-minimal and vim-common packages. - -%if %{with default_editor} -%package default-editor -Summary: Set vim as the default editor -BuildArch: noarch -Conflicts: system-default-editor -Provides: system-default-editor -Requires: vim-enhanced - -%description default-editor -This subpackage contains files needed to set Vim as the default editor. -%endif - -%package -n xxd -Summary: A hex dump utility -# the xxd related file were shipped in vim-common in the past, -# we have to conflict with the old ones -# remove this Conflicts once C10S is released -Conflicts: %{name}-common < 2:9.0.1440-2 - -%description -n xxd -xxd creates a hex dump of a given file or standard input. It can also convert -a hex dump back to its original binary form. - %prep %setup -q -b 0 -n %{vimdir} # use %%{__python3} macro for defining shebangs in python3 tests -sed -i -e 's,/usr/bin/python3,%{__python3},' %{PATCH3005} +sed -i -e 's,/usr/bin/python3,%{__python3},' %{PATCH6} # fix rogue dependencies from sample code chmod -x runtime/tools/mve.awk -%patch -P 2000 -p1 -b .fixkeys -%patch -P 2001 -p1 - -%if %{withhunspell} -%patch -P 2002 -p1 -%endif +%patch -P 1 -p1 -b .fixkeys +%patch -P 2 -p1 -b .spec-syntax perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk -# install spell files -%if %{withvimspell} -%{__tar} xjf %{SOURCE100} +%patch -P 3 -p1 -b .mantypo +%patch -P 4 -p1 -b .manpagefixes +%patch -P 5 -p1 -b .globalsyntax +%patch -P 6 -p1 -b .python-tests +%patch -P 7 -p1 -b .fips-warning +%patch -P 8 -p1 -b .copypaste + +%if %{withhunspell} +%patch -P 10000 -p1 %endif -%patch -P 3000 -p1 -%patch -P 3001 -p1 -%patch -P 3002 -p1 -%patch -P 3003 -p1 -b .python-tests -%patch -P 3004 -p1 -b .fips-warning -%patch -P 3005 -p1 -b .copypaste %build cd src autoconf -export CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2" -export CXXFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2" +# added -std=c17 because F42 uses c23 by default and dynamically loaded Ruby plugin fails to build +# with c23 due using `()` for callback arguments to be able to use callbacks with different number +# of arguments in one function +# reported upstream as https://github.com/vim/vim/issues/16575 +export CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -std=c17" +export CXXFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -std=c17" cp -f os_unix.h os_unix.h.save @@ -449,72 +444,21 @@ perl -pi -e "s/vimrc/virc/" os_unix.h --enable-fips-warning \ --enable-fail-if-missing \ --disable-canberra \ + --without-wayland \ + --enable-year2038 \ --disable-libsodium %make_build cp vim minimal-vim make clean + mv -f os_unix.h.save os_unix.h -%if %{with gui} -# More configure options: -# --enable-xim - enabling X Input Method - international input module for X, -# it is for multibyte languages in Vim with X -# --enable-termtruecolor - use terminal with true colors - -%configure CFLAGS="${CFLAGS} -DSYS_VIMRC_FILE='\"/etc/vimrc\"'" \ - --with-features=huge \ - --enable-python3interp=dynamic \ - --disable-tclinterp --with-x=yes \ - --enable-xim --enable-multibyte \ - --with-tlib=ncurses \ - --enable-gtk3-check --enable-gui=gtk3 \ - --enable-fips-warning \ - --with-compiledby="" --enable-cscope \ - --with-modified-by="" \ - %if "%{withnetbeans}" == "1" - --enable-netbeans \ - %else - --disable-netbeans \ - %endif - %if %{WITH_SELINUX} - --enable-selinux \ - %else - --disable-selinux \ - %endif - %if "%{withperl}" == "1" - --enable-perlinterp=dynamic \ - --with-xsubpp=$(which xsubpp) \ - %else - --disable-perlinterp \ - %endif - %if "%{withruby}" == "1" - --enable-rubyinterp=dynamic \ - %else - --disable-rubyinterp \ - %endif - %if "%{withlua}" == "1" - --enable-luainterp=dynamic \ - %else - --disable-luainterp \ - %endif - %if %{with libsodium_crypt} - --enable-libsodium \ - %else - --disable-libsodium \ - %endif - --enable-fail-if-missing \ - --enable-canberra - -%make_build -cp vim gvim -make clean -%endif - %configure CFLAGS="${CFLAGS} -DSYS_VIMRC_FILE='\"/etc/vimrc\"'" \ --prefix=%{_prefix} --with-features=huge \ --enable-python3interp=dynamic \ + --with-python3-stable-abi \ --disable-tclinterp \ --with-x=no \ --enable-gui=no --exec-prefix=%{_prefix} --enable-multibyte \ @@ -522,6 +466,11 @@ make clean --with-tlib=ncurses \ --enable-fips-warning \ --with-compiledby="" \ +%if %{with gpm} + --enable-gpm \ +%else + --disable-gpm \ +%endif %if "%{withnetbeans}" == "1" --enable-netbeans \ %else @@ -554,26 +503,96 @@ make clean --disable-libsodium \ %endif --enable-fail-if-missing \ + --without-wayland \ + --enable-year2038 \ --disable-canberra %make_build cp vim enhanced-vim + +%if %{with gui} +# More configure options: +# --enable-xim - enabling X Input Method - international input module for X, +# it is for multibyte languages in Vim with X +# --enable-termtruecolor - use terminal with true colors + +%configure CFLAGS="${CFLAGS} -DSYS_VIMRC_FILE='\"/etc/vimrc\"'" \ + --with-features=huge \ + --enable-python3interp=dynamic \ + --with-python3-stable-abi \ + --disable-tclinterp --with-x=yes \ + --enable-xim --enable-multibyte \ + --with-tlib=ncurses \ + --enable-gtk3-check --enable-gui=gtk3 \ + --enable-fips-warning \ + --with-compiledby="" --enable-cscope \ + --with-modified-by="" \ + %if %{with gpm} + --enable-gpm \ + %else + --disable-gpm \ + %endif + %if "%{withnetbeans}" == "1" + --enable-netbeans \ + %else + --disable-netbeans \ + %endif + %if %{WITH_SELINUX} + --enable-selinux \ + %else + --disable-selinux \ + %endif + %if "%{withperl}" == "1" + --enable-perlinterp=dynamic \ + --with-xsubpp=$(which xsubpp) \ + %else + --disable-perlinterp \ + %endif + %if "%{withruby}" == "1" + --enable-rubyinterp=dynamic \ + %else + --disable-rubyinterp \ + %endif + %if "%{withlua}" == "1" + --enable-luainterp=dynamic \ + %else + --disable-luainterp \ + %endif + %if %{with libsodium_crypt} + --enable-libsodium \ + %else + --disable-libsodium \ + %endif + --enable-fail-if-missing \ + --with-wayland \ + --enable-year2038 \ + --enable-socketserver \ + --enable-canberra + +%make_build +cp vim gvim +make clean +%endif + + %install mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_datadir}/%{name}/vimfiles/{after,autoload,colors,compiler,doc,ftdetect,ftplugin,indent,keymap,lang,plugin,print,spell,syntax,tutor} mkdir -p %{buildroot}/%{_datadir}/%{name}/vimfiles/after/{autoload,colors,compiler,doc,ftdetect,ftplugin,indent,keymap,lang,plugin,print,spell,syntax,tutor} cp -f %{SOURCE7} %{buildroot}/%{_datadir}/%{name}/vimfiles/template.spec -cp runtime/doc/uganda.txt LICENSE # Those aren't Linux info files but some binary files for Amiga: rm -f README*.info - cd src +# related to the issue with `make depend`, auto/osdef.h +# has to be generated +make auto/osdef.h auto/gui_gtk_gresources.h auto/wayland/wlr-data-control-unstable-v1.h # Adding STRIP=/bin/true, because Vim wants to strip the binaries by himself # and put the stripped files into correct dirs. Build system (koji/brew) # does it for us, so there is no need to do it in Vim %make_install BINDIR=%{_bindir} STRIP=/bin/true + # make install creates vim binary and view symlink, they will be wrappers # so remove them here rm -f %{buildroot}%{_bindir}/{vim,view} @@ -604,7 +623,7 @@ install -p -m644 %{SOURCE6} \ # See http://www.freedesktop.org/software/appstream/docs/ for more details. # mkdir -p $RPM_BUILD_ROOT%{_datadir}/metainfo -cat > $RPM_BUILD_ROOT%{_datadir}/metainfo/gvim.appdata.xml < $RPM_BUILD_ROOT%{_datadir}/metainfo/gvim.appdata.xml <<"EOF" + gvim.desktop EOF appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml -for i in gvim.1 gex.1 gview.1 vimx.1; do +# do not put gvim.1, gview.1, eview.1, rgvim and rgview here - they already contains the link, +# and changing it here will rewrite original vim.1 - bz#2392178 +for i in gex.1 vimx.1 evim.1; do echo ".so man1/vim.1" > %{buildroot}/%{_mandir}/man1/$i done -echo ".so man1/vimdiff.1" > %{buildroot}/%{_mandir}/man1/gvimdiff.1 + echo ".so man1/vimtutor.1" > %{buildroot}/%{_mandir}/man1/gvimtutor.1 %else # Remove files included in X11 subpackage, but built by default: @@ -665,9 +694,9 @@ rm %{buildroot}/%{_datadir}/icons/{hicolor,locolor}/*/apps/gvim.png %endif ( cd %{buildroot} - ln -sf %{_libexecdir}/vi .%{_bindir}/rvi - ln -sf %{_libexecdir}/vi .%{_bindir}/rview - ln -sf %{_libexecdir}/vi .%{_bindir}/ex + ln -sf ../..%{_libexecdir}/vi .%{_bindir}/rvi + ln -sf ../..%{_libexecdir}/vi .%{_bindir}/rview + ln -sf ../..%{_libexecdir}/vi .%{_bindir}/ex ln -sf vim .%{_bindir}/rvim ln -sf vim .%{_bindir}/vimdiff perl -pi -e "s,%{buildroot},," .%{_mandir}/man1/vim.1 .%{_mandir}/man1/vimtutor.1 @@ -680,10 +709,13 @@ rm %{buildroot}/%{_datadir}/icons/{hicolor,locolor}/*/apps/gvim.png ln -sf vim.1.gz .%{_mandir}/man1/vimdiff.1.gz %if %{with gui} + ln -sf gvim ./%{_bindir}/evim + ln -sf gvim ./%{_bindir}/eview ln -sf gvim ./%{_bindir}/gview ln -sf gvim ./%{_bindir}/gex - ln -sf gvim ./%{_bindir}/evim ln -sf gvim ./%{_bindir}/gvimdiff + ln -sf gvim ./%{_bindir}/rgvim + ln -sf gvim ./%{_bindir}/rgview ln -sf gvim ./%{_bindir}/vimx %if "%{desktop_file}" == "1" @@ -703,30 +735,6 @@ rm %{buildroot}/%{_datadir}/icons/{hicolor,locolor}/*/apps/gvim.png ln -sf menu_ja_jp.ujis.vim menu_ja_jp.eucjp.vim ) ) -pushd %{buildroot}/%{_datadir}/%{name}/%{vimdir}/tutor -mkdir conv - iconv -f CP1252 -t UTF8 tutor.ca > conv/tutor.ca - iconv -f CP1252 -t UTF8 tutor.it > conv/tutor.it - #iconv -f CP1253 -t UTF8 tutor.gr > conv/tutor.gr - iconv -f CP1252 -t UTF8 tutor.fr > conv/tutor.fr - iconv -f CP1252 -t UTF8 tutor.es > conv/tutor.es - iconv -f CP1252 -t UTF8 tutor.de > conv/tutor.de - #iconv -f CP737 -t UTF8 tutor.gr.cp737 > conv/tutor.gr.cp737 - #iconv -f EUC-JP -t UTF8 tutor.ja.euc > conv/tutor.ja.euc - #iconv -f SJIS -t UTF8 tutor.ja.sjis > conv/tutor.ja.sjis - iconv -f UTF8 -t UTF8 tutor.ja.utf-8 > conv/tutor.ja.utf-8 - iconv -f UTF8 -t UTF8 tutor.ko.utf-8 > conv/tutor.ko.utf-8 - iconv -f CP1252 -t UTF8 tutor.no > conv/tutor.no - iconv -f ISO-8859-2 -t UTF8 tutor.pl > conv/tutor.pl - iconv -f ISO-8859-2 -t UTF8 tutor.sk > conv/tutor.sk - iconv -f KOI8R -t UTF8 tutor.ru > conv/tutor.ru - iconv -f CP1252 -t UTF8 tutor.sv > conv/tutor.sv - mv -f tutor.ja.euc tutor.ja.sjis tutor.ko.euc tutor.pl.cp1250 tutor.zh.big5 tutor.ru.cp1251 tutor.zh.euc tutor.sr.cp1250 tutor.sr.utf-8 conv/ - rm -f tutor.ca tutor.de tutor.es tutor.fr tutor.gr tutor.it tutor.ja.utf-8 tutor.ko.utf-8 tutor.no tutor.pl tutor.sk tutor.ru tutor.sv -mv -f conv/* . -rmdir conv -popd - # Dependency cleanups chmod 644 %{buildroot}/%{_datadir}/%{name}/%{vimdir}/doc/vim2html.pl \ %{buildroot}/%{_datadir}/%{name}/%{vimdir}/tools/*.pl \ @@ -737,21 +745,6 @@ mkdir -p %{buildroot}%{_sysconfdir} install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/virc install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/vimrc -# if Vim isn't built for Fedora, use redhat augroup -%if 0%{?rhel} >= 7 -sed -i -e "s/augroup fedora/augroup redhat/" %{buildroot}/%{_sysconfdir}/vimrc -sed -i -e "s/augroup fedora/augroup redhat/" %{buildroot}/%{_sysconfdir}/virc -%endif - -%if %{with default_editor} -mkdir -p %{buildroot}/%{_sysconfdir}/profile.d -install -p -m644 %{SOURCE9} %{buildroot}/%{_sysconfdir}/profile.d/vim-default-editor.sh -install -p -m644 %{SOURCE10} %{buildroot}/%{_sysconfdir}/profile.d/vim-default-editor.csh -mkdir -p %{buildroot}/%{_datadir}/fish/vendor_conf.d/ -install -p -m644 %{SOURCE11} %{buildroot}/%{_datadir}/fish/vendor_conf.d/vim-default-editor.fish -mkdir -p %{buildroot}/%{_datadir}/fish/vendor_functions.d/ -%endif - mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/ install -p -m644 %{SOURCE8} %{buildroot}%{_rpmconfigdir}/macros.d/ @@ -782,6 +775,27 @@ echo ".so man1/vim.1" > %{buildroot}/%{_mandir}/man5/vimrc.5 echo ".so man1/vi.1" > %{buildroot}/%{_mandir}/man5/virc.5 touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags +# upstream now tries to install LICENSE and README into VIMDIR +# but we ship them in licensedir and docdir, so we remove the dupes +# from VIMDIR +rm %{buildroot}%{_datadir}/%{name}/%{vimdir}/LICENSE +rm %{buildroot}%{_datadir}/%{name}/%{vimdir}/README.txt + +# if Vim isn't built for Fedora, use redhat augroup +%if 0%{?rhel} >= 7 +sed -i -e "s/augroup fedora/augroup redhat/" %{buildroot}/%{_sysconfdir}/vimrc +sed -i -e "s/augroup fedora/augroup redhat/" %{buildroot}/%{_sysconfdir}/virc +%endif + +%if %{with default_editor} +mkdir -p %{buildroot}/%{_sysconfdir}/profile.d +install -p -m644 %{SOURCE9} %{buildroot}/%{_sysconfdir}/profile.d/vim-default-editor.sh +install -p -m644 %{SOURCE10} %{buildroot}/%{_sysconfdir}/profile.d/vim-default-editor.csh +mkdir -p %{buildroot}/%{_datadir}/fish/vendor_conf.d/ +install -p -m644 %{SOURCE11} %{buildroot}/%{_datadir}/fish/vendor_conf.d/vim-default-editor.fish +mkdir -p %{buildroot}/%{_datadir}/fish/vendor_functions.d/ +%endif + # Refresh documentation helptags %transfiletriggerin common -- %{_datadir}/%{name}/vimfiles/doc @@ -816,11 +830,7 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags %{_datadir}/%{name}/%{vimdir}/print %{_datadir}/%{name}/%{vimdir}/syntax %{_datadir}/%{name}/%{vimdir}/tutor - -%if ! %{withvimspell} %{_datadir}/%{name}/%{vimdir}/spell -%endif - %lang(af) %{_datadir}/%{name}/%{vimdir}/lang/af %lang(ca) %{_datadir}/%{name}/%{vimdir}/lang/ca %lang(cs) %{_datadir}/%{name}/%{vimdir}/lang/cs @@ -833,6 +843,8 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags %lang(fi) %{_datadir}/%{name}/%{vimdir}/lang/fi %lang(fr) %{_datadir}/%{name}/%{vimdir}/lang/fr %lang(ga) %{_datadir}/%{name}/%{vimdir}/lang/ga +%lang(hu) %{_datadir}/%{name}/%{vimdir}/lang/hu +%lang(hy) %{_datadir}/%{name}/%{vimdir}/lang/hy %lang(it) %{_datadir}/%{name}/%{vimdir}/lang/it %lang(ja) %{_datadir}/%{name}/%{vimdir}/lang/ja %lang(ja.euc-jp) %{_datadir}/%{name}/%{vimdir}/lang/ja.euc-jp @@ -869,9 +881,13 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags %{_mandir}/man5/vimrc.* %if %{with gui} +%{_mandir}/man1/eview.* +%{_mandir}/man1/evim.* %{_mandir}/man1/gex.* %{_mandir}/man1/gview.* %{_mandir}/man1/gvim* +%{_mandir}/man1/rgvim.* +%{_mandir}/man1/rgview.* %{_mandir}/man1/vimx.* %endif @@ -884,63 +900,6 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags %lang(ru) %{_mandir}/ru/man1/* %lang(tr) %{_mandir}/tr/man1/* -%if %{withvimspell} -%files spell -%dir %{_datadir}/%{name}/%{vimdir}/spell -%{_datadir}/%{name}/vim70/spell/cleanadd.vim -%lang(af) %{_datadir}/%{name}/%{vimdir}/spell/af.* -%lang(am) %{_datadir}/%{name}/%{vimdir}/spell/am.* -%lang(bg) %{_datadir}/%{name}/%{vimdir}/spell/bg.* -%lang(ca) %{_datadir}/%{name}/%{vimdir}/spell/ca.* -%lang(cs) %{_datadir}/%{name}/%{vimdir}/spell/cs.* -%lang(cy) %{_datadir}/%{name}/%{vimdir}/spell/cy.* -%lang(da) %{_datadir}/%{name}/%{vimdir}/spell/da.* -%lang(de) %{_datadir}/%{name}/%{vimdir}/spell/de.* -%lang(el) %{_datadir}/%{name}/%{vimdir}/spell/el.* -%lang(en) %{_datadir}/%{name}/%{vimdir}/spell/en.* -%lang(eo) %{_datadir}/%{name}/%{vimdir}/spell/eo.* -%lang(es) %{_datadir}/%{name}/%{vimdir}/spell/es.* -%lang(fo) %{_datadir}/%{name}/%{vimdir}/spell/fo.* -%lang(fr) %{_datadir}/%{name}/%{vimdir}/spell/fr.* -%lang(ga) %{_datadir}/%{name}/%{vimdir}/spell/ga.* -%lang(gd) %{_datadir}/%{name}/%{vimdir}/spell/gd.* -%lang(gl) %{_datadir}/%{name}/%{vimdir}/spell/gl.* -%lang(he) %{_datadir}/%{name}/%{vimdir}/spell/he.* -%lang(hr) %{_datadir}/%{name}/%{vimdir}/spell/hr.* -%lang(hu) %{_datadir}/%{name}/%{vimdir}/spell/hu.* -%lang(id) %{_datadir}/%{name}/%{vimdir}/spell/id.* -%lang(it) %{_datadir}/%{name}/%{vimdir}/spell/it.* -%lang(ku) %{_datadir}/%{name}/%{vimdir}/spell/ku.* -%lang(la) %{_datadir}/%{name}/%{vimdir}/spell/la.* -%lang(lt) %{_datadir}/%{name}/%{vimdir}/spell/lt.* -%lang(lv) %{_datadir}/%{name}/%{vimdir}/spell/lv.* -%lang(mg) %{_datadir}/%{name}/%{vimdir}/spell/mg.* -%lang(mi) %{_datadir}/%{name}/%{vimdir}/spell/mi.* -%lang(ms) %{_datadir}/%{name}/%{vimdir}/spell/ms.* -%lang(nb) %{_datadir}/%{name}/%{vimdir}/spell/nb.* -%lang(nl) %{_datadir}/%{name}/%{vimdir}/spell/nl.* -%lang(nn) %{_datadir}/%{name}/%{vimdir}/spell/nn.* -%lang(ny) %{_datadir}/%{name}/%{vimdir}/spell/ny.* -%lang(pl) %{_datadir}/%{name}/%{vimdir}/spell/pl.* -%lang(pt) %{_datadir}/%{name}/%{vimdir}/spell/pt.* -%lang(ro) %{_datadir}/%{name}/%{vimdir}/spell/ro.* -%lang(ru) %{_datadir}/%{name}/%{vimdir}/spell/ru.* -%lang(rw) %{_datadir}/%{name}/%{vimdir}/spell/rw.* -%lang(sk) %{_datadir}/%{name}/%{vimdir}/spell/sk.* -%lang(sl) %{_datadir}/%{name}/%{vimdir}/spell/sl.* -%lang(sr) %{_datadir}/%{name}/%{vimdir}/spell/sr.* -%lang(sv) %{_datadir}/%{name}/%{vimdir}/spell/sv.* -%lang(sw) %{_datadir}/%{name}/%{vimdir}/spell/sw.* -%lang(tet) %{_datadir}/%{name}/%{vimdir}/spell/tet.* -%lang(th) %{_datadir}/%{name}/%{vimdir}/spell/th.* -%lang(tl) %{_datadir}/%{name}/%{vimdir}/spell/tl.* -%lang(tn) %{_datadir}/%{name}/%{vimdir}/spell/tn.* -%lang(uk) %{_datadir}/%{name}/%{vimdir}/spell/uk.* -%lang(yi) %{_datadir}/%{name}/%{vimdir}/spell/yi.* -%lang(yi-tr) %{_datadir}/%{name}/%{vimdir}/spell/yi-tr.* -%lang(zu) %{_datadir}/%{name}/%{vimdir}/spell/zu.* -%endif - %files minimal %config(noreplace) %{_sysconfdir}/virc %{_bindir}/ex @@ -1001,7 +960,9 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags %{_bindir}/vimtutor %{_bindir}/vimx %{_bindir}/evim -%{_mandir}/man1/evim.* +%{_bindir}/eview +%{_bindir}/rgvim +%{_bindir}/rgview %dir %{_datadir}/icons/hicolor %dir %{_datadir}/icons/hicolor/* %dir %{_datadir}/icons/hicolor/*/apps @@ -1034,6 +995,224 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags %changelog +* Fri Jan 09 2026 Zdenek Dohnal - 2:9.1.2068-1 +- patchlevel 2068 + +* Fri Dec 19 2025 Zdenek Dohnal - 2:9.1.1999-1 +- patchlevel 1999 + +* Fri Dec 12 2025 Zdenek Dohnal - 2:9.1.1972-1 +- patchlevel 1972 + +* Fri Dec 05 2025 Zdenek Dohnal - 2:9.1.1952-1 +- patchlevel 1952 + +* Fri Nov 14 2025 Zdenek Dohnal - 2:9.1.1914-1 +- patchlevel 1914 + +* Fri Oct 31 2025 Zdenek Dohnal - 2:9.1.1888-1 +- patchlevel 1888 + +* Fri Oct 17 2025 Zdenek Dohnal - 2:9.1.1863-1 +- patchlevel 1863 + +* Fri Oct 10 2025 Zdenek Dohnal - 2:9.1.1845-1 +- patchlevel 1845 + +* Fri Oct 03 2025 Zdenek Dohnal - 2:9.1.1818-1 +- patchlevel 1818 + +* Mon Sep 29 2025 Zdenek Dohnal - 2:9.1.1775-2 +- remove XPM support - GVim icons work without it + +* Fri Sep 19 2025 Zdenek Dohnal - 2:9.1.1775-1 +- patchlevel 1775 + +* Wed Sep 10 2025 Zdenek Dohnal - 2:9.1.1723-2 +- Restore lost --remote-tab... functionality on wayland (fedora#2393716) + +* Mon Sep 01 2025 Zdenek Dohnal - 2:9.1.1723-1 +- patchlevel 1723 + +* Mon Sep 01 2025 Zdenek Dohnal - 2:9.1.1706-2 +- broken /usr/bin/ex symlink in vim-9.1.1706-1.fc42 (fedora#2392249) +- vim-common has broken manpages (fedora#2392178) + +* Fri Aug 29 2025 Zdenek Dohnal - 2:9.1.1706-1 +- patchlevel 1706 + +* Mon Aug 11 2025 Zdenek Dohnal - 2:9.1.1623-1 +- patchlevel 1623 + +* Fri Aug 01 2025 Zdenek Dohnal - 2:9.1.1591-1 +- patchlevel 1591 + +* Fri Jul 25 2025 Fedora Release Engineering - 2:9.1.1552-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Wed Jul 16 2025 Zdenek Dohnal - 2:9.1.1552-1 +- patchlevel 1552 + +* Mon Jul 14 2025 Zdenek Dohnal - 2:9.1.1537-2 +- 2379759 - remove wayland-libs from vim and vi (fedora#2379759) + +* Fri Jul 11 2025 Zdenek Dohnal - 2:9.1.1537-1 +- patchlevel 1537 + +* Fri Jun 27 2025 Zdenek Dohnal - 2:9.1.1484-1 +- patchlevel 1484 + +* Thu Jun 19 2025 Zdenek Dohnal - 2:9.1.1435-2 +- FTBFS with Python 3.14 (fedora#2373314) + +* Fri Jun 06 2025 Zdenek Dohnal - 2:9.1.1435-1 +- patchlevel 1435 + +* Fri May 30 2025 Zdenek Dohnal - 2:9.1.1418-1 +- patchlevel 1418 + +* Fri Apr 11 2025 Zdenek Dohnal - 2:9.1.1291-1 +- patchlevel 1291 + +* Fri Apr 04 2025 Zdenek Dohnal - 2:9.1.1275-1 +- patchlevel 1275 + +* Fri Mar 21 2025 Zdenek Dohnal - 2:9.1.1227-1 +- patchlevel 1227 + +* Fri Mar 14 2025 Zdenek Dohnal - 2:9.1.1202-1 +- patchlevel 1202 + +* Fri Mar 07 2025 Zdenek Dohnal - 2:9.1.1179-1 +- patchlevel 1179 + +* Tue Mar 04 2025 Zdenek Dohnal - 2:9.1.1169-1 +- patchlevel 1169 + +* Wed Feb 19 2025 Zdenek Dohnal - 2:9.1.1122-1 +- patchlevel 1122 + +* Fri Feb 07 2025 Zdenek Dohnal - 2:9.1.1081-1 +- patchlevel 1081 + +* Mon Feb 03 2025 Zdenek Dohnal - 2:9.1.1000-2 +- Fix FTBFS (fedora#2341508) + +* Sun Jan 19 2025 Fedora Release Engineering - 2:9.1.1000-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Fri Jan 10 2025 Zdenek Dohnal - 2:9.1.1000-1 +- patchlevel 1000 + +* Fri Jan 03 2025 Zdenek Dohnal - 2:9.1.984-1 +- patchlevel 984 + +* Fri Dec 13 2024 Zdenek Dohnal - 2:9.1.919-1 +- patchlevel 919 + +* Fri Dec 06 2024 Zdenek Dohnal - 2:9.1.906-1 +- patchlevel 906 + +* Fri Nov 29 2024 Zdenek Dohnal - 2:9.1.895-1 +- patchlevel 895 + +* Fri Nov 15 2024 Zdenek Dohnal - 2:9.1.866-1 +- patchlevel 866 + +* Fri Nov 01 2024 Zdenek Dohnal - 2:9.1.825-1 +- patchlevel 825 + +* Tue Oct 15 2024 Zdenek Dohnal - 2:9.1.785-1 +- patchlevel 785 + +* Fri Sep 20 2024 Zdenek Dohnal - 2:9.1.737-1 +- patchlevel 737 (fedora#2311860) + +* Fri Sep 06 2024 Zdenek Dohnal - 2:9.1.719-1 +- patchlevel 719 + +* Fri Aug 30 2024 Zdenek Dohnal - 2:9.1.703-1 +- patchlevel 703 + +* Mon Aug 12 2024 Zdenek Dohnal - 2:9.1.672-1 +- patchlevel 672 + +* Fri Aug 09 2024 Zdenek Dohnal - 2:9.1.660-2 +- 2303669 - vim in rawhide (41) can't load python library + +* Mon Aug 05 2024 Zdenek Dohnal - 2:9.1.660-1 +- patchlevel 660 + +* Fri Jul 26 2024 Benjamin Gilbert - 2:9.1.571-3 +- Require gdk-pixbuf2-modules-extra on F41+ -X11 for XPM loading (rhbz#2277751) + +* Sat Jul 20 2024 Fedora Release Engineering - 2:9.1.571-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jul 12 2024 Zdenek Dohnal - 2:9.1.571-1 +- patchlevel 571 + +* Fri Jul 12 2024 Zdenek Dohnal - 2:9.1.544-2 +- fix upstream-scripttests in CI - new test needs our downstream 'set mouse=a' to pass + +* Mon Jul 08 2024 Zdenek Dohnal - 2:9.1.544-1 +- patchlevel 544 + +* Fri May 31 2024 Zdenek Dohnal - 2:9.1.452-1 +- patchlevel 452 + +* Mon May 06 2024 Zdenek Dohnal - 2:9.1.393-1 +- patchlevel 393 + +* Fri Apr 19 2024 Zdenek Dohnal - 2:9.1.354-1 +- patchlevel 354 + +* Fri Apr 12 2024 Zdenek Dohnal - 2:9.1.309-1 +- patchlevel 309 + +* Fri Apr 05 2024 Zdenek Dohnal - 2:9.1.264-1 +- patchlevel 264 + +* Tue Apr 02 2024 Zdenek Dohnal - 2:9.1.252-1 +- patchlevel 252 + +* Fri Mar 15 2024 Zdenek Dohnal - 2:9.1.181-1 +- patchlevel 181 + +* Fri Mar 08 2024 Zdenek Dohnal - 2:9.1.158-1 +- patchlevel 158 + +* Fri Feb 16 2024 Zdenek Dohnal - 2:9.1.113-1 +- patchlevel 113 + +* Fri Feb 09 2024 Zdenek Dohnal - 2:9.1.083-1 +- patchlevel 083 + +* Mon Feb 05 2024 Zdenek Dohnal - 2:9.1.076-2 +- enable building without GPM support - build with GPM in Fedora +- 2262371 - gvim: symbol lookup error: gvim: undefined symbol: g_once_init_enter_pointer + +* Mon Feb 05 2024 Zdenek Dohnal - 2:9.1.076-1 +- patchlevel 076 + +* Sat Jan 27 2024 Fedora Release Engineering - 2:9.1.031-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Jan 16 2024 Zdenek Dohnal - 2:9.1.031-1 +- patchlevel 031 + +* Mon Jan 08 2024 Zdenek Dohnal - 2:9.1.016-1 +- patchlevel 016 + +* Tue Jan 02 2024 Zdenek Dohnal - 2:9.0.2190-1 +- patchlevel 2190 + +* Fri Dec 15 2023 Zdenek Dohnal - 2:9.0.2167-1 +- patchlevel 2167 + +* Fri Dec 08 2023 Zdenek Dohnal - 2:9.0.2153-1 +- patchlevel 2153 + * Wed Nov 22 2023 Zdenek Dohnal - 2:9.0.2120-1 - patchlevel 2120 diff --git a/vimrc b/vimrc index 4842faf2..4ef9d92d 100644 --- a/vimrc +++ b/vimrc @@ -54,10 +54,14 @@ if has("autocmd") " In text files, always limit the width of text to 78 characters " autocmd BufRead *.txt set tw=78 " When editing a file, always jump to the last cursor position + " (taken from Vim's defaults.vim) autocmd BufReadPost * - \ if line("'\"") > 0 && line ("'\"") <= line("$") | - \ exe "normal! g'\"" | - \ endif + \ let line = line("'\"") + \ | if line >= 1 && line <= line("$") && &filetype !~# 'commit' + \ && index(['xxd', 'gitrebase', 'tutor'], &filetype) == -1 + \ && !&diff + \ | execute "normal! g`\"" + \ | endif " don't write swapfile on most commonly used directories for NFS mounts or USB sticks autocmd BufNewFile,BufReadPre /media/*,/run/media/*,/mnt/* set directory=~/tmp,/var/tmp,/tmp " start with spec file template