commit parallel-printer-support for openSUSE:Factory

2017-05-10 Thread root
Hello community,

here is the log from the commit of package parallel-printer-support for 
openSUSE:Factory checked in at 2017-05-10 20:32:47

Comparing /work/SRC/openSUSE:Factory/parallel-printer-support (Old)
 and  /work/SRC/openSUSE:Factory/.parallel-printer-support.new (New)


Package is "parallel-printer-support"

Wed May 10 20:32:47 2017 rev:9 rq:492656 version:1.00

Changes:

--- 
/work/SRC/openSUSE:Factory/parallel-printer-support/parallel-printer-support.changes
2012-10-10 09:23:34.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.parallel-printer-support.new/parallel-printer-support.changes
   2017-05-10 20:32:50.776449240 +0200
@@ -1,0 +2,5 @@
+Tue May  2 14:32:07 CEST 2017 - ku...@suse.de
+
+- Require group "lp".
+
+---



Other differences:
--
++ parallel-printer-support.spec ++
--- /var/tmp/diff_new_pack.tDmTTS/_old  2017-05-10 20:32:52.228244414 +0200
+++ /var/tmp/diff_new_pack.tDmTTS/_new  2017-05-10 20:32:52.232243850 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package parallel-printer-support
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Silviu Marin-Caea
 # Copyright (c) 2011 B1 Systems GmbH, Vohburg, Germany.
 #
@@ -31,6 +31,9 @@
 Requires(post):systemd
 Requires:   aaa_base
 Requires:   udev
+%if 0%{?suse_version} >= 1330
+Requires(pre):  group(lp)
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 Supplements:cups




commit parallel-printer-support for openSUSE:Factory

2012-10-10 Thread h_root
Hello community,

here is the log from the commit of package parallel-printer-support for 
openSUSE:Factory checked in at 2012-10-10 09:20:55

Comparing /work/SRC/openSUSE:Factory/parallel-printer-support (Old)
 and  /work/SRC/openSUSE:Factory/.parallel-printer-support.new (New)


Package is parallel-printer-support, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/parallel-printer-support/parallel-printer-support.changes
2012-05-15 17:42:34.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.parallel-printer-support.new/parallel-printer-support.changes
   2012-10-10 09:23:34.0 +0200
@@ -1,0 +2,6 @@
+Mon Oct  8 08:29:41 UTC 2012 - a...@suse.de
+
+- Create device node via tmpfiles.d since /lib/udev/devices is not 
+  supported with openSUSE 12.3.
+
+---

New:

  parallel-printer.conf



Other differences:
--
++ parallel-printer-support.spec ++
--- /var/tmp/diff_new_pack.l0SFae/_old  2012-10-10 09:23:36.0 +0200
+++ /var/tmp/diff_new_pack.l0SFae/_new  2012-10-10 09:23:36.0 +0200
@@ -26,6 +26,9 @@
 Group:  Hardware/Printing
 Url:http://www.opensuse.org
 Source: README.SUSE
+Source1:parallel-printer.conf
+# For /usr/bin/systemd-tmpfiles
+Requires(post):systemd
 Requires:   aaa_base
 Requires:   udev
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -48,12 +51,26 @@
 %if 0%{?sles_version} == 11
 mkdir -p $RPM_BUILD_ROOT/lib/udev/devices
 %endif
-
+%if 0%{suse_version}  1220
+mkdir -p $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/
+install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/
+%endif
 %build
 
+%if 0%{suse_version}  1220
+%post
+# Create devices nodes at installation time
+systemd-tmpfiles --create /usr/lib/tmpfiles.d/parallel-printer.conf
+
+%endif
+
 %files
 %defattr(-,root,root,0755)
 %doc README.SUSE
+%if %{suse_version}  1220
+%dir /usr/lib/tmpfiles.d/
+/usr/lib/tmpfiles.d/parallel-printer.conf
+%else
 %if 0%{?sles_version} == 11
 %dir /lib/udev
 %dir /lib/udev/devices
@@ -62,5 +79,6 @@
 %attr(660,root,lp) %dev(char,6,1) /lib/udev/devices/lp1
 %attr(660,root,lp) %dev(char,6,2) /lib/udev/devices/lp2
 %attr(660,root,lp) %dev(char,6,3) /lib/udev/devices/lp3
+%endif
 
 %changelog

++ parallel-printer.conf ++
# Static device nodes for parallel printer
# See tmpfiles.d(5) for details

#Type PathMode UID  GID  Age Argument
c/dev/lp00660 root lp   - 6:0
c/dev/lp10660 root lp   - 6:1
c/dev/lp20660 root lp   - 6:2
c/dev/lp30660 root lp   - 6:3
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit parallel-printer-support for openSUSE:Factory

2012-05-15 Thread h_root
Hello community,

here is the log from the commit of package parallel-printer-support for 
openSUSE:Factory checked in at 2012-05-15 17:42:32

Comparing /work/SRC/openSUSE:Factory/parallel-printer-support (Old)
 and  /work/SRC/openSUSE:Factory/.parallel-printer-support.new (New)


Package is parallel-printer-support, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/parallel-printer-support/parallel-printer-support.changes
2011-11-18 15:46:26.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.parallel-printer-support.new/parallel-printer-support.changes
   2012-05-15 17:42:34.0 +0200
@@ -1,0 +2,13 @@
+Mon May 14 18:28:30 UTC 2012 - je...@suse.com
+
+- Simplified the spec file.
+  - %files can create device nodes itself
+  - %doc README.SUSE works without having to install it specially
+  - no need to have a tarball with a single README in it.
+
+---
+Fri May 11 00:00:00 UTC 2012 - silvi...@fastmail.fm
+
+- Added code to create lp0 up to lp3
+
+---
@@ -18 +31 @@
-Mon Oct 24 00:00:00 UTC 2011 - Silviu Marin-Caea silvi...@fastmail.fm
+Mon Oct 24 00:00:00 UTC 2011 - silvi...@fastmail.fm

Old:

  vendor-files.tar.bz2

New:

  README.SUSE



Other differences:
--
++ parallel-printer-support.spec ++
--- /var/tmp/diff_new_pack.H6Zzvd/_old  2012-05-15 17:42:35.0 +0200
+++ /var/tmp/diff_new_pack.H6Zzvd/_new  2012-05-15 17:42:35.0 +0200
@@ -1,5 +1,7 @@
+#
 # spec file for package parallel-printer-support
 #
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Silviu Marin-Caea
 # Copyright (c) 2011 B1 Systems GmbH, Vohburg, Germany.
 #
@@ -12,44 +14,53 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-#
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   parallel-printer-support
 Version:1.00
-Release:2
-License:BSD-2-Clause
+Release:0
 Summary:Parallel Printer Support
-Url:http://www.opensuse.org
+License:BSD-2-Clause
 Group:  Hardware/Printing
-Source: vendor-files.tar.bz2
+Url:http://www.opensuse.org
+Source: README.SUSE
 Requires:   aaa_base
-Requires:   coreutils
+Requires:   udev
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 Supplements:cups
 
 %description
-This package creates a static udev node for the parallel port.  The purpose is 
to load
-the lp kernel module automatically the first time data is sent to the 
parallel port.
+This package creates static udev nodes for the parallel ports.  The
+purpose is to load the lp kernel module automatically the first time
+data is sent to the parallel port.
 
-%prep
-%setup -c -q
+Since the lp kernel module can't autodetect devices, this is the only
+way to load the parallel printer modules without manual intervention.
 
-%build
+%prep
+%setup -c -q -T
+cp %{SOURCE0} .
 
 %install
-mkdir -p %{buildroot}%{_datadir}/doc/packages/parallel-printer-support
-install -m 644 README.SUSE 
%{buildroot}%{_datadir}/doc/packages/parallel-printer-support
+%if 0%{?sles_version} == 11
+mkdir -p $RPM_BUILD_ROOT/lib/udev/devices
+%endif
+
+%build
 
 %files
 %defattr(-,root,root,0755)
-%{_datadir}/doc/packages/parallel-printer-support
-%ghost %attr(660,root,lp) %dev(c,6,0) /lib/udev/devices/lp0
-
-%post
-test -c /lib/udev/devices/lp0 || mknod -m 0660 /lib/udev/devices/lp0 c 6 0
-chown root:lp  /lib/udev/devices/lp0
+%doc README.SUSE
+%if 0%{?sles_version} == 11
+%dir /lib/udev
+%dir /lib/udev/devices
+%endif
+%attr(660,root,lp) %dev(char,6,0) /lib/udev/devices/lp0
+%attr(660,root,lp) %dev(char,6,1) /lib/udev/devices/lp1
+%attr(660,root,lp) %dev(char,6,2) /lib/udev/devices/lp2
+%attr(660,root,lp) %dev(char,6,3) /lib/udev/devices/lp3
 
 %changelog

++ README.SUSE ++
Starting with version 11.4 of openSUSE, udev no longer provides static
/dev nodes and relies on packages to provide them if needed.

When data is first sent to the parallel port, loading the kernel module lp
is triggered.
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit parallel-printer-support for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package parallel-printer-support for 
openSUSE:Factory checked in at 2011-12-06 18:35:56

Comparing /work/SRC/openSUSE:Factory/parallel-printer-support (Old)
 and  /work/SRC/openSUSE:Factory/.parallel-printer-support.new (New)


Package is parallel-printer-support, Maintainer is 

Changes:




Other differences:
--
++ parallel-printer-support.spec ++
--- /var/tmp/diff_new_pack.BWSH5h/_old  2011-12-06 19:03:08.0 +0100
+++ /var/tmp/diff_new_pack.BWSH5h/_new  2011-12-06 19:03:08.0 +0100
@@ -19,7 +19,7 @@
 Name:   parallel-printer-support
 Version:1.00
 Release:2
-License:BSD-2c
+License:BSD-2-Clause
 Summary:Parallel Printer Support
 Url:http://www.opensuse.org
 Group:  Hardware/Printing

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org