On 27.10.2016 17:17, Jacek Konieczny wrote:
On 2016-10-26 23:14, Elan Ruusamäe wrote:
On 19.10.2016 00:51, Elan Ruusamäe wrote:
proposition:
  drop nginx "-standard" suffix? in package and filenames

so, zero feedback on my dev changes. i'm going to merge this to master
in few days then.

I had not time to look into that, but if you push a package (before or after the merge, doesn't matter to me) into th-test I'll try to test it somewhere.

The general idea seems right. I am a bit afraid of the transition, though.

there's no transition (by design),
you need to setup again using new package names. it will not upgrade automatically due broken (deliberately) package deps

you can apply this patch to be just poldek -u nginx, but note the configs are not migrated


[glen@carme-pld nginx]$ cat obsoletes.patch
diff --git a/nginx.spec b/nginx.spec
index daa05f8..d97b566 100644
--- a/nginx.spec
+++ b/nginx.spec
@@ -117,6 +117,8 @@ Requires(pre):      /usr/sbin/useradd
 Requires:      rc-scripts >= 0.2.0
 Requires:      systemd-units >= 38
 Suggests:      vim-syntax-nginx
+Obsoletes:     nginx-common
+Obsoletes:     nginx-standard
 Conflicts:     rpm < 4.4.2-0.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)

[glen@carme-pld nginx]$

i do not plan to add upgrade path. because then i would be blamed i did it incomplete & wrong, etc.

if somebody else does i do not mind.

--
glen

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to