pkg/kamailio/fedora: Changed directory structure a little and tweaked .spec for Fedora 17
authorPeter Dunkley <peter.dunkley@crocodile-rcs.com>
Fri, 1 Jun 2012 22:09:41 +0000 (23:09 +0100)
committerPeter Dunkley <peter.dunkley@crocodile-rcs.com>
Fri, 1 Jun 2012 22:09:41 +0000 (23:09 +0100)
pkg/kamailio/centos/6/kamailio.spec
pkg/kamailio/fedora/16/kamailio-build.appl [moved from pkg/kamailio/fedora/fc16/kamailio-build.appl with 100% similarity]
pkg/kamailio/fedora/16/kamailio.appl [moved from pkg/kamailio/fedora/fc16/kamailio.appl with 100% similarity]
pkg/kamailio/fedora/16/kamailio.service [moved from pkg/kamailio/fedora/fc16/kamailio.service with 100% similarity]
pkg/kamailio/fedora/16/kamailio.spec [moved from pkg/kamailio/fedora/fc16/kamailio.spec with 99% similarity]
pkg/kamailio/fedora/16/kamailio.sysconfig [moved from pkg/kamailio/fedora/fc16/kamailio.sysconfig with 100% similarity]
pkg/kamailio/fedora/17/kamailio.service [new symlink]
pkg/kamailio/fedora/17/kamailio.spec [new symlink]
pkg/kamailio/fedora/17/kamailio.sysconfig [new symlink]

index 3e20839..1e42ad2 120000 (symlink)
@@ -1 +1 @@
-../../fedora/fc16/kamailio.spec
\ No newline at end of file
+../../fedora/16/kamailio.spec
\ No newline at end of file
similarity index 99%
rename from pkg/kamailio/fedora/fc16/kamailio.spec
rename to pkg/kamailio/fedora/16/kamailio.spec
index 0069151..78ba9d9 100644 (file)
@@ -364,11 +364,11 @@ make install-modules-all skip_modules="auth_identity db_cassandra iptrtpproxy\
        xmlops"
 
 mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-install -m644 pkg/kamailio/fedora/fc%{?fedora}/kamailio.service \
+install -m644 pkg/kamailio/fedora/%{?fedora}/kamailio.service \
                $RPM_BUILD_ROOT/%{_unitdir}/kamailio.service
 
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig
-install -m644 pkg/kamailio/fedora/fc%{?fedora}/kamailio.sysconfig \
+install -m644 pkg/kamailio/fedora/%{?fedora}/kamailio.sysconfig \
                $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/kamailio
 %else
 make install-modules-all skip_modules="auth_identity db_cassandra iptrtpproxy\
@@ -907,6 +907,9 @@ fi
 
 
 %changelog
+* Fri Jun 1 2012 Peter Dunkley <peter@dunkley.me.uk>
+  - Tweak to the pkg/kamailio/fedora directory structure
+  - Tested with Fedora 17
 * Thu May 31 2012 Peter Dunkley <peter@dunkley.me.uk>
   - Updated rel to pre3
   - Combined Fedora/CentOS .spec in preparation for Fedora 17
diff --git a/pkg/kamailio/fedora/17/kamailio.service b/pkg/kamailio/fedora/17/kamailio.service
new file mode 120000 (symlink)
index 0000000..bc15c15
--- /dev/null
@@ -0,0 +1 @@
+../16/kamailio.service
\ No newline at end of file
diff --git a/pkg/kamailio/fedora/17/kamailio.spec b/pkg/kamailio/fedora/17/kamailio.spec
new file mode 120000 (symlink)
index 0000000..01b1f60
--- /dev/null
@@ -0,0 +1 @@
+../16/kamailio.spec
\ No newline at end of file
diff --git a/pkg/kamailio/fedora/17/kamailio.sysconfig b/pkg/kamailio/fedora/17/kamailio.sysconfig
new file mode 120000 (symlink)
index 0000000..94886a8
--- /dev/null
@@ -0,0 +1 @@
+../16/kamailio.sysconfig
\ No newline at end of file