Re: Silent changes in Packaging Guidelines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, 3 Nov 2022 at 12:24, Gary Buhrmaster <gary.buhrmaster@xxxxxxxxx> wrote:
On Thu, Nov 3, 2022 at 3:57 PM Adam Williamson
<adamwill@xxxxxxxxxxxxxxxxx> wrote:

> there, I did it for free. Took one minute.

Clearly it should be submitted as a PR to the kernel package.

And another for the glibc package (that
one likely will take more than a minute).


So glibc will be hard one because it has sections like:
```
 %files -f langpack-]]..lang..[[.filelist langpack-]]..lang..[[
]]))
end

for i = 1, #locales do
   lang_package(locales[i])
end
}
```
and
```
%files -f devel.filelist devel
%if %{glibc_autorequires}
%attr(0755,root,root) %{_rpmconfigdir}/glibc.req
%{_fileattrsdir}/glibc.attr
%endif
```

Looking through the spec files used for rawhide today.. there are 1242 packages which use %{bindir}/* with the bulk of them in golang and perl.
```
ssmoogen@ssmoogen-rh:~/GPG/rpm-specs$ egrep '^%{_includedir}/\*' *spec | wc -l
487
ssmoogen@ssmoogen-rh:~/GPG/rpm-specs$ egrep '^%{_docdir}/\*' *spec | wc -l
6
ssmoogen@ssmoogen-rh:~/GPG/rpm-specs$ egrep '^%{_mandir}/\*' *spec | wc -l
417
ssmoogen@ssmoogen-rh:~/GPG/rpm-specs$ egrep '^%{_bindir}/\*' *spec | wc -l
1242
ssmoogen@ssmoogen-rh:~/GPG/rpm-specs$ egrep '^%{_datadir}/\*' *spec | wc -l
3
```

the two small sets are like
```
ssmoogen@ssmoogen-rh:~/GPG/rpm-specs$ egrep '^%{_datadir}/\*' *spec
gawk.spec:%{_datadir}/*awk
gnome-pomodoro.spec:%{_datadir}/*/org.gnome.Pomodoro.appdata.xml
htmlcxx.spec:%{_datadir}/*
ssmoogen@ssmoogen-rh:~/GPG/rpm-specs$ egrep '^%{_docdir}/\*' *spec
acpica-tools.spec:%{_docdir}/*/*
assimp.spec:%{_docdir}/*
freecell-solver.spec:%{_docdir}/*
prboom-plus.spec:%{_docdir}/*
sblim-sfcc.spec:%{_docdir}/*
vmod-querystring.spec:%{_docdir}/*
```

I am guessing the pomodoro would be ok and the others should be easyfix.

--
Stephen Smoogen, Red Hat Automotive
Let us be kind to one another, for most of us are fighting a hard battle. -- Ian MacClaren
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux