Wepụtara nsụgharị ọhụrụ nke RPM 4.15, nke etinyeworị na Fedora 31 beta

Mgbe ihe fọrọ nke nta ka ọ bụrụ afọ abụọ nke mmepe, mwepụta nke ọhụrụ mbipute site na njikwa ngwugwu RPM 4.15.0. RPM Ihe ngwugwu (ma ọ bụ RPM, nke akpọrọ Red Hat Package Manager, mana ọ ghọrọ aha nnabata) bụ ngwungwu njikwa ngwungwu ebumnuche maka GNU / Linux. Ọ nwere ike ịwụnye, imelite, iwepu, ikwenye na ịrịọ mmemme.

Ihe oru RPM4 bu Red Hat meputara ma jiri ya na nkesa dika RHEL (gụnyere oru sitere na CentOS, Linux sayensị, AsiaLinux, Linux Flag Linux, Linux Oracle), Fedora, SUSE, openSUSE, ALT Linux, OpenMandriva, Mageia, PCLinuxOS, Tizen, na ọtụtụ ndị ọzọ.

N'oge gara aga, otu ndị mmepe kwụụrụ onwe ha rụpụtara ọrụ RPM5, nke na-enweghị njikọ kpọmkwem na RPM4 ma hapụ ya ugbu a (emelitebeghị ya kemgbe 2010).

Ngwungwu RPM nwere ike ịnwe faịlụ faịlị na-achọghị. Ọtụtụ n'ime RPM faịlụ ndị "ọnụọgụ abụọ RPM" (ma ọ bụ BRPM) nke nwere ụdị nchịkọta nke ngwanrọ ụfọdụ.

Enwekwara "isi iyi RPMs" (ma obu SRPM) nwere koodu ntinye nke eji aru ihe ngwugwu.

Ndị a nwere mkpado kwesịrị ekwesị na nkụnye eji isi mee faịlụ nke na-ama ọdịiche dị na ha na RPM nkịtị, na-eme ka ewepụta ha na / usr / src na ntinye.

SRPM na-enwekarị ndọtị faịlụ ahụ ".src.rpm" (.spm na sistemụ faịlụ nwere naanị mkpụrụedemede atọ ogologo, dịka ọmụmaatụ DOS FATs ochie).

Atụmatụ RPM gụnyere:

  • Enwere ike iji ezoro ezo ma gosipụta ngwugwu site na GPG na MD5.
  • A gụnyere faịlụ faịlụ isi (eg .tar.gz, .tar.bz2) na SRPMs, na-enye ohere maka nkwenye ọzọ.
  • PatchRPMs na DeltaRPMs, bụ ndị ha na patch faịlụ, nwere ike imelite nchịkọta RPM arụnyere.
  • Enwere ike idozi ịdabere na akpaghị aka site na njikwa ngwugwu.

Kedu ihe dị ọhụrụ na RPM 4.15

Na ụdị ọhụrụ a nke RPM 4.15 Rpmbuild na-agbakwunye nkwado maka ike ịdabere na ụlọ ya na ntinye ya na src.rpm. Nkwado agbakwunyere maka "% gene_buildrequires" na file ahụ, a na-eji ọdịnaya ya dị ka ndepụta nke ịdabere (BuildRequires) nke chọrọ nkwenye (ọ bụrụ na enweghị ntụkwasị obi, njehie ga-egosipụta)

Ihe ozo di na nputa a bu gbakwunyere nnwale nkwado maka arụmọrụ na-adabere na chroot na-enweghị mkpa mgbọrọgwụ (site na njirimara aha njirimara) nke enwere ike ịme mkpokọta na-enweghị ihe ùgwù na gburugburu ebe obibi.

N'aka nke ọzọ, Ejikọtara ngwugwu ngwakọ ngwakọ na sistemụ ọtụtụ isi. A na - etinye oke na eri eri site na nnukwu "% _smp_build_ncpus" yana agbanwe $ RPM_.

Ọzọkwa akwadoro ARM ije, gbakwunyere nkwado maka armv8 agbakwunyere.

Mgbanwe ọzọ dị mkpa bụ na-agbakwunye dummy database backend iji nyere RPM aka iji gbaa ọsọ na sistemụ na-abụghị RPMDB dị ka Debian.

Nke mgbanwe ndị ọzọ na-pụta ìhè na mgbasa ozi:

  • Etinyere nhọrọ “–scm” iji gbanye ọnọdụ “% autosetup SCM”
  • Agbakwụnye macro "% {expr:…}" iji gbakọọ okwu na-ezighi ezi (usoro "% [expr]" ka a tụkwara aro ụbọchị ole na ole gara aga)
  • A na-eji koodu UTF-8 eme ihe na ndabara maka data eriri na nkụnye eji isi mee
  • Gbakwunyere macros% build_cflags,% build_cxxflags,% build_fflags na% build_ldflags nwere ọkọlọtọ maka nchịkọta na njikọta.
  • Gbakwunyero nnukwu "% dnl" (Tụfuo usoro ọzọ) iji tinye ihe
  • Bindings maka Python 3 na-enye nloghachi eriri n'ụdị usoro UTF-8 echedoro karịa data byte.
  • G⁇ support ma gbɛ support́ p⁇ ́ Lua 5.2-5.3 wɛ ,́lɛ p⁇ ́ b⁇ ̀ Lua k ,́i d⁇ nia guu.
  • Gbakwunye ngalaba ọhụrụ "% patchlist" na "% sourcelist", nke enwere ike iji tinye patches na koodu isi site na ndepụta aha dị mfe na-enweghị akọwapụta ndekọ ndekọ (dịka ọmụmaatụ, kama "Patch0: - popt 1,16) -pkgconfig.patch »ngalaba patchlist, ị nwere ike dee%« popt-1.16-pkgconfig.patch »);

N'ikpeazụ, maka ndị nwere mmasị ịnwale ndozi nke ụdị ọhụrụ nke njikwa ngwugwu, ha kwesịrị ịma nke ahụ na Fedora 31 beta bụ otu n'ime distros mbụ iji mejuputa nsụgharị ọhụrụ nke RPM 4.15.

Ọ bụrụ n'ịchọrọ ịmatakwu banyere ya ị nwere ike ịkpọtụrụ njikọ na-esonụ.


Ọdịnaya nke isiokwu agbaso ụkpụrụ anyị nke ụkpụrụ nduzi. Kpesa mmejọ pịa ebe a.

Bụrụ onye mbụ ịza ajụjụ

Hapu okwu gi

Adreesị email gị agaghị bipụtara. Chọrọ ubi na-akara na *

*

*

  1. Rụ ọrụ maka data: Miguel Ángel Gatón
  2. Nzube nke data: Nchịkwa SPAM, njikwa okwu.
  3. Ikike: Nkwenye gị
  4. Nkwurịta okwu nke data: Agaghị agwa ndị ọzọ data ahụ ma ọ bụghị site na iwu.
  5. Nchekwa data: Ebe nchekwa data nke Occentus Networks (EU) kwadoro
  6. Ikike: Oge obula inwere ike igbachi, weghachite ma hichapụ ihe omuma gi.