Author Topic: Attention Packagers  (Read 3403 times)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Attention Packagers
« on: January 26, 2012, 01:21:38 PM »
I have just a few items to cover ---    

First, please note that if I PM or email you about one of your SRPMs, it is about the package and about PCLinuxOS. Please do not take it personally. Do please reply; ignoring me does not help. If I run into a problem in processing your package, we will need  to talk about it.    

Test your packages before uploading them.

If you package beta software, be sure you put a note with it saying so. We will want to add it to testing first.    

Do not package alpha software. Period!    

Periodically check to see if a package you have submitted has an update available. If it does, create a new package, test and submit it.    

edit 02Aug2012: If you are submitting a security update or a bugfix update, leave a note with your package.     

Thank you for your cooperation in these things. As most of you know, I'm new at processing packages. I believe that we can work together to continue to produce the finest RPMs available. I may never reach Texstar's speed and all, but I believe that keeping up the quality is possible, if we work together.    

Also, I wish to thank those who have already worked with me on their packages. You guys are great!    
« Last Edit: August 02, 2012, 02:09:53 AM by Neal ManBear »

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3729
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Attention Packagers
« Reply #1 on: January 26, 2012, 01:39:19 PM »
You are the boss...

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15279
  • ┌∩┐(◕_◕)┌∩┐
Re: Attention Packagers
« Reply #2 on: January 27, 2012, 06:47:18 AM »
Additionally, if any Packagers would like their package(s) tested prior to sending them "upstream", please PM me and I'll be happy to install/test them and provide any feedback I can.

PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Attention Packagers
« Reply #3 on: January 27, 2012, 07:07:36 AM »
Additionally, if any Packagers would like their package(s) tested prior to sending them "upstream", please PM me and I'll be happy to install/test them and provide any feedback I can.
     
Additionally, you can post a topic here and request testing.     

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Attention Packagers
« Reply #4 on: January 27, 2012, 07:20:28 AM »
One more thing ---    
If you are repackaging an app and not upgrading the version but making some other change, please up the release by one number.    

Example:    
%Mkrel     1    
would become ---    
%Mkrel     2    
« Last Edit: January 28, 2012, 01:59:38 AM by Neal ManBear »

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: Attention Packagers
« Reply #5 on: January 27, 2012, 09:28:58 AM »
One more thing ---    
If you are repackaging an app and not upgrading the version but making some other change, please up the release by one number.    

Example:    
%Mkrel     1    
would become ---    
%Mkrel     2    

ah, I think you mean:
Release:        %mkrel 1
become
Release:        %mkrel 2

the %mkrel is important at it expands to our correct way of naming releases (especially when a spec is taken from another distro),

let me know if I can help out with anything,

cheers,
MBantz
« Last Edit: January 28, 2012, 02:00:12 AM by Neal ManBear »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Attention Packagers
« Reply #6 on: January 27, 2012, 09:36:03 AM »
Thanks, Martin.     
This is what I need -- Pay attention to your release numbers plus the other things in my original post here, please.

And to all packagers ---     
Update the packages you know need updating, please. We have 2 repositories now, 32bit and 64bit, so your help is needed to keep everything updated.     

Thank You!     

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Attention Packagers
« Reply #7 on: January 27, 2012, 08:28:15 PM »
In addition, it should be a priority that the package sent upstream should build both on 32 and 64 ... but not always the case. If a package can only build on 32 and not on 64 (or vice versa), a note should be added so the main build server would know it's futile to build the package on the other BuildArch:
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Attention Packagers
« Reply #8 on: January 28, 2012, 02:08:13 AM »
Thanks, Archie!     

On your BuildRequires and Requires entries, use %{_lib}name rather than libname. This will remove the need to edit your specs when processing for the other architecture.     

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Attention Packagers
« Reply #9 on: January 28, 2012, 02:56:05 AM »
Thanks, Archie!     

On your BuildRequires and Requires entries, use %{_lib}name rather than libname. This will remove the need to edit your specs when processing for the other architecture.     

My pleasure, Neal.

Yes, let's do this to be on the safe side ... however, there are some libraries that will pull in their 64-bit equivalent even without the appended "64".
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Attention Packagers
« Reply #10 on: January 28, 2012, 03:37:38 AM »
Thanks, Archie!     

On your BuildRequires and Requires entries, use %{_lib}name rather than libname. This will remove the need to edit your specs when processing for the other architecture.     

My pleasure, Neal.

Yes, let's do this to be on the safe side ... however, there are some libraries that will pull in their 64-bit equivalent even without the appended "64".
     
When %{_lib} is used, there is no need to append the '64.'     

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Attention Packagers
« Reply #11 on: January 28, 2012, 05:26:14 AM »
Thanks, Archie!     

On your BuildRequires and Requires entries, use %{_lib}name rather than libname. This will remove the need to edit your specs when processing for the other architecture.     

My pleasure, Neal.

Yes, let's do this to be on the safe side ... however, there are some libraries that will pull in their 64-bit equivalent even without the appended "64".
     
When %{_lib} is used, there is no need to append the '64.'     

I know that, Neal. But for some unknown reason, on a specfile if you have for example, BuildRequire: libboost-devel and you have lib64boost-devel already installed, it is OK. Of course, it would be better to change it to BuildRequire: %{_lib}boost-devel.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Attention Packagers
« Reply #12 on: January 28, 2012, 06:17:34 AM »
Thanks, Archie!     

On your BuildRequires and Requires entries, use %{_lib}name rather than libname. This will remove the need to edit your specs when processing for the other architecture.     

My pleasure, Neal.

Yes, let's do this to be on the safe side ... however, there are some libraries that will pull in their 64-bit equivalent even without the appended "64".
     
When %{_lib} is used, there is no need to append the '64.'     

I know that, Neal. But for some unknown reason, on a specfile if you have for example, BuildRequire: libboost-devel and you have lib64boost-devel already installed, it is OK. Of course, it would be better to change it to BuildRequire: %{_lib}boost-devel.
     
If you have libboost-devel in your spec, change it to %{_lib}boost-devel, please. Then the spec can be used twice - 64 and 32bit. :D That was my point. ;) :D     

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Attention Packagers
« Reply #13 on: January 28, 2012, 06:25:45 AM »
Thanks, Archie!     

On your BuildRequires and Requires entries, use %{_lib}name rather than libname. This will remove the need to edit your specs when processing for the other architecture.     

My pleasure, Neal.

Yes, let's do this to be on the safe side ... however, there are some libraries that will pull in their 64-bit equivalent even without the appended "64".
     
When %{_lib} is used, there is no need to append the '64.'     

I know that, Neal. But for some unknown reason, on a specfile if you have for example, BuildRequire: libboost-devel and you have lib64boost-devel already installed, it is OK. Of course, it would be better to change it to BuildRequire: %{_lib}boost-devel.
     
If you have libboost-devel in your spec, change it to %{_lib}boost-devel, please. Then the spec can be used twice - 64 and 32bit. :D That was my point. ;) :D     

I understand, Neal. And I'm not arguing with you on this. Changing to %{_lib} is what we should do.

I was just pointing out that some (not all) libraries are OK with both 32 and 64 even if they aren't changed and we'd forget or even neglect to change them because they're already OK. I'm almost certain some of us will forget (or neglect) to change to %{_lib}.

%{_lib} should be the standard that we should write our BuildRequires and Requires.

Peace and much respect,
Archie
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Attention Packagers
« Reply #14 on: January 28, 2012, 06:29:25 AM »
I was just emphasizing the point. Others are reading this, too. I knew that you knew. ;)