diff --git a/hardlink.c b/hardlink.c index 3521cb3..e661e5f 100644 --- a/hardlink.c +++ b/hardlink.c @@ -12,13 +12,13 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public - License along with this program; see the file COPYING. If not, - write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ /* Changes by Rémy Card to use constants and add option -n. */ /* Changes by Jindrich Novy to add option -h, -f, replace mmap(2), fix overflows */ +/* Changes by Travers Carter to make atomic hardlinking */ #define _GNU_SOURCE #include diff --git a/hardlink.spec b/hardlink.spec index 1293388..a2bde35 100644 --- a/hardlink.spec +++ b/hardlink.spec @@ -1,7 +1,7 @@ Summary: Create a tree of hardlinks Name: hardlink -Version: 1.0 -Release: 23%{?dist} +Version: 1.1 +Release: 1%{?dist} Epoch: 1 Group: System Environment/Base URL: http://pkgs.fedoraproject.org/gitweb/?p=hardlink.git @@ -26,13 +26,9 @@ install -pm 644 %{SOURCE0} hardlink.c gcc $RPM_OPT_FLAGS hardlink.c -o hardlink %install -rm -rf $RPM_BUILD_ROOT install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/hardlink.1 install -D -m 755 hardlink $RPM_BUILD_ROOT%{_sbindir}/hardlink -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root) %{!?_licensedir:%global license %%doc} @@ -41,6 +37,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/hardlink.1* %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 1:1.1-1 +- Patch by Travers Carter for making hardlinking atomic + * Wed Feb 03 2016 Fedora Release Engineering - 1:1.0-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild