[openct] - Update to latest upstream - Add config file to create the /var/run/openct directory on boot (#6566

Tomáš Mráz tmraz at fedoraproject.org
Thu Nov 25 20:44:36 UTC 2010


commit 1f000e08e29756ae74d047c0cb307d2593dac37e
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Thu Nov 25 21:44:40 2010 +0100

    - Update to latest upstream
    - Add config file to create the /var/run/openct directory on boot (#656646)

 .gitignore     |    1 +
 openct.spec    |   12 ++++++++++--
 opencttmp.conf |    1 +
 sources        |    2 +-
 4 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 486f565..349ca5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 openct-0.6.19.tar.gz
+/openct-0.6.20.tar.gz
diff --git a/openct.spec b/openct.spec
index 9e0402b..cfdfe8c 100644
--- a/openct.spec
+++ b/openct.spec
@@ -1,8 +1,8 @@
 %define dropdir %(pkg-config libpcsclite --variable=usbdropdir)
 
 Name:           openct
-Version:        0.6.19
-Release:        3%{?dist}
+Version:        0.6.20
+Release:        1%{?dist}
 Summary:        Middleware framework for smart card terminals
 
 Group:          System Environment/Libraries
@@ -11,6 +11,7 @@ URL:            http://www.opensc-project.org/openct/
 Source0:        http://www.opensc-project.org/files/openct/%{name}-%{version}.tar.gz
 Source1:        %{name}.init
 Source2:        %{name}.sysconfig
+Source3:        %{name}tmp.conf
 Patch1:         %{name}-0.6.19-nosleep.patch
 Patch2:         %{name}-0.6.16-udevadm.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -109,6 +110,8 @@ install -dm 755 $RPM_BUILD_ROOT%{_localstatedir}/run/openct
 touch $RPM_BUILD_ROOT%{_localstatedir}/run/openct/status
 chmod 644 $RPM_BUILD_ROOT%{_localstatedir}/run/openct/status
 
+install -Dpm 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/opencttmp.conf
+
 rm -f $RPM_BUILD_ROOT%{_libdir}/{*.la,openct-ifd.so}
 
 mkdir apidocdir
@@ -151,6 +154,7 @@ fi
 %config(noreplace) %{_sysconfdir}/openct.conf
 %config(noreplace) %{_sysconfdir}/sysconfig/openct
 %config(noreplace) %{_sysconfdir}/udev/rules.d/*openct.rules
+%config(noreplace) %{_sysconfdir}/tmpfiles.d/opencttmp.conf
 %{_initddir}/openct
 %{_bindir}/openct-tool
 %{_sbindir}/ifdhandler
@@ -179,6 +183,10 @@ fi
 
 
 %changelog
+* Thu Nov 25 2010 Tomas Mraz <tmraz at redhat.com> - 0.6.20-1
+- Update to latest upstream
+- Add config file to create the /var/run/openct directory on boot (#656646)
+
 * Wed May 19 2010 Tomas Mraz <tmraz at redhat.com> - 0.6.19-3
 - More init script fixes
 
diff --git a/opencttmp.conf b/opencttmp.conf
new file mode 100644
index 0000000..be3473c
--- /dev/null
+++ b/opencttmp.conf
@@ -0,0 +1 @@
+d /var/run/openct 0755 root root -
diff --git a/sources b/sources
index 77e3e44..826abd3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-273f6dfd1c5f32990e23e8a0f3ca261c  openct-0.6.19.tar.gz
+a1da3358ab798f1cb9232f1dbababc21  openct-0.6.20.tar.gz


More information about the scm-commits mailing list