diff --git a/.hostname.metadata b/.hostname.metadata
new file mode 100644
index 0000000..6221f7c
--- /dev/null
+++ b/.hostname.metadata
@@ -0,0 +1 @@
+1270f79ce6e9b012c6a6c7da768aaa0903322b0c SOURCES/hostname_3.13.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index 0e7897f..0000000
--- a/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-The master branch has no content
- 
-Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6
- 
-If you find this file in a distro specific branch, it means that no content has been checked in yet
diff --git a/SOURCES/hostname-rh.patch b/SOURCES/hostname-rh.patch
new file mode 100644
index 0000000..8db0e7c
--- /dev/null
+++ b/SOURCES/hostname-rh.patch
@@ -0,0 +1,86 @@
+diff -up hostname/hostname.1.rh hostname/hostname.1
+--- hostname/hostname.1.rh	2012-12-06 16:18:46.000000000 +0100
++++ hostname/hostname.1	2013-03-26 12:39:24.303468313 +0100
+@@ -84,6 +84,28 @@ complete FQDN of the system is returned
+ .B "THE FQDN"
+ below).
+ 
++.LP
++The function 
++.BR gethostname(2)
++is used to get the hostname.  When the 
++.BR "hostname \-a, \-d, \-f or \-i" 
++is called will 
++.BR gethostbyname(3)
++be called.  The difference in 
++.BR gethostname(2)
++and
++.BR gethostbyname(3)
++is that
++.BR gethostbyname(3)
++is network aware, so it consults 
++.IR /etc/nsswitch.conf
++and
++.IR /etc/host.conf
++to decide whether to read information in
++.IR /etc/hostname
++or
++.IR /etc/hosts
++
+ .SS "SET NAME"
+ When called with one argument or with the
+ .B \-\-file
+@@ -109,8 +131,7 @@ command (see
+ .B "THE FQDN"
+ below).
+ .LP
+-The host name is usually set once at system startup in
+-.I /etc/init.d/hostname.sh
++The host name is usually set once at system startup
+ (normally by reading the contents of a file which contains
+ the host name, e.g.
+ .IR /etc/hostname ).
+diff -up hostname/Makefile.rh hostname/Makefile
+--- hostname/Makefile.rh	2012-02-16 16:00:52.000000000 +0100
++++ hostname/Makefile	2013-03-26 12:39:24.303468313 +0100
+@@ -3,30 +3,29 @@ CFLAGS+=-O2 -Wall
+ # uncomment the following line if you want to install to a different base dir.
+ #BASEDIR=/mnt/test
+ 
++BINDIR:=/bin
++
+ OBJS=hostname.o
+ 
+ hostname: $(OBJS)
+ 	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) -lnsl
+-	ln -fs hostname dnsdomainname
+-	ln -fs hostname domainname
+-	ln -fs hostname ypdomainname
+-	ln -fs hostname nisdomainname
+ 
+ install: hostname
+ 	install -d ${BASEDIR}/usr/share/man/man1
+-	install -o root -g root -m 0644 hostname.1 ${BASEDIR}/usr/share/man/man1
++	install -m 0644 hostname.1 ${BASEDIR}/usr/share/man/man1
++
+ 	ln -fs hostname.1 ${BASEDIR}/usr/share/man/man1/dnsdomainname.1
+ 	ln -fs hostname.1 ${BASEDIR}/usr/share/man/man1/domainname.1
+ 	ln -fs hostname.1 ${BASEDIR}/usr/share/man/man1/ypdomainname.1
+ 	ln -fs hostname.1 ${BASEDIR}/usr/share/man/man1/nisdomainname.1
+ 	#install -o root -g root -m 0644 hostname.1.fr ${BASEDIR}/usr/share/man/fr/man1/hostname.1
+ 
+-	install -d ${BASEDIR}/bin
+-	install -o root -g root -m 0755 hostname ${BASEDIR}/bin
+-	ln -f hostname ${BASEDIR}/bin/dnsdomainname
+-	ln -f hostname ${BASEDIR}/bin/domainname
+-	ln -f hostname ${BASEDIR}/bin/nisdomainname
+-	ln -f hostname ${BASEDIR}/bin/ypdomainname
++	install -d ${BASEDIR}$(BINDIR)
++	install -m 0755 hostname ${BASEDIR}$(BINDIR)
++	ln -fs hostname ${BASEDIR}$(BINDIR)/dnsdomainname
++	ln -fs hostname ${BASEDIR}$(BINDIR)/domainname
++	ln -fs hostname ${BASEDIR}$(BINDIR)/nisdomainname
++	ln -fs hostname ${BASEDIR}$(BINDIR)/ypdomainname
+ 
+ clean:
+ 	-rm -f $(OBJS) hostname dnsdomainname domainname nisdomainname ypdomainname
diff --git a/SPECS/hostname.spec b/SPECS/hostname.spec
new file mode 100644
index 0000000..f0f45cf
--- /dev/null
+++ b/SPECS/hostname.spec
@@ -0,0 +1,99 @@
+Summary: Utility to set/show the host name or domain name
+Name: hostname
+Version: 3.13
+Release: 1%{?dist}
+License: GPLv2+
+Group: System Environment/Base
+URL: http://packages.qa.debian.org/h/hostname.html
+Source0: http://ftp.de.debian.org/debian/pool/main/h/hostname/hostname_%{version}.tar.gz
+
+# Initial changes
+Patch1: hostname-rh.patch
+
+%description
+This package provides commands which can be used to display the system's
+DNS name, and to display or set its hostname or NIS domain name.
+
+%prep
+%setup -q
+%patch1 -p1 -b .rh
+
+%build
+make CFLAGS="$RPM_OPT_FLAGS $CFLAGS"
+
+%install
+make BASEDIR=%{buildroot} install
+
+%files
+%doc COPYRIGHT
+/bin/*
+%{_mandir}/man1/*
+
+%changelog
+* Tue Jun 18 2013 Jiri Popelka <jpopelka@redhat.com> - 3.13-1
+- 3.13: -v references removed upstream
+
+* Tue Mar 26 2013 Jiri Popelka <jpopelka@redhat.com> - 3.12-4
+- remove void -v option from --help
+
+* Fri Mar 08 2013 Jiri Popelka <jpopelka@redhat.com> - 3.12-3
+- do not ship outdated french man pages (#919198)
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Fri Dec 07 2012  Jiri Popelka <jpopelka@redhat.com> - 3.12-1
+- 3.12: man page improvements
+
+* Fri Nov 30 2012  Jiri Popelka <jpopelka@redhat.com> - 3.11-4
+- revert /usr move for now
+
+* Fri Nov 30 2012  Jiri Popelka <jpopelka@redhat.com> - 3.11-3
+- remove some rh-specific bits from rh.patch as they are no longer valid (#881913)
+- remove outdated de & pt man pages
+- /usr move: use _bindir macro
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.11-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Tue Feb 21 2012  Jiri Popelka <jpopelka@redhat.com> - 3.11-1
+- 3.11
+
+* Wed Jan 18 2012  Jiri Popelka <jpopelka@redhat.com> - 3.10-1
+- 3.10
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.09-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Thu Dec 29 2011  Jiri Popelka <jpopelka@redhat.com> - 3.09-1
+- 3.09
+
+* Sat Dec 24 2011  Jiri Popelka <jpopelka@redhat.com> - 3.08-1
+- 3.08
+
+* Fri Dec 23 2011  Jiri Popelka <jpopelka@redhat.com> - 3.07-1
+- 3.07
+
+* Mon Mar 07 2011  Jiri Popelka <jpopelka@redhat.com> - 3.06-1
+- 3.06
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.05-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Nov 16 2010  Jiri Popelka <jpopelka@redhat.com> - 3.05-1
+- 3.05
+
+* Fri Apr 30 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.04-2
+- Mark localized man pages with %%lang.
+
+* Thu Mar 25 2010  Jiri Popelka <jpopelka@redhat.com> - 3.04-1
+- 3.04
+
+* Tue Feb 02 2010  Jiri Popelka <jpopelka@redhat.com> - 3.03-1
+- 3.03
+
+* Tue Nov 10 2009  Jiri Popelka <jpopelka@redhat.com> - 3.01-1
+- Initial package. Up to now hostname has been part of net-tools package.
+- This package is based on Debian's hostname because Debian has had hostname
+  as separate package since 1997 and the code is much better then the old one
+  contained in net-tools.