Yakaburitsa vhezheni itsva yeRPM 4.15, iyo yakatoverengerwa muFedora 31 beta

Mushure memakore angangoita maviri ekuvandudza, kuvhurwa kweiyo nyowani shanduro kubva kumaneja wepakeji RPM 4.15.0. RPM Package Manager (kana RPM, pakutanga yaidaidzwa kuti Red Hat Package Manager, asi yakava chirevo chinodzokorodza) chishandiso chekushandisa package yakanyatsoitirwa GNU / Linux. Iyo inokwanisa kuisa, kugadzirisa, kusunungura, kuongorora uye kukumbira zvirongwa.

Iyo RPM4 chirongwa chinogadzirwa neRed Hat uye chinoshandiswa mukugovera seRHEL (kusanganisira mapurojekiti akatorwa kubva ku CentOS, Sayenzi Linux, AsiaLinux, Red Mira Linux, Oracle Linux), Fedora, SUSE, openSUSE, ALT Linux, OpenMandriva, Mageia, PCLinuxOS, Tizen, nevamwe vazhinji.

Pakutanga, rakazvimiririra timu yekusimudzira yakagadzira iyo RPM5 chirongwa, icho chisina kuenderana zvakananga neRPM4 uye parizvino chakasiiwa (hachina kuvandudzwa kubvira 2010).

Iyo RPM package inogona kuve neinopokana seti yemafaira. Ruzhinji rwe RPM mafaera ari "binary RPM" (kana BRPM) iyo ine chinyorwa chakanyorwa cheimwe software.

Kune zvakare "sosi RPMs" (kana SRPM) iyo ine kodhi yekodhi inoshandiswa kuvaka bhaari yepakeji.

Aya ane tag yakakodzera mumusoro wefaira unovasiyanisa neakajairika maRPM, zvichikonzera kuti vaburitswe ku / usr / src pakuisirwa.

SRPMs inowanzo kuve neiyo faira yekuwedzera ".src.rpm" (.spm mune mafaira masisitimu akaganhurirwa kune mavara matatu akareba, semuenzaniso maDOS FATs ekare).

RPM maficha anosanganisira:

  • Mapakeji anogona kuvharidzirwa uye kusimbiswa neGPG uye MD5.
  • Kodhi kodhi mafaera (semuenzaniso .tar.gz, .tar.bz2) inosanganisirwa muma SRPMs, zvichibvumidza kuitiswa kwekupedzisira.
  • PatchRPMs uye DeltaRPMs, ayo akaenzana nepatch mafaira, anogona kuwedzera kuwedzera kumisikidza akaisa RPM mapakeji.
  • Kutsamira kunogona kugadziriswa otomatiki nemaneja wepakeji.

Chii chitsva muRPM 4.15

Mune iyi vhezheni itsva ye RPM 4.15 Rpmbuild inowedzera rutsigiro rwekusimba pakuvaka kutsamira pamwe nekuiswa kwayo mu src.rpm. Wakawedzera rutsigiro rwe "% gadzira_zvinodiwa" chikamu mune iyo faira refaira, zvirimo zvinobatwa senge runyorwa rwevanotsamira (BuildRequires) inoda kuongororwa (kana pasina kuvimba, kukanganisa kucharatidzwa).

Chimwe chinhu chitsva mukuburitswa uku ndechekuti yakawedzera rutsigiro rwekuyedza rwekuvhiya kunoenderana nechroot pasina kuda midzi (kuburikidza nenzvimbo dzemushandisi nzvimbo) idzo zvichakwanisika kuita makomisheni pasina ropafadzo munzvimbo dzenzou.

Ukuwo, Parallelization package yakaiswa rutsigiro yakaitwa pane akawanda-epakati masisitimu. Muganhu wehuwandu hweshinda wakaiswa kuburikidza nemacro "% _smp_build_ncpus" uye iyo inoshanduka $ RPM_.

Uyewo Tsigiro yekuvakwa kweARM yakagadziridzwa, pamwe nekutsigira armv8 yakawedzerwa.

Imwe shanduko yakakosha ndeye kuwedzera dummy dhatabhesi backend kubatsira RPM kumhanya pane asiri-RPMDB masisitimu seDebian.

Yeimwe shanduko dzinooneswa mushambadziro:

  • Wakawedzera "-scm" sarudzo yekugonesa "% autosetup SCM" modhi
  • Yakawedzera yakavakirwa-mukati macro "% {expr:…") kuverenga zvirevo zvinomisikidza (fomati "% [expr]" yakataurwawo mazuva mashoma apfuura)
  • UTF-8 encoding inoshandiswa nekutadza kwetambo dhata mumusoro
  • Wakawedzera macros epasi rese% build_cflags,% build_cxxflags,% build_fflags uye% build_ldflags ane mireza ye compiler uye linker
  • Wakawedzera macro "% dnl" (Rasa kumutsara unotevera) kuisa makomendi
  • Izvo zvisungo zve Python 3 zvinopa tambo inodzoka muchimiro chekudzivirira UTF-8 kuteedzana panzvimbo yedete dete.
  • Kuenderera mberi kutsigirwa kunopihwa Lua 5.2-5.3, iyo isingade tsananguro dzekuenderana mukodhi.
  • Wakawedzera chikamu chitsva "% patchlist" uye "% sourcelist", icho chinogona kushandiswa kuwedzera zvigamba nekodhi yekodhi kubva pane nyore runyorwa rwemazita pasina kudoma manhamba enhamba (semuenzaniso, pachinzvimbo che "Patch0: - popt 1,16-pkgconfig.patch »patchlist chikamu, unogona kudoma%« popt-1.16-pkgconfig.patch »);

Chekupedzisira, kune avo vanofarira kuyedza kusimudzira kweiyi nyowani vhezheni yemaneja wepakeji, vanofanirwa kuziva izvozvo iyo Fedora 31 beta ndeimwe yekutanga distros yekushandisa iyi nyowani vhezheni ye RPM 4.15.

Kana iwe uchida kuziva zvakawanda nezvazvo unogona kubvunza chinotevera chinongedzo.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako