Re: [packages/linux-firmware] - up to 20151030; include amd microcode files here

2015-11-27 Thread Elan Ruusamäe

On 28.11.2015 00:05, arekm wrote:

commit 2aa22ec520713a4335e2104aa177c99be629fa7b
Author: Arkadiusz Miśkiewicz 
Date:   Fri Nov 27 23:05:47 2015 +0100

 - up to 20151030; include amd microcode files here

  linux-firmware.spec | 27 +++
  1 file changed, 15 insertions(+), 12 deletions(-)
---
diff --git a/linux-firmware.spec b/linux-firmware.spec
index 8e776a8..8e8f4cb 100644
--- a/linux-firmware.spec
+++ b/linux-firmware.spec
@@ -1,17 +1,17 @@
  # TODO
  # - subpackages for various firmwares?
-# - build microcode-data-amd from this spec?
  Summary:  Firmware files used by the Linux kernel
  Summary(pl.UTF-8):Pliki firmware'u używane przez jądro Linuksa
  Name: linux-firmware
-Version:   20150715
+Version:   20151030
  Release:  1
  License:  GPL+ and GPL v2+ and MIT and Redistributable, no modification 
permitted
  Group:Base/Kernel
-Source0:   
http://pkgs.fedoraproject.org/repo/pkgs/linux-firmware/%{name}-%{version}.tar.gz/5f829e860b1b9b5f6ea1a385eb368540/%{name}-%{version}.tar.gz
-# Source0-md5: 5f829e860b1b9b5f6ea1a385eb368540
+Source0:   
http://pkgs.fedoraproject.org/repo/pkgs/linux-firmware/%{name}-%{version}.tar.gz/a3ed304228118353c5b26819cef10136/%{name}-%{version}.tar.gz
+# Source0-md5: a3ed304228118353c5b26819cef10136
  URL:  
http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
  BuildArch:noarch
+Obsoletes: microcode-data-amd


imho subpackage is better here.


--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: RFC: default python installlation directories

2015-11-27 Thread Jacek Konieczny

On 2015-11-27 10:28, Elan Ruusamäe wrote:

On 25.11.2015 22:19, Jacek Konieczny wrote:

If there are no objections, I may try a mass-update of python-* specs
tomorrow.


more like in the weekend ;)


afaik not all packages supported --build-base thing. i don't know why.


Most current Python packages can use setup.py same way. There might be 
problem with outdated packages, but you can find such which wouldn't 
even use 'setup.py' at all.


I think a very small minority of the packages would be broken by 
replacing setup.py with py_build/py_install.


Most of our python specs that don't use '--build-base' are those which 
were never updated for Python 3 support or which were written before the 
'--build-base' trick was known to the spec author.




you can find such packages with something like this:

➔ grep -r 'set --' ~/all-specs
/home/users/glen/all-specs/python-httplib2.spec:set -- *


Are you sure this is not some alternative to the '--build-base'?

But thanks, I will look at those.

Jacek
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


mysql-server vision

2015-11-27 Thread Elan Ruusamäe
so what is the future of mysql packages now that arekm cloned mysql.spec 
to percona-server.spec

and replaced mysql.spec master with original mysql code

luckily nothing else was done so far.

i don't think going from percona-server to mysql-server works without 
issues.

in binary data wise and configuration wise and stability performance wise.

there's also mariadb-server and drizzle-server which are some kind of 
mysql-server forks.


also could consider supporting multiple server versions (i still run 5.0 
for example)


--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: RFC: default python installlation directories

2015-11-27 Thread Elan Ruusamäe

On 25.11.2015 22:19, Jacek Konieczny wrote:

If there are no objections, I may try a mass-update of python-* specs
tomorrow.

afaik not all packages supported --build-base thing. i don't know why.

so i'm not objecting, just warning.

you can find such packages with something like this:

➔ grep -r 'set --' ~/all-specs
/home/users/glen/all-specs/python-httplib2.spec:set -- *

not all matches really need it, some of them are just bad copy paste:

python-pyquery.spec:
%prep
%setup -q -n %{module}-%{version}

# setup copy of source in py3 dir
set -- *
install -d py3
cp -a "$@" py3

%build
%if %{with python2}
%{__python} setup.py build --build-base build-2 %{?with_tests:test}
%endif

%if %{with python3}
%{__python3} setup.py build --build-base build-3 %{?with_tests:test}
%endif


--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en