Fixing wrong Bootstrapping part in Guidelines
by Jun Aruga
Dear Packagers who are using Boostrapping logic for the cyclical dependency
Need your help to fix wrong Bootstrapping part in Guidelines.
This mail is long.
Sorry for that in advance.
You may be building the cyclical dependency packages by using a variable such as _with_bootstrap, need_bootstrap, bootstrap, enable_test, and etc..
For example, you may build with below ways for that, if you will use mock command.
```
$ mock -r fedora-rawhide-x86_64 --with=bootstrap *.src.rpm
=> _with_bootstrap can be used as --with=bootstrap
$ mock -r fedora-rawhide-x86_64 --define '_with_bootstrap 1' *.src.rpm
$ mock -r fedora-rawhide-x86_64 --define 'need_bootstrap 1' *.src.rpm
$ mock -r fedora-rawhide-x86_64 --define 'enable_test 1' *.src.rpm
...
```
Here is a document page to unify the Bootstrap logic.
You may know it.
https://fedoraproject.org/wiki/Packaging:Guidelines#Bootstrapping
However I found that below part in the page is wrong.
```
%{!?_with_bootstrap: %global bootstrap 1}
```
Because ..
If _with_bootstrap is not set from outside, bootstrap is 1
=> bootstrap is True/Enabled
if _with_bootstrap is set as 1 from outside, bootstrap's value is not set.
=> the value is empty if it is not declared in advance. It's a kind of 0. bootstrap is False/Disabled.
This situation is opposite meaning of "_with_bootstrap".
Below way not using negative operator `!?` is correct.
```
%{?_with_bootstrap: %global bootstrap 1}
```
The reason why I wrote this here is
I found that had already been reported 2 years ago for packaging committee, however it was closed without fixing.
https://pagure.io/packaging-committee/issue/509
I am not sure that why it is not admitted.
You may feel that it does not matter because you may edit the Bootstrapping logic in the RPM spec file manually.
But in my case, I am one of the people who use the Bootsrapping logic actively.
There are 89 RPM packages that constitutes Ruby on Rails 5.0.
To build Ruby on Rails 5.0 completely from scratch, I have to build the packages total 103 times considering bootstrap.
I am trying to build those packages automatically by a tool [1] with a configuration file [2] for Ruby on Rails.
It is important to fix it due to that.
Fortunately today another guy Vit created new ticket for that.
So, if YOU like this proposal, please comment in below page of the ticket or reply here.
It is helpful for us to move this huge rock. I really want to fix it.
"I like it." comment please.
=> https://pagure.io/packaging-committee/issue/684
Thank you for your help.
[1] https://github.com/sclorg/rpm-list-builder
[2] https://github.com/sclorg/rhscl-rebuild-recipes/blob/master/ror.yml
Kind regards,
Jun Aruga
4 years, 11 months
Summary/Minutes from yesterday's FPC Meeting (2017-07-26 17:00 - 18:00 UTC)
by James Antill
======================
#fedora-meeting-3: fpc
======================
Meeting started by geppetto at 17:00:25 UTC. The full logs are available
at
https://meetbot.fedoraproject.org/fedora-meeting-3/2017-07-26/fpc.2017-07...
.
Meeting summary
---------------
* Roll Call (geppetto, 17:00:25)
* Schedule (geppetto, 17:12:29)
* LINK:
https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproje...
(geppetto, 17:12:31)
* #691 noarch *sub*packages with arch-specific dependencies (geppetto,
17:12:41)
* #693 Wiki:Packaging:RPMMacros (geppetto, 17:15:38)
* #696 Many packages are not following the Guidelines for bundled
libraries (geppetto, 17:30:14)
* LINK:
https://fedoraproject.org/wiki/Packaging:Guidelines#Bundling_and_Duplicat...
(tibbs, 17:33:21)
* LINK:
https://fedoraproject.org/wiki/Bundled_Libraries_Virtual_Provides
(Rathann, 17:33:31)
* We discussed some wording based on tibbs's comment. (geppetto,
17:48:11)
* ACTION: tibbs Write up a page for recommendations on provides.
(geppetto, 17:48:34)
* Open Floor (geppetto, 17:55:04)
Meeting ended at 17:59:36 UTC.
Action Items
------------
* tibbs Write up a page for recommendations on provides.
Action Items, by person
-----------------------
* tibbs
* tibbs Write up a page for recommendations on provides.
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* tibbs (59)
* geppetto (53)
* Rathann (18)
* zodbot (13)
* sgallagh (11)
* tomspur (6)
* limburgher (6)
* mbooth (3)
* ignatenkobrain (2)
* IgorGnatenko (1)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
6 years, 2 months
Re: Obsoleting debuginfo packages
by Jason L Tibbitts III
>>>>> "ZJ" == Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl> writes:
ZJ> My motivation was that 'dnf debuginfo-install' would not work
ZJ> because of file conflicts, until I uninstalled the old package.
My understanding was that in current rawhide, debuginfo packages should
not be conflicting in any case and it should be possible to install
multiple versions of the debuginfo for the file in parallel. But of
course your bug report doesn't involve rawhide.
Really the only way to do what you're asking is overriding the
definition of %debug_package. I would not recommend actually doing
that, though, because the proper content of that macro differs between
releases. Rawhide actually uses %_debuginfo_template, and you'd also
have to override %debugsource_template, and probably more.
While I'm pretty sure we could provide some way to add headers to the
various debug* packages, I'm not sure it would be worth the trouble and
I'm not sufficiently familiar with how the new stuff in rawhide works to
know if that would even be a reasonable thing to do. I just don't think
it's worth the trouble in the long run.
- J<
6 years, 2 months
Recently You've Seen Amazing Celebrity Body Transformations. Learn Their Secret?
by tmz@fedoraproject.org
July 2017
Summer Edition
Vol. 20167171
(TMZ) Here's what Gwen Stefani told Ellen about Blake (Sheldon)'s dramatic body transformation.
"Blake is a busy guy, I mean he barely has enough time for me, so to shed 30 or so lbs in a month... I couldn't believe it!"
Gwen went on to explain what Blake was and is using to achieve his body makeover. "I did question him about it because he got so skinny so fast I was concerned he was doing something illegal. He showed me what he was taking and I was stunned. He doesn't even workout and he keeps getting in better shape."
Blake Shelton isn't the only one who is seeing the positive effects of this new slim down secret. Hollywood star Khloe Kardashian shocked the world after dropping 20 lbs in 20 days with the new supplement. "I Couldn't believe how quickly I saw the effects.. and the fact that I could eat whatever I want when I want and still lose!" said Khloe as we spoke with her after the VMA's. Other celebrities like Melissa McCarthy and John Goodwin have used it and had incredible success.
According to a new study from researchers at Georgetown University Medical Center, men and women who took the supplement for 8 weeks lost an average of 16.5 LBS, without special meals or exercise. Another study published in Nutrition Research found that people taking the extract dropped an average of 6.7 percent of their bodyweight, including 12.3 percent of their bodyfat - with zero side effects.
Read the Full Story Here to See How You Can Shed 16.5 LBS in Just 8 Weeks > http://slang.weightlossview.us/weightloss
- 181-6648 Adipiscing*^*^* Ave*^*^*Falisolle*^*^*Belgium*^*^*2664
-------------------------------
-- Stop email here
> http://slang.weightlossview.us/stopnow
#########################
-------------------------------
c2deb4288a39a8e99b792e41cc35db03.20167171-c2deb4288a39a8e99b792e41cc35db03_20167171
Stopped in for breakfast before the car Show and ..OH MY GOSH , now I have a place I must sneak off to for whatever is on the menu. I had a great breakfast... I have to update my previous review. Holey Moly the fresh-cut fries are back! Went there on a Saturday night and everything was great....how I fondly... Very fresh food!. Steak tip dinners are the best I've had at any Pizza shop. I have never been let down with anything on the menu. Definitely give it a try... Must Go! If you are looking to stay out of run of the mill breakfast places...Small little neighborhood diner, not a lot of room but that was not a... Snuck by here today and picked up the best lunch for my wife Joyce. While waiting in line to order I watched as the father of the business come out and hug... This is a little sub shop in oakdale square. They have some great subs and pizza. Like travis I have been going here since I was very little when they... This was one of the best dinner experiences we had. ..Firs
t of all this cute place is run by husband and wife, very friendly and cute couple...I can't say... A casual fine dining experience showcasing produce executed to the nth degree with a carefully crafted homeopathic cocktail program. ( get the prescription... We wandered into old town Petaluma looking for dinner and came upon this restaurant, which also has a music venue next door - The Big Easy. The menu enticed... Fantastic. I'd been here before when it was new and the menu was smaller, and if I remember correctly a little too \"fancy\". It took all this time to get up... You gotta love a small town where there are 150 restaurants to pick from for your dining pleasure.. That includes the gamut of franchises, but once you... There really are no words.........Kidding, there are always words! Even though this place truly leaves you speechless, with every bite. The type of flavor... This place had been on my to do list for awhile. My wife and I finally found a time we could work it in
to our schedule...We came for dinner. Upon entering my... Welcome back to Petaluma, Jan Rosen! ..On June 14 I took three friends to dinner for a birthday celebration (it was the restaurant's soft opening). All 4... I have been procrastinating about this review, especially because I loved eating here with my family. It's in the downtown district of Petaluma, not too far... In the course of a month, we've been here twice and plan to go back next weekend. Does that say enough?....In terms of the overall options in Altoona, this is... What a terrific stop in downtown Altoona.....Well worth getting off the highway for this nice family run restaurant. Great omelette really fresh home fries... Best bbq to hit this town, very good food and it always leaves us stuffed to the brim. Service is fine but i never see the same employees twice. The only... Great food and great people. The family that owns this is really nice and friendly. The food is really good. I LOVE the flower Tortilla Ch
ips. I came here once for their breakfast/brunch buffet. There was hardly any food and we had to wait with two toddlers for more food to come out! If you're... I love this Wendy's! I work in the area and can always count on fast service and good food for my 30 minute lunch break. The inside is very clean and the...c2deb4288a39a8e99b792e41cc35db03
6 years, 2 months
Recently You've Seen Amazing Celebrity Body Transformations. Learn Their Secret?
by tmz@fedoraproject.org
July 2017
Summer Edition
Vol. 14411208
(TMZ) Here's what Gwen Stefani told Ellen about Blake (Sheldon)'s dramatic body transformation.
"Blake is a busy guy, I mean he barely has enough time for me, so to shed 30 or so lbs in a month... I couldn't believe it!"
Gwen went on to explain what Blake was and is using to achieve his body makeover. "I did question him about it because he got so skinny so fast I was concerned he was doing something illegal. He showed me what he was taking and I was stunned. He doesn't even workout and he keeps getting in better shape."
Blake Shelton isn't the only one who is seeing the positive effects of this new slim down secret. Hollywood star Khloe Kardashian shocked the world after dropping 20 lbs in 20 days with the new supplement. "I Couldn't believe how quickly I saw the effects.. and the fact that I could eat whatever I want when I want and still lose!" said Khloe as we spoke with her after the VMA's. Other celebrities like Melissa McCarthy and John Goodwin have used it and had incredible success.
According to a new study from researchers at Georgetown University Medical Center, men and women who took the supplement for 8 weeks lost an average of 16.5 LBS, without special meals or exercise. Another study published in Nutrition Research found that people taking the extract dropped an average of 6.7 percent of their bodyweight, including 12.3 percent of their bodyfat - with zero side effects.
Read the Full Story Here to See How You Can Shed 16.5 LBS in Just 8 Weeks > http://slang.weightlossview.us/weightloss
- 181-6648 Adipiscing*^*^* Ave*^*^*Falisolle*^*^*Belgium*^*^*2664
-------------------------------
-- Stop email here
> http://slang.weightlossview.us/stopnow
#########################
-------------------------------
c2deb4288a39a8e99b792e41cc35db03.14411208-c2deb4288a39a8e99b792e41cc35db03_14411208
Stopped in for breakfast before the car Show and ..OH MY GOSH , now I have a place I must sneak off to for whatever is on the menu. I had a great breakfast... I have to update my previous review. Holey Moly the fresh-cut fries are back! Went there on a Saturday night and everything was great....how I fondly... Very fresh food!. Steak tip dinners are the best I've had at any Pizza shop. I have never been let down with anything on the menu. Definitely give it a try... Must Go! If you are looking to stay out of run of the mill breakfast places...Small little neighborhood diner, not a lot of room but that was not a... Snuck by here today and picked up the best lunch for my wife Joyce. While waiting in line to order I watched as the father of the business come out and hug... This is a little sub shop in oakdale square. They have some great subs and pizza. Like travis I have been going here since I was very little when they... This was one of the best dinner experiences we had. ..Firs
t of all this cute place is run by husband and wife, very friendly and cute couple...I can't say... A casual fine dining experience showcasing produce executed to the nth degree with a carefully crafted homeopathic cocktail program. ( get the prescription... We wandered into old town Petaluma looking for dinner and came upon this restaurant, which also has a music venue next door - The Big Easy. The menu enticed... Fantastic. I'd been here before when it was new and the menu was smaller, and if I remember correctly a little too \"fancy\". It took all this time to get up... You gotta love a small town where there are 150 restaurants to pick from for your dining pleasure.. That includes the gamut of franchises, but once you... There really are no words.........Kidding, there are always words! Even though this place truly leaves you speechless, with every bite. The type of flavor... This place had been on my to do list for awhile. My wife and I finally found a time we could work it in
to our schedule...We came for dinner. Upon entering my... Welcome back to Petaluma, Jan Rosen! ..On June 14 I took three friends to dinner for a birthday celebration (it was the restaurant's soft opening). All 4... I have been procrastinating about this review, especially because I loved eating here with my family. It's in the downtown district of Petaluma, not too far... In the course of a month, we've been here twice and plan to go back next weekend. Does that say enough?....In terms of the overall options in Altoona, this is... What a terrific stop in downtown Altoona.....Well worth getting off the highway for this nice family run restaurant. Great omelette really fresh home fries... Best bbq to hit this town, very good food and it always leaves us stuffed to the brim. Service is fine but i never see the same employees twice. The only... Great food and great people. The family that owns this is really nice and friendly. The food is really good. I LOVE the flower Tortilla Ch
ips. I came here once for their breakfast/brunch buffet. There was hardly any food and we had to wait with two toddlers for more food to come out! If you're... I love this Wendy's! I work in the area and can always count on fast service and good food for my 30 minute lunch break. The inside is very clean and the...c2deb4288a39a8e99b792e41cc35db03
6 years, 2 months
Re: directory ownership problem
by Sanford Rockowitz
Jason Tibbits response to my post pointed me in the right direction.
Here's my reply to him, which I neglected to copy to the list. The
problem was not in the coding of spec file but rather in how
fedora-review determines which spec file to use.
Sanford
-------- Forwarded Message --------
Subject: Re: [Fedora-packaging] directory ownership problem
Date: Wed, 12 Jul 2017 15:46:39 -0400
From: Sanford Rockowitz <rockowitz(a)minsoft.com>
Organization: Minaret Software
To: Jason L Tibbitts III <tibbs(a)math.uh.edu>
Jason,
Thanks for the swift reply. Your request for the a link to the SRPM
pointed me in the right direction. Even though the -n option to
fedora-review specifies the name of the spec file in the current
directory, fedora-review was using a slate spec file in the input
srpm. So it seems to be a workflow issue, not a spec file syntax issue.
Sanford
On 07/12/2017 01:58 PM, Jason L Tibbitts III wrote:
>>>>>> "SR" == Sanford Rockowitz <rockowitz(a)minsoft.com> writes:
> SR> I hope this list is appropriate for asking a question regarding rpm
> SR> file ownership. As a relative rpm newbie, I suspect I'm missing some
> SR> piece of "secret sauce" that's just obvious to anyone with rpm
> SR> experience. If there's a more appropriate place to post the
> SR> question, I'd appreciate a pointer. Thanks in advance.
>
> It's always a good idea to provide a link to your SRPM. Without it, all
> I can say is that what you're doing _should_ work but that I'd have to
> see the whole thing and build it myself to see exactly what's happening.
>
> - J<
>
6 years, 2 months
directory ownership problem
by Sanford Rockowitz
I hope this list is appropriate for asking a question regarding rpm file
ownership. As a relative rpm newbie, I suspect I'm missing some piece of
"secret sauce" that's just obvious to anyone with rpm experience. If
there's a more appropriate place to post the question, I'd appreciate a
pointer. Thanks in advance.
The application in question is named ddcutil. I'm creating directories
/usr/share/ddcutil and /usr/share/doc/ddcutil and saving files in them.
rpm marks the files as being owned by ddcutil, but not the directories.
As I read the documentation (e.g. e.g.
https://fedoraproject.org/wiki/How_to_create_an_RPM_package,
http://www.tldp.org/HOWTO/RPM-HOWTO/build.html), a directory is regarded
as being owned by an application if the directory name is specified
either a) without the %dir macro (in which case all files in the
directory tree rooted at the specified name are marked owned and
installed) or b) prefaced by the %dir macro, in which case only the
directory is marked. I've tried both ways.
The observed problem is similar for /usr/share/ddcutil and
/usr/share/doc/ddcutil, so I'll give details only for the former.
Here's the relevant segment from the %files section:
%{_datadir}/%{name}
Alternatively, I've tried coding the segment as follows:
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/data
%{_datadir}/%{name}/data/*rules
%{_datadir}/%{name}/data/90-nvidia-i2c.conf
In either case, the built rpm creates the directories and saves the
files. The individual files are regarded as being owned by ddcutil, but
not the directories.
What do I need to do to cause the directories to be owned?
In more detail, querying rpm shows that the files are saved and are
owned by ddcutil, but the directories are not owned by ddcutil:
[rock@banner results]$ rpm -ql ddcutil
/usr/bin/ddcutil
/usr/lib/.build-id
/usr/lib/.build-id/db
/usr/lib/.build-id/db/011d82f3eab5166e52eec359cb76b0773fd965
/usr/share/ddcutil/data/45-ddcutil-i2c.rules
/usr/share/ddcutil/data/45-ddcutil-usb.rules
/usr/share/ddcutil/data/90-nvidia-i2c.conf
/usr/share/doc/ddcutil/AUTHORS
/usr/share/doc/ddcutil/COPYING
/usr/share/doc/ddcutil/NEWS
/usr/share/doc/ddcutil/README.md
/usr/share/man/man1/ddcutil.1.gz
[rock@banner results]$ rpm -qf
/usr/share/ddcutil/data/45-ddcutil-i2c.rules
ddcutil-0.8.3-1.fc27.x86_64
[rock@banner results]$ rpm -q --whatprovides
/usr/share/ddcutil/data/45-ddcutil-i2c.rules
ddcutil-0.8.3-1.fc27.x86_64
[rock@banner results]$ rpm -q --whatprovides /usr/share/ddcutil
file /usr/share/ddcutil is not owned by any package
[rock@banner results]# rpm -qf /usr/share/ddcutil
file /usr/share/ddcutil is not owned by any package
The report from fedora-review is consistent with rpm --query:
[ ]: Package requires other packages for directories it uses.
Note: No known owner of /usr/share/doc/ddcutil
[ ]: Package must own all directories that it creates.
Note: Directories without known owners: /usr/share/doc/ddcutil,
/usr/share/ddcutil, /usr/share/ddcutil/data
6 years, 2 months